how to get private keys out of a old computer

John Clizbe John at
Wed Jan 21 13:26:06 CET 2009

Laurent Jumet wrote:
> Usually, public and secret keyrings are in C:\GnuPG\Keyrings and are named
> pubring.gpg and secring.gpg but the extension and the name may change depending
> what you decided at first.
> You only need to copy those files to the adequate directory in your new pc.

The default directory on Windows has not been C:\GnuPG since at least 1.4.1

The default directory is %APPDATA%\GnuPG

On 2000 & XP this expands to
'C:\Documents and Settings\<username>\Application Data\GnuPG'

On Vista this expands to 'C:\Users\<username>AppData\Roaming\GnuPG'

Only the *.gpg (pubring.gpg, secring,gpg, and trustdb.gpg) and gpg.conf if it
exists need be copied/moved. (Many folks neglect to advise copying trustdb.gpg.)

John P. Clizbe                      Inet:John (a)
You can't spell fiasco without SCO. hkp://  or
     mailto:pgp-public-keys at

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 680 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20090121/c693ff2a/attachment.pgp>

More information about the Gnupg-users mailing list