A rust password manager forked from cortex/ripasso
Password store paths can be added to the config file ~/.config/rpass/settings.toml like following:
[stores."[email protected]"]
path = "/Users/JANG/.password-store/[email protected]"
pgp_implementation = "gpg"
[stores."[email protected]"]
path = "/Users/JANG/.password-store/[email protected]"
pgp_implementation = "gpg"
In order to add a new user to the password store,
create a new store dir with .gpg-id file and add the dir path to ~/.config/rpass/settings.toml like following:
echo "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCD" >> ~/.password-store/[email protected]/.gpg-id or echo "[email protected]" >> ~/.password-store/[email protected]/.gpg-id, followed by
echo "/Users/JANG/.password-store/[email protected]" >> ~/.config/rpass/settings.toml
In addition to .gpg-id file, add the fingerpirnt to ~/.gitconfig or make the user dir a git repo and add the fingerprint to the git config of the repo.
echo "[user]\nsigningkey=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCD" >> ~/.password-store/[email protected]/.git/config
To sign commits, add your GPG key fingerprint to ~/.gitconfig with key user.signingkey like following:
[user]
name = yourname
email = [email protected]
signingkey = ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCD
or
[user]
name = yourname
email = [email protected]
signingkey = [email protected]