index rss mastodon twitter github linkedin email
Álvaro Ramírez
sponsor

Álvaro Ramírez

16 November 2023 Migrating/re-encrypting pass's password store

Note to self, I needed to migrate/re-encrypt someone's password store (aka pass). Straightforward:

Get the new key, probably already in gpg key chain. Try listing it:

gpg --list-keys

To re-encrypt, pass init with new key is enough. It'll prompt for old pass key.

cd path/to/.password-store
pass init NEW-GPG-KEY