See passwordstore.org for documentation.
Create a gpg key. See GPG for instructions.
Clone the pass repo.
git clone [email protected]:mfdorst/pass ~/.password-store
Add your new public key to the public key store.
cd ~/.password-store
gpg --export -a [email protected] > .public-keys/new-host.pub.gpg
echo [email protected] >> .gpg-id
git add -A
git commit -m "Add new public key [email protected]"
git push
On a device that is already authenticated, download, import, and trust the new public key.
cd ~/.password-store
git pull
gpg --import .public-keys/*
for key in $(ls .public-keys | sed s/\.pub/@mdorst\.net/); do
echo "5\ny\n" | gpg --command-fd 0 --edit-key $key trust
done
Reencrypt all passwords with the new key, as well as all the existing keys.
cat .gpg-id | xargs pass init
git push
On the new machine, pull down the reencrypted passwords, and test that your new key works.
git pull
pass show aaa.com
Note that in order to add new passwords or update existing ones on any given device, that device must have all public keys imported and trusted. Repeat the import and trust steps on each device after adding a new key.
Install the passff-host
app.
install-passff-host
Install the passff
Firefox extension.
Link