WARNING: This is currently not compatible with Enpass 6.0. I'm doing some testing, but no results yet.
A Enpass command line client for Linux and macOS based on enpass-decryptor by steffen9000.
Warning: I no longer use Enpass personally, so this repo needs a new maintainer. I will however still merge PRs.
Required system packages:
Get the code:
$ git clone https://github.com/HazCod/enpass-cli pass && cd pass/
Required python packages:
$ pip3 install -r requirements.txt
Symlink to 'pass':
$ sudo cp pass.py /usr/local/bin/pass && sudo chown $USER /usr/local/bin/pass
For autocompletion, add this line to your
$ eval "$(register-python-argcomplete pass)"
For the current command line help, please run
pass command currently accepts the following arguments and commands:
supress Standard Output Notifications
Define the Enpass wallet file
Displays all of the known data in of each card (useful in cases where you want to look at Software Licences, for instance)
Display passwords where present
listdisplays the cards on the command line (use '*' to list all),
copycopies the password into the pasteboard, and
--please_show_me_the_passwordshas been given.
If enpass has already been initialized and using the default
~/Documents/Enpass/walletx.dbuse this syntax:
$ pass get github $ pass copy github
Specify another walletx file using the -w argument:
$ pass -w /Users/user/alternate-dir/walletx.db get github $ pass -w /Users/user/alternate-dir/walletx.db copy github
Delete password stored in keyring:
$ python3 -c "import keyring; keyring.delete_password('enpass', 'enpass')"
If you decline to store your password, an empty file is created in ~/Documents/Enpass/ called .store_decline. If you change your mind and would like to store the password, remove this file:
$ rm ~/Documents/Enpass/.store_decline
Dsiplay all known items about an entry:
$ pass list -a Chikoo