VM

smime failure: invalid mime type text/plain

Bug #1231525 reported by John Hein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Confirmed
Medium
Arik

Bug Description

On experimenting with some s/mime signed messages, I have a signed messaged marked as failing verification, but it works manually with openssl on the command line.

The *OpenSSL output* buffer reports:

Error reading S/MIME message
872466152:error:0D0D40CD:asn1 encoding routines:SMIME_read_ASN1:invalid mime type:asn_mime.c:519:type: text/plain

And *Messages*:

/h/jhein/gen/mail/mbox/xxxxsm3: Reading folder... done
xxxxsm3: 1 message, 0 new, 0 unread, 0 deleted
xxxxsm3: Generating summary... 0
xxxxsm3: Decoding MIME message...
OpenSSL: One of the input files could not be read.
xxxxsm3: Decoding MIME message... done
End of message 1 from Kevin Day...
xxxxsm3: 1 message, 0 new, 0 unread, 0 deleted
xxxxsm3: Checking for new mail...
xxxxsm3: 1 message, 0 new, 0 unread, 0 deleted

But openssl succeeds:

openssl smime -verify -text -out /dev/null -in ~/gen/mbox/xxxxsm3
Verification successful

I set smime-CA-file (pointed to mozilla CA bundle) and vm-mime-verify-signatures to t.
Using vm trunk version 1484.

I'll attach the message separately.

Tags: smime
Revision history for this message
John Hein (xpqheqdvq4) wrote :

Attached is the offending message (in mbox format) obtained from a public mailing list. Let's see - how to mark it private - so I don't further expose this unsuspecting author's info.

tags: added: smime
Revision history for this message
John Hein (xpqheqdvq4) wrote :

I don't see a way to mark the attachment non-public except perhaps by making the whole bug private. Oh well - it was on a public mailing list.

Revision history for this message
Uday Reddy (reddyuday) wrote :

Arik, this is your baby. Sorry I didn't notice it till now!

Changed in vm:
assignee: nobody → Arik (akwm)
Uday Reddy (reddyuday)
Changed in vm:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.