Page MenuHome GnuPG

Using --send-keys without key should exit with an error or print warning
Closed, ResolvedPublic

Description

In Ubuntu bug #389694 a user reported, that using --send-keys without any key-ID
results in neither a success nor a warning/error message. The user requests,
that gpg should print a warning. In my opinion, a simple information in the
manual (page) informing, that nothing will happen if the key-ID is not
specified, might also be a solution.

Details

External Link
https://bugs.launchpad.net/bugs/389694
Version
1.4.9

Event Timeline

dleidert set External Link to https://bugs.launchpad.net/bugs/389694.
dleidert added a subscriber: dleidert.

We can't print an error message because that would let gpg treturn with an error
code and lead to problesm with scripts which assume the current way of doing
things. A warning is possible but Unix tools generally don't do that.

As suggested, I'll add a note to the man page.

werner claimed this task.
werner removed a project: In Progress.

Done for 2.0 in svn r5082; will also be packaged with gnupg 1.4.10.