correct usage of gpg param 'throw-keyid(s)' ?

Daniel Kahn Gillmor dkg at
Fri Nov 21 23:33:34 CET 2014

On 11/21/2014 04:58 PM, grantksupport at wrote:
> The obvious difference in usage ...
> One says the usage is
>   throw-keyids
> the other says usage is
>   throw-keyid
> neither one mentions the others' usage

As long as the prefix substring is unique, gpg will accept a truncated

That is, the full option is --throw-keyids, but gpg will accept
--throw-keyid as an alias for it.

It should also accept --throw-keyi and --throw-key and --throw-ke to
mean the same thing, but it doesn't due to a quirk of the source code
(i've just mailed a patch to gnupg-devel to fix that).

Good documentation should always use the full option, to avoid ambiguity
with any potential future updates.  I'd say the GNU privacy handbook
should be updated to use --throw-keyids instead of --throw-keyid.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20141121/3a3ce5c3/attachment.sig>

More information about the Gnupg-users mailing list