Migrating to new computer

Neil Webster jarraneil at gmail.com
Sat Apr 3 17:06:23 UTC 2021

Thanks Maciej,

gpg -K

returns with nothing

Running gpg directly on a file in the password store using

gpg -d filename


gpg: encrypted with 3072-bit RSA key, ID 94FDE31D5B3E9BC6, created 
       "my at emailaddress.com"
gpg: decryption failed: No secret key

Cheers, Neil

On 4/3/21 1:00 PM, Maciej S. Szmigiero wrote:
> 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 
>> 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.
> 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

More information about the Password-Store mailing list