No secret key under different account

David Gray David.Gray at
Mon Nov 9 16:55:15 CET 2009

Thanks for the info & detailed response.  I'm going to go with 
option C as you suggest.  Must admit I hadn't realised that .MAN 
pages are the docs. 


-----Original Message-----
From: John Clizbe [mailto:John at] 
Sent: 02 November 2009 12:02
To: GnuPG Users
Cc: David Gray
Subject: Re: No secret key under different account

David Gray wrote:
> What are peoples thoughts on which is the best option: 
> a) copy the secring.gpg & pubring.gpg files to the second user account? 
> b) export and import the keys to the second user account? 
> c) add a reference to the second account's gpg.conf file? 

it depends on what you are trying to accomplish. Any of the above may be the best option for a given set of requirements. If I wish to use my keys on a new machine, option a or redirecting gpg.conf to keyrings (& trustdb) on portable media is probably the route I'd take.

If I wanted to share a central keyring of, for example, customer keys, I probably go with option c.

> Also could anyone please give me an example of the syntax for adding 
> keyring references to gpg.conf?

primary-keyring		pubring.gpg
keyring         	O:\GnuPG\pubring.gpg
keyring			strong.gpg
keyring			trusted.gpg
secret-keyring  	secring.gpg
secret-keyring  	O:\GnuPG\secring.gpg

These should be explained in which should be in the share\gnupg directory under gpg2's onstallation directory, default on Windows:
C:\Program Files\GNU\GnuPG2\share\gnupg\ It can be read with Notepad

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"

More information about the Gnupg-users mailing list