Bug in GPG for Windows - gpg: invalid key resource URL for keyrings

Harakiri harakiri_23 at yahoo.com
Thu Sep 1 14:30:08 CEST 2005


Hi,

im using the same version (1.4.2) and tested this on
multiple WinXP clients - this seems to be an issue
with the cygwin GNUPG - i installed gpg through the
setup installer of cygwin.

Anyone else have the same issues ?

> 
> --- Michael Schierl <schierlm at gmx.de> wrote:
> 
> > Harakiri schrieb:
> > 
> > > gpg --homedir c:\keys\tmp --batch --yes
> --verbose
> > > --status-fd 2 --no-default-keyring --keyring
> > > c:\keys\tmp\pubring.gpg --secret-keyring
> > > c:\keys\tmp\secring.gpg --import
> c:\keys\mykey.asc
> > > 
> > > output :
> > > 
> > > gpg: invalid key resource URL
> > > `c:\keys\tmp\secring.gpg'
> > > gpg: keyblock resource `(null)': general error
> > > gpg: invalid key resource URL
> > > `c:\keys\tmp\pubring.gpg'
> > > gpg: keyblock resource `(null)': general error
> > > 
> > > (you can copy and paste this and verify it for
> > > yourself - you dont even need to have these
> > > directories or a key)
> > 
> > Hmm:
> > 
> > C:\>gpg --homedir c:\keys\tmp --batch --yes
> > --verbose --status-fd 2
> >     --no-default-keyring --keyring
> > c:\keys\tmp\pubring.gpg
> >     --secret-keyring c:\keys\tmp\secring.gpg
> > --import c:\keys\mykey.asc
> > 
> > gpg: keyblock resource `c:\keys\tmp\secring.gpg':
> > file open error
> > gpg: keyblock resource `c:\keys\tmp\pubring.gpg':
> > file open error
> > gpg: can't open `c:\keys\mykey.asc': No such file
> or
> > directory
> > gpg: Total number processed: 0
> > [GNUPG:] IMPORT_RES 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> > 
> > After creating c:\keys\tmp it works as expected.
> > 
> > C:\>gpg --version
> > gpg (GnuPG) 1.4.2
> > 
> > C:\>ver
> > 
> > Microsoft Windows 2000 [Version 5.00.2195]
> > 
> > Please supply more information.
> > 
> > Michael
> > 
> 
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



More information about the Gnupg-devel mailing list