Pass and multiple contexts
Work and Personal password store
pass the standard unix password manager stores passwords in one directory (default one is ~/.password-store
). You can create another seprate store by running following command:
$ PASSWORD_STORE_DIR=$HOME/.path/to/another/store pass init pgp@key.id
New password stores can contain new set of gpg keys.
For quicker access to new store without using (reverse-i-search)
you can create an alias
$ alias personal_pass='PASSWORD_STORE_DIR=/home/username/.path/to/another/store pass'
Or create a script in folder that is in your $PATH
~/.local/bin/personal_pass:
#!/bin/bash
PASSWORD_STORE_DIR=/home/username/.path/to/another/store pass "$@"
browserpass setup
In a browser extension browserpass can be set up with multiple password stores, each on them can be assigned different color to distinquish when selecting correct entry from a list.