Fwd: KMail does not decrypt SMIME

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gpa.devel,gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
Hi!

I'm forwarding your message to [email protected] where the GnuPG experts 
reside.

Regards,
Ingo

----------  Forwarded Message  ----------

Subject: KMail does not decrypt SMIME
Date: Tuesday 17 April 2007 21:39
From: M Hoeller <[email protected]>
To: [email protected]

Hello,

I have a problem to decrypt Mails which are encrypted with SMIME /
x.509.

I have: successfully set up OpenPGP to en- and decrypt and have
validated this with others.

Also I can sign and encrypt mails with my x.509 certificat from
CAcert.org. Others can decrypt the mails I have encrypted and signed.

BUT i can not decrypt mails which others have encrypted with x.509.
I always get the message: message decryption failed: unsupported
algorithm RC2. I have attatched the log from gpgsm.

I use gpgsm 1.9.22 which does not support RC2 due to patent issues,
and RC2 is outdated anyway. I have KMail 1.9.6 with kde 3.5.6 release
64.1 and a openSUSE 10.2.

Since one of the senders use Thunderbird 1.5.0.10 I come to the
impression that it is NOT that I receive RC2 (Thunderbird in this
version does not send RC2 but 3DES afaik).
On the other hand gpgsm throws the error only when the algorithm is
truely indentyvied:

Look at the error handling code:
              rc = gpg_error (GPG_ERR_UNSUPPORTED_ALGORITHM);
              log_error ("unsupported algorithm `%s'\n", algoid?
		algoid:"?");
              if (algoid && !strcmp (algoid, "1.2.840.113549.3.2"))
                log_info (_("(this is the RC2 algorithm)\n"));


How everI have also to look at my configuration and this is still a
miracle to me.

Is there some where step by step how to install / check
kmail/kleopatra and the gpgME setup? I have used guessing to set up
and this is never good. On the other hand I did not find a good
source of information.

It would be really great if someone could, please. Post a quick list
of what to check.

One of the questions is if I should use the dirmgr or gpg-agent? I
also commit that I have poor knowledge here and that I want to get
this improved, though I really did not find single place which
describes how the things link to gether.

Here is the data I am refering to:

User-Agent: Thunderbird 1.5.0.10 (X11/20070306)
MIME-Version: 1.0
X-Enigmail-Version: 0.94.0.0
OpenPGP: id=BDD13B90; url=http://tinyurl.com/5d8mm
Content-Type: application/x-pkcs7-mime; name="smime.p7m"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7m"
Content-Description: S/MIME Encrypted Message

gpgsm log:

4 - 2007-04-16 21:32:46 gpgsm[7623.0x8084a98] DBG: <- DECRYPT
4 - 2007-04-16 21:32:46 gpgsm[7623]: unsupported algorithm
`1.2.840.113549.3.2'
4 - 2007-04-16 21:32:46 gpgsm[7623]: (Dies ist der RC-2 Algorithmus)
4 - 2007-04-16 21:32:46 gpgsm[7623.0x8084a98] DBG: -> S ERROR
decrypt.algorithm 50331732 1.2.840.113549.3.2
4 - 2007-04-16 21:32:46 gpgsm[7623.0x8084a98] DBG: -> S
DECRYPTION_FAILED
4 - 2007-04-16 21:32:46 gpgsm[7623]: message decryption failed: Nicht
unterstütztes Verfahren
4 - 2007-04-16 21:32:46 gpgsm[7623.0x8084a98] DBG: -> ERR 50331732
Nicht unterstütztes Verfahren
4 - 2007-04-16 21:32:47 gpgsm[7623.0x8084a98] DBG: <- BYE

Thanks a lot and have a nice day
Michael
_______________________________________________
KMail developers mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kmail-devel

-------------------------------------------------------

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBGJnQwGnR+RTDgudgRAqj5AJ0TAGV9EKSqmPaYpxt/kQLLiC/BnQCgtoV0
Z/8zEC+zZh+d0+OtWCzfdpI=
=a0nF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.