--throw-keyid and -R options

privacy.at Anonymous Remailer mixmaster at remailer.privacy.at
Mon Sep 26 01:45:10 CEST 2005

> > Is there any difference between the effects of following commands?
> > 
> > gpg -e -R alice -R bob file
> > 
> > gpg -e -r alice -r bob --throw-keyid file
> Since you are using -R (which does a per-recipient --throw-keyid) for
> both recipients, there is no difference between the two commands.

I suppose
  gpg -e -r alice -R bob file
might be useful in unusual circumstances!

> > And when I abbreviate --throw-keyid to --throw or --throw-keyi even, I
> > get the error:
> > 
> > gpg: Option "--throw-key" is ambiguous
> > 
> > 
> > There is nothing else that starts with the string "throw" so why?
> There is: there are both options --throw-keyid and --throw-keyids
> (they do the same thing).  Come to think though, --throw-keyid could
> be removed since is effectively an abbreviation of --throw-keyids.

Aha, I had not noticed those two very similar options.


More information about the Gnupg-users mailing list