change the location ~/.gnupg

Steve Butler sbutler at
Wed Feb 11 07:30:59 CET 2004

That's why there is an environmental variable GNUPGHOME that can be set up
by a system wide .profile.

-----Original Message-----
From: Neil Williams [mailto:linux at]
Sent: Wednesday, February 11, 2004 4:08 AM
On Wed, Feb 11, 2004 at 11:31:36AM +0000, Stewart V. Wright wrote:
> G'day Patrick,
> * Patrick Tchoquessi <Patrick.Tchoquessi at> [040211
> > Hi,
> > I'd like to change the location where the keyring and other file like
> > gpg.conf etc. are store
> > to another location.
> > Can Somebody tell me what I Have to do
> RTFM !!!
>   --homedir directory
>        Set  the  name  of  the  home  directory to directory If this
>        option is not used it defaults to  "~/.gnupg".  It  does  not
>        make sense to use this in a options file. This also overrides
>        the environment variable "GNUPGHOME".

Remember that the amended homedir would have to be specified for all gpg
usage, including scripts, email clients and the like. If this is a
desktop / user system, that could be a real pain. homedir is more useful
for remote automated environments where the only execution of gpg is by
customised scripts etc. 

What are you wanting to accomplish?

CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

More information about the Gnupg-users mailing list