Migrating to new computer

Neil Webster jarraneil at gmail.com
Sat Apr 3 16:54:08 UTC 2021


I am sure this ought to be quite simple but I am having a heck of a time 
figuring out how to migrate my password store from an old drive to a new 
SSD drive. I have moved the contents of the .password-store folder 
across and can see all of the *.gpg files. I exported the gpg keys using 
the old drive

gpg --export-secret-keys --armor --output privkey.asc my at emailaddress.com

and tried importing on the new drive using

gpg --import privkey.asc

When I try to access the password store using pass it says

gpg: decryption failed: No secret key

I have looked around on-line and can't find a good how-to for this 
common use case.

Any help or pointers greatly appreciated.

Regards, Neil

More information about the Password-Store mailing list