Using of subkeys for encryption

Werner Koch wk at gnupg.org
Wed Jan 4 18:12:57 CET 2006


On Wed, 04 Jan 2006 09:39:44 +0100, Patrick Plattes said:

> gpg: encrypted with 1024-bit RSA key, ID 37BDF910, created 2005-09-21
>      "Patrick Plattes (Mr. Parity) <patrick at erdbeere.net>"
> gpg: public key decryption failed: wrong secret key used

I missed this message in my first reply.

> gpg: decryption failed: secret key not available

With the additional data supplied by Patrick:

  Signature key ....: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx F7E0 86A6
        created ....: xxxxxxxxxxxxxxxxxxx
  Encryption key....: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 8A27 0C95
        created ....: xxxxxxxxxxxxxxxxxxx
  Authentication key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 37BD F910
        created ....: xxxxxxxxxxxxxxxxxxx
  General key info..: pub  1024R/F7E086A6 2005-09-21 Patrick Plattes (Mr. 
  
you can see that the messages has been encrypted to the authentication
key and not to the encryption key (8a270c95).  This is due to the fact
that gnupg 1.2.5 does not know about authentication keys and tries to
use them as encryption keys.  This has been fixed in 1.2.7 (the last
one in the old 1.2 branch).



Salam-Shalom,

   Werner




More information about the Gnupg-users mailing list