migration by copy of ~/.gnupg not working

mailinglisten at posteo.de mailinglisten at posteo.de
Thu Jun 3 23:13:01 CEST 2021


Am 03.06.21 um 19:50 schrieb Herr Saalfeld via Gnupg-users:
> Hi,
> 
> I though migrating my user GPG configuration onto a new computer should
> be as simple as making a full copy of ~/.gnupg with rsync
> 
> rsync -av old:/home/me/.gnupg /home/me/
> 
> However, on the new computer, I see nothing when I call
> 
> gpg -k
> 
(...)
What does

echo $GNUPGHOME

say on your machines? Maybe $GNUPGHOME is set and points to a wrong
directory.

On your new machine you could try

export GNUPGHOME=/home/me/.gnupg/
gpg -k

and see what happens.



More information about the Gnupg-users mailing list