GPG 1.4.19 homedir Command

Mike Ingle mike at confidantmail.org
Mon Apr 6 22:11:28 CEST 2015


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