re-encrypt .password-store using new gpg key
I wanted to import my current password store into a new machine, and re-encrypt all passwords with a new gpg key. A similar question was asked here. This is how I solved it:
- on your new machine, create a new gpg key
gpg --generate-key
- to decrypt the current pass db …