Homedir problem

Michael Schierl schierlm at gmx.de
Mon Mar 20 23:14:49 CET 2006


Matthew Allen schrieb:
> I downloaded the latest gpg (gnupg-w32cli-1.4.2.2.exe) and I'm having an issue when I combine --homedir and --list-secret-keys, e.g.
> 
> 	C:\Documents and Settings\matthew\Desktop\spanish-test\GnuPG>gpg --list-secret-keys --homedir "."
> 
> 	C:\Documents and Settings\matthew\Desktop\spanish-test\GnuPG>gpg --list-secret-keys
> 	C:/Documents and Settings/matthew/Application Data/gnupg\secring.gpg
> 	--------------------------------------------------------------------
> 	sec   1024D/CCAA6006 2006-03-16
> 	uid                  Matthew Allen (Myself) <fret at memecode.com>
> 	ssb   2048g/1F0FD55A 2006-03-16
> 
> When I combine --homedir and --list-secret-keys it lists nothing, however when I just use --list-secret-keys it works fine.

Your home directory is different from "." (the current directory). And
there are no secret keys in your latter secring.gpg.

homedir:
C:\Documents and Settings\matthew\Application Data\gnupg

your current directory:
C:\Documents and Settings\matthew\Desktop\spanish-test\GnuPG

"cd" to your homedir first and it will work (it does at least for me).

Michael



More information about the Gnupg-devel mailing list