signing options

Atom 'Smasher' atom-gpg at
Mon Feb 9 02:34:23 CET 2004

from the man page:

      -u, --local-user name
	Use name as the user ID to sign with.  This option is
	silently ignored for the list commands, so that it can be
	used in an options file.

      --default-key name
	Use name as default user ID for signatures.  If this is not
	used the default user ID is the first user ID found in the
	secret keyring.

these two options seem to do the same thing, FTMP, but they must do
something differently (or there wouldn't be two of them). right?

what exactly does --local-user silently ignore? that part doesn't make
sense to me.

on reading the --default-key description, i would have thought that if i
use it to sign something and specify key "xyz" then that key would be
assumed to be my signing key for future signatures, unless otherwise
specified... but that doesn't seem to be the case.

any other subtle differences between these options? using them on the
command line they both ~seem~ to be doing the same thing.



 PGP key -
 3EBE 2810 30AE 601D 54B2 4A90 9C28 0BBF 3D7D 41E3

	"If the [Foreign Corrupt Practices] Law were applied to the
	 president and the political parties, they'd all be sitting
	 in the cooler."
		-- Raymond Plank, president Apache Corp.,
		noting that an annual questionnaire he signs under
		that law requires him to attest that his company doesn't
		bribe foreign officials for business
		(USA Today, 10/26/1998)

More information about the Gnupg-users mailing list