> Hmm, the code changes smime_sign_message() so first we need to know why it
> attempts to S/MIME sign the message at all. What are your pgp and s/mime
> settings ("mutt -D | grep crypt" and remove any private data)?
========================= mutt -D | grep crypt =========================
crypt_use_gpgme is unset
crypt_use_pka is unset
crypt_autopgp is set
crypt_autosmime is set
crypt_autosign is set
crypt_autoencrypt is unset
crypt_replyencrypt is set
crypt_replysign is unset
crypt_replysignencrypted is unset
crypt_timestamp is set
crypt_verify_sig=yes
smime_decrypt_use_default_key is set
pgp_decrypt_command="mutt_gpg --passphrase-fd 0 --no-verbose --batch --output -
%f"
pgp_encrypt_sign_command="pgpewrap mutt_gpg --passphrase-fd 0 --batch --quiet
--no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor
--always-trust --encrypt-to 0xXXXXXXXX -- -r %r -- %f"
pgp_encrypt_only_command="pgpewrap mutt_gpg --batch --quiet --no-verbose
--output - --encrypt --textmode --armor --always-trust --encrypt-to 0xXXXXXXXX
-- -r %r -- %f"
forward_decrypt is set
smime_encrypt_with=""
smime_decrypt_command=""
smime_encrypt_command=""
========================================================================
Does it make any sense to you ?
What happened exactly was, that I got mail, which contains
"S/MIME Cryptographic Signature" as an attachment. If I turn the headers
display on, this bit seems to be relevant:
Content-type: multipart/signed;
boundary=------------ms020002030404060802020200; micalg=sha1;
protocol="application/x-pkcs7-signature"
I hit 'r' as in reply and wrote my reply in editor and quit to composer.
The composer shows (apart from the rest) this two lines:
S/MIME: Sign
sign as: <default>
Then I hit 'y' since I want to send the mail. Mutt asks me "Enter S/MIME
passphrase:". Since I don't have any S/MIME passphrase I just hit CR.
Mutt then warns me "Warning: Intermediate certificate not found." and in
few moment crashes.
If I quickly inspect the core file:
$ dbx /store/rcs/pkg/mutt/bin/mutt.i386 core
Reading mutt.i386
core file header read successfully
Reading ld.so.1
Reading libdl.so.1
Reading libz.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libc.so.1
Reading cs_CZ.UTF-8@xxxxxxxxx
Reading methods_unicode.so.3
program terminated by signal SEGV (no mapping at the fault address)
0xfed8a350: strlen+0x0030: movl (%eax),%ecx
(dbx) where
=>[1] strlen(0x0), at 0xfed8a350
[2] _ndoprnt(0x834f3ed, 0x804349c, 0x8043460, 0x0), at 0xfedcb3f6
[3] snprintf(0x838a1f8, 0xff, 0x834f3e8, 0x83a386c, 0x0, 0x83ab0b0, 0x57c,
0x1), at 0xfedcd4a1
[4] smime_sign_message(0x0, 0x90600, 0x0, 0x0, 0x0, 0x80780), at 0x8110b74
(dbx) x 0x834f3e8/s
dbx: warning: unknown language, 'c' assumed
0x0834f3e8: stringprep_rfc3454_A_1+0x9e90: "%s/%s"
(dbx) x 0x83a386c/s
0x083a386c: _libiconv_version+0xa368: ""
I can repeat with debug build if it helps anything. I'm sorry that I
didn't include full bug report as a first thing.
Thank you for help
--
Vlad
Attachment:
pgpEm5nnAuUlW.pgp
Description: PGP signature