gpg --gen-key keyring behaviour

John Clizbe JPClizbe at attbi.com
Fri May 23 21:47:12 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

zem wrote:
>
> Also, I think I've discovered a bug in batch mode key generation with
> the win32 client 1.2.2.  If I specify a secret keyring with '%secring',
> --gen-key overwrites existing keys in that keyring.  Removing the
> '%pubring' and '%secring' directives and using '--no-default-keyring',
> '--keyring' and '--secret-keyring' instead, fixes the problem - the
> win32 client doesn't ignore these.
>
Environment variables in Win32 need '%' on both ends of the name to be
expanded.

C:\> echo %PATH   results in '%PATH'

C:\> echo %PATH%  results in the full path string

What happens if you use %pubring% and %secring% instead of %pubring and
%secring ?

- --
John P. Clizbe                     Inet:   JPClizbe at attbi dot com
Golden Bear Networks               PGP/GPG KeyID: 0x608D2A10
  "Most men take the straight and narrow. A few take the road less
traveled.  I chose to cut through the woods."
  "There is safety in Numbers... *VERY LARGE PRIME* Numbers
9:00PM Tonight on _REAL_IRONY_:  Vegetarian Man Eaten by Cannibals
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-nr1 (Windows 2000)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+zmzRHQSsSmCNKhARAolTAJwPFjeyKMT7duv+XIEIycRLNFGdowCgpSD8
pUVIA/EYzyBXGbFHyG1W6sE=
=17Ma
-----END PGP SIGNATURE-----





More information about the Gnupg-devel mailing list