I don't the meaning of this option

Werner Koch wk@gnupg.org
Fri Jul 25 09:56:02 2003


On Fri, 25 Jul 2003 11:42:57 +0800, Ren Xiaolei said:

> 	1, If I use --default-key once, why won't GnuPG remember the
> 	last default key I choose?

Remembering options is not the task of a program.  You can write ahell
to do this.  The easier eay is waht about everyone does:  Put
the default-key option into your ~/.gnupg/gpg.conf

> 	2, If I use the two option together, what will happen? It uses
> 	the Key indicated by --local-user to sign, and encrypted to
> 	the Key indicated by --default-key. It seems that
> 	--default-recipient-self option tell me the difference.

--local-user overrides the --default-key.  If you want to encrypt, you
need to specify the -r option.

-- 
Werner Koch                                      <wk@gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe	                 http://fsfeurope.org