adduid questions

David Shaw dshaw@jabberwocky.com
Thu Apr 3 02:27:11 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 02, 2003 at 02:59:47PM -0600, Mike Campbell wrote:
> I'm new to GnuPG and trying to setup my private/public key.
> 
> I have 2 email addresses that I would like to add to the key. I used 
> 'gpg --gen-key' to generate the first uid and that works fine. I then 
> used 'gpg --edit-key' and 'adduid' to add a 2nd email address to the 
> key. This also completed just fine.
> 
> However, the problem is that I can't figure out how to select which 
> email address to sign/encrypt outgoing email.
> 
> In some cases I want to sign/encrypt with my work key and in others 
> using my home key.
> 
> How do I do this or am I just totally off base?

If I understand your email properly, you have a single key with two
email addresses (work and home).  In this case, it doesn't matter
which email address you use - they'll end up pointing to the same key.

If you have two actual different keys, then you can select which key
to use with the -u command line option.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+i4AP4mZch0nhy8kRAs7EAKDbm18DTnCMwUu47xHwJpLZovxrvwCeOROd
j/zVvTex/Sgoyb4dThgO+Dw=
=UZxX
-----END PGP SIGNATURE-----