Menu

#18 signed email verification fails, when I reply a message

v1.0 (example)
open
nobody
None
5
2013-10-24
2013-10-24
No

I'm using alpine 2.10 (compiled from debian/unstable).
When I write a new letter, email signing is fine, but, when I'm reply a letter, it fails with digest failure.

Examples:
Good one:
root@localhost# openssl smime -verify -in goodmail.txt
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

Verification successful

Bad one:
root@localhost# openssl smime -verify -in badmail.txt
Content-Type: MULTIPART/MIXED; BOUNDARY="-1960472825-1845977140-1382623383=:27094"

---1960472825-1845977140-1382623383=:27094
Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
[...] it's mail (replied)
---1960472825-1845977140-1382623383=:27094--
Verification failure
139789072713384:error:21071065:PKCS7 routines:PKCS7_signatureVerify:digest failure:pk7_doit.c:1097:
139789072713384:error:21075069:PKCS7 routines:PKCS7_verify:signature failure:pk7_smime.c:410:

Discussion

  • Peter Nyilas

    Peter Nyilas - 2013-10-24

    Ok, when I re-read my bug report, i think, here's a new fact... It's not on reply, it's about character encode-ing...
    When I don't use hungarian special characters (charset: US-ASCII), email singing is fine, but when I use them (for example: Ékezetes próba, meglássuk), charset changes to ISO-8859-15 or ISO-8859-1, and singing fails)

     
  • Peter Nyilas

    Peter Nyilas - 2013-10-24

    I'm using UTF-8 terminal (putty)

     

Log in to post a comment.