litevault provides an ultra lightweight command line password manager written in a single python file
litevault is a command line password manager that allows you to safely store and retrieve your passwords and keep the vault file on github or other public repositories
The simplest way to install is:
sudo apt-get install xautomation # provides the xte command
sudo pip install litevault
The only dependencies of litevault are the scrypt python package and
the xautomation package. litevault is a single python file,
litevault.py
. Therefore installation can simply be installing the
dependencies and doing:
sudo cp litevault.py /usr/bin/litevault
sudo chmod a+x /usr/bin/litevault
litevault
with the desired commands
p item
or just item
litevault -s
to a key combination in your OS. This will causePlease submit your configuration if your Window Manger isn't listed
i3wm
in your ~/.i3
or ~/.config/i3/config
# Create a litevault scratchpad
exec urxvt -name litevault --hold -e litevault ~/.config/vault -e vim
for_window [title="^litevault"] move to scratchpad
# setup the "show litevault scratchpad" command
bindsym $mod+Shift+p [title="^litevault"] scratchpad show
# setup the "send password" command
bindsym $mod+p exec litevault -s &
ps
command or to your file system (there is onexte
to simulate keypresses onsee litevault -h
type 'h' or '?' while running the program
There is one instance where litevault will stored entered text onto the "filesystem" and that is when you use the 'e' command when editing the INFO field.
litevault creates a temporary file with only the user privileges (-rw------) in a ramfs (/dev/shm) directory. This means that the file is only stored in ram. As soon as your editing session completes, litevault pulls the data and deletes the file.
If someone else was logged in as your user or root, they could access the file during this time. More importantly, your editor might store information in temp files -- this functionality should be disabled through command line options.
Examples:
litevault -e 'nano -R'
: use nano in restricted mode (default)
litevault -e 'vim -Zu NONE'
: use vim in restricted mode without any plugins
In order to avoid this 'leak', don't use the e
option when editing highly
sensitive information
Is litevault secure This has two answers
Why didn't you use openssl?