start mutt -> new mail -> sign with s/mime -> sign as -> chose key id -> key id is read but last digit is truncated , example: should be: 6499ffc7.0 is: 6499ffc7. -> no trailng zero -> openssl cant find the key -> signing fails -> s/mime is unusable from version 1.5.9 to latest 1.5.11 :( fixed in latest mutt, cvs: 2005-10-05 19:20:22 Jeff Ito <jeffi@...> (brendan) * smime.c: S/MIME key selection truncates the last character of the selected key for no apparent reason. Removed until someone can justify it. Closes: #2081. http://dev.mutt.org/cgi-bin/viewcvs.cgi/mutt/smime.c?rev=3.44&view=markup patch: =================================================================== RCS file: /var/lib/cvsd/cvsroots/mutt/smime.c,v retrieving revision 3.43 retrieving revision 3.44 diff -u -r3.43 -r3.44 --- mutt/smime.c 2005/09/17 20:46:11 3.43 +++ mutt/smime.c 2005/10/05 19:20:22 3.44 @@ -1989,7 +1989,6 @@ if ((p = smime_ask_for_key (_("Sign as: "), NULL, 0))) { - p[mutt_strlen (p)-1] = '\0'; mutt_str_replace (&SmimeDefaultKey, p); msg->security |= SIGN; please fix, thank you. Reproducible: Always Steps to Reproduce: 1. 2. 3.
This is an upstream bug rather than a Gentoo bug. I'll try to patch this one in the next couple of hours. Cheers, Ferdy
Fixed in mutt-1.5.11-r1 (~arched) Cheers, Ferdy