Exporting a single key from a armoured key-ring.

Alfred M. Szmidt ams at kemisten.nu
Sat Sep 22 19:18:01 CEST 2001


If you try to export a single key from a armoured key-ring
GnuPG (1.0.6, don't know about any other released) barfs,

$ gpg --keyring /path/to/armored/keyring.asc --export NAME
gpg: [don't know]: invalid packet (ctb=2d)
gpg: read_keyblock: read error: invalid packet
gpg: enum_keyblocks failed: invalid keyring
gpg: NAME: user not found: invalid keyring
gpg: WARNING: nothing exported

but if you try to extract a single key from a de-armoured key-ring it works,
is this a bug or did i just misunderstand something?

Alfred M. Szmidt

More information about the Gnupg-devel mailing list