Selecting your own key with Enigmail

Johan Wevers johanw at
Tue Oct 22 23:45:28 CEST 2013

On 22-10-2013 23:38, Hauke Laging wrote:

>> I have 2 active keys (a v3 2048 bit RSA and a v3 3072 bit DSA), and when
>> I send encrypted mail via Thunderbird 3.1.20 it uses always the RSA keyt
>> for encrypt to self but I want to use the other.
> DSA cannot encrypt.

I was incomplete, it is a 1024 DSA key with a 3072 bit ElGamal
encryption subkey:

gpg --edit-key 9e8c5ddf
gpg (GnuPG) 1.4.15; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.

pub  1024D/9E8C5DDF  created: 2000-08-11  expires: never       usage: SCA
                     trust: ultimate      validity: ultimate
sub  3072g/7A3FE18C  created: 2000-08-11  expires: never       usage: E
[ultimate] (1). Johan Wevers <johanw at>
[ultimate] (2)  Johan Wevers <johanw at>

Should I put the 7A3FE18C in encrypt-to instead of 9E8C5DDF? When I
encrypt files on the command line with gpg -e it uses the correct key.
The RSA key is only kept for pgp 2.x compatibility.

ir. J.C.A. Wevers
PGP/GPG public keys at

More information about the Gnupg-users mailing list