[Tickets #13661] Re: Can't decrypt signed message stored in encrypted S/MIME message

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Nov 3 03:03:02 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13661
------------------------------------------------------------------------------
  Ticket             | 13661
  Updated By         | software-horde at interfasys.ch
  Summary            | Can't decrypt signed message stored in encrypted
                     | S/MIME message
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


software-horde at interfasys.ch (2014-11-03 03:03) wrote:

Some additional information.

The 2nd part can't be decrypted, because it's a signed message, but  
Horde treats it as another encrypted message
Trying to decrypt it will throw an error
34374513640:error:21072071:PKCS7 routines:PKCS7_decrypt:wrong content  
type:pk7_smime.c:546:

The Smime lib should test the 2nd part using `-cmsout` before using it.

cmsout will contain something like this
Content-Type: application/pkcs7-mime; smime-type=signed-data; name="smime.p7m"








More information about the bugs mailing list