<<< Date Index >>>     <<< Thread Index >>>

PKCS7_verify:wrong content type



From: Ulrich Lauther <ulrich.lauther@xxxxxxxxxxx>
Subject: PKCS7_verify:wrong content type
Newsgroups: comp.mail.mutt
Reply-To: Ulrich.Lauther@xxxxxxxxxxx
Organization: Siemens
Distribution: world
Summary: 
Keywords: 

Hi,

I am trying to read a signed message using mutt-1.5.6i and get:

[-- OpenSSL output follows (current time: Mon Apr 19 12:02:24 2004) --]
Verification failure
11713:error:21075071:PKCS7 routines:PKCS7_verify:wrong content
type:pk7_smime.c:
166:
[-- End of OpenSSL output --]

[-- The following data is S/MIME signed --]

[-- End of S/MIME signed data. --]


The message looks like this:
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: application/x-pkcs7-mime;
        name="smime.p7m"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="smime.p7m"
Status: RO

MIAGCSqGSIb3DQEHA6CAMIACAQAxggPrMIHxAgEAMFowUjELMAkGA1UEBhMCREUxEDAOBgNVBAoU

And in my .muttrc, I have:

# Decrypt a message. Output is a MIME entity.
set smime_decrypt_command="/usr/local/bin/openssl smime -decrypt  -passin
stdin -inform DER -in %f -inkey %k -recip %c"

# Verify a signature of type multipart/signed
set smime_verify_command="/usr/local/bin/openssl smime -verify -inform DER
-in %s %C -content %f"

# Verify a signature of type application/x-pkcs7-mime
set smime_verify_opaque_command="/usr/local/bin/openssl smime -verify
-inform DER -in %s %C"



Any ideas what could be wrong?

Kind regards,

        -ulrich lauther

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens CT SE 6         Internet: Ulrich.Lauther@xxxxxxxxxxx
-- 
        -lauther

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens CT SE 6         Internet: Ulrich.Lauther@xxxxxxxxxxx