Hi Neil,

On 03.04.2021 18:54, Neil Webster wrote:
Hello,

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 [email protected]

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.

And what does gpg -K say?
Did you try decrypting any password file manually using gpg (without pass)?

BTW:
That's more of a GPG question than a pass one.

Regards, Neil


Maciej

Reply via email to