Hello,

i am the maintainer of S-nail and i responded to the question of the
poster as archived at

  https://sourceforge.net/p/s-nail/s-nail/message/35479133/
or
  http://www.mail-archive.com/s-nail-users@lists.sourceforge.net/msg00530.html

It follows a copy of the answer:

I don't think there is an issue on our side, S/MIME is tested via
cc-test.sh in the distribution.
I wouldn't exactly call the bug report detailed, your setup must
be different from what the bug report states, i.e., more complete.
Have you read the manual ("Signed and encrypted messages
with S/MIME")?

Compared to Heirloom mailx the S/MIME support has been actualized
a little bit regarding the standard RFC 5751.  E.g., if you
replace the line

  Content-Type: application/pkcs7-mime; name="smime.p7m"
with
  Content-Type: application/x-pkcs7-mime; name="smime.p7m"

then maybe that fixes the problem, though unlikely because other
MUAs use this one exclusively for some time.

More likely the culprit is the upgrade of the *smime-cipher*[1]
from des3 (DES EDE3 CBC) to aes128 (AES-128 CBC).  If i recall
correctly Heirloom used 3des for the name, so if you have set the
cipher to 3des then this could also be it.
You now can also fine-tune the message digest by setting the
*smime-sign-message-digest*[2] option, i.e., more backward
compatible:

  set mime-cipher=des3 mime-sign-message-digest=MD5

More forward compatible

  set mime-cipher=aes256 mime-sign-message-digest=sha512

  [1] https://www.sdaoden.eu/code-nail.html#429
  [2] https://www.sdaoden.eu/code-nail.html#_437

Ciao!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640190

Title:
  S/MIME encryption broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s-nail/+bug/1640190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to