The Windows version of Gnu Privacy Guard (GPG) stores keyrings for users under the directory
C:\Documents
and Settings\username\Application Data\gnupg
on a Windows
XP system, where username is the username for the account under which
the user logs into the system.
You can create new empty keyrings with gpg --list-keys
.
C:\Program Files\GNU\GnuPG>gpg --list-keys gpg: keyring `C:/Documents and Settings/JDoe/Application Data/gnupg\pubring.gpg ' created gpg: C:/Documents and Settings/JDoe/Application Data/gnupg\trustdb.gpg: trustdb created
Note: gpg uses the forward slash, "/", which is used on Unix, Linux, and other operating systems to separate directories, in its output, though Windows actually uses a backward slash, "\".
If you need to transfer keyrings from a Linux or Unix system to a Windows
system, the keyrings are likely to be stored in ~/.gnupg
on that system, i.e. in a .gnupg
beneath a user's home
directory. Transfer the .gpg
files, i.e. pubring.gpg,
secring.gpg, trustdb.gpg
To import someone's public key into the public keyring, you can use the instructions at Importing a Public Key with GPG.