Page MenuHome GnuPG

--with-fingerprint makes --fingerprint a no-op
Closed, ResolvedPublic

Description

If gpg.conf contains with-fingerprint, then `gpg --fingerprint $KEYID' fails
with "gpg: can't open KEYID'" (ditto for gpg --with-fingerprint --fingerprint
865C0B2D'). But IMO this should work, as it is a valid syntax. If it is intended
to not work, a better error message would be nice + a short note in the manual page.

Further if with-fingerprint has been set in gpg.conf, `gpg --with-fingerprint
--list-keys' behaves like `gpg --with-fingerprint --with-fingerprint
--list-keys'. Is this intended (IMHO it is correct behavior)?

The report was sent as Debian bug #382794.

Details

External Link
http://bugs.debian.org/382794
Version
1.4.9

Event Timeline

dleidert set External Link to http://bugs.debian.org/382794.
dleidert set Version to 1.4.9.
dleidert added a subscriber: dleidert.

I need to check the first case.

The second is intended. Note that it doesn't matter whether an option is given
in gpg.conf or on the command lines. There are just a few execptions like
--homedir and --options which make only sense on the command line.

Fixed in svn rev 5019 for gpg1 and gpg2.

werner claimed this task.