GPG default use of oldest secret key

Janusz Urbanowicz alex at bofh.net.pl
Mon Mar 1 18:26:51 CET 2004


VaX#n8 wrote:
> I have several secret keys.  I use the most recent one most frequently.
> The default behavior is to use the oldest one (the first on the key ring).
> 
> 1) Wouldn't using the most recent be a better default?
> 2) Should I be using --default-key NAME or -u NAME?  The latter is shorter.
> 3) Is there a way of specifying these options?  I end up using a script
>    wrapper for various reasons, one of which is the annoyance of having
>    to specify these options (the other is that I have several similarly-named
>    keys and specifying mine is either a lot of typing or memorizing a key ID)
> 4) Is there a better way to do what I want, such as creating a new secret
>    ring in a different order?

put the

   default-key 0xXXXXXXXX

in the ~/.gnupg/gpg.conf

et voila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20040301/6cb4cbdf/signature.bin


More information about the Gnupg-devel mailing list