GPG 1.4.19 homedir Command

Clark Rivard CRivard at merkleinc.com
Mon Apr 6 23:08:47 CEST 2015


Mike

This worked when I removed the trailing "\" from the --homedir directory 

	I had been using this 			 --homedir "\\folder\Key Ring\"

	This worked				 --homedir "\\folder\Key Ring"

Thanks. 

-----Original Message-----
From: Mike Ingle [mailto:mike at confidantmail.org] 
Sent: Monday, April 06, 2015 3:11 PM
To: Clark Rivard
Cc: gnupg-users
Subject: Re: GPG 1.4.19 homedir Command

Both of these worked for me.

F:\>"c:\Program Files (x86)\GNU\GnuPG\gpg.exe" --homedir "f:\abc def\gpg" --list-keys F:\>"c:\Program Files (x86)\GNU\GnuPG\gpg.exe" --homedir "\abc def\gpg" 
--list-keys

Try dropping the initial double slash.

On 4/6/2015 12:37 PM, Clark Rivard wrote:
>
> Hi
>
> I am running GPG 1.4.19 and using the --homedir command and enclosing 
> the home directory name in double-quotes to access a keyring folder 
> that has an embedded space.
>
> --homedir "\\folder\Key Ring"
>
> I get errors from GPG stating
>
> gpg: keyblock resource ' //folder/Key\secring.gpg : file open error
>
> gpg: keyblock resource ' //folder/Key\pubring.gpg : file open error
>
> usage: gpg [options] [filename]
>
> Other commands like --output and --encrypt work just fine when 
> enclosing path in double-quotes. Am I doing something wrong or does 
> GPG --homedir not accept double-quotes and thus embedded spaces in 
> path name?
>
> Thanks.
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>   




More information about the Gnupg-users mailing list