How to differentiate between a properly encrypted message – and an opaque P7M
search cancel

How to differentiate between a properly encrypted message – and an opaque P7M

book

Article ID: 369967

calendar_today

Updated On: 02-25-2025

Products

Gateway Email Encryption PGP Command Line PGP Encryption Suite PGP Key Management Server PGP Key Mgmt Client Access and CLI API PGP SDK Desktop Email Encryption Drive Encryption Encryption Management Server File Share Encryption Endpoint Encryption

Issue/Introduction

This article gives you information on how an encrypted p7m message can be readable by a digital signature policy.

Cause

 

 

Resolution

There are two types of signed S/MIME messages, clear signed and opaque signed.

Clear signed will have a *.p7s attachment and opaque signed will have a *.p7m attachment.

See below for further details:

https://superuser.com/questions/1333248/s-mime-signed-email-loses-attachment

 

How to differentiate between a properly encrypted message – and an opaque P7M

Looking at the email header, specifically at Content-Type. According to the above link a detached signature will have:

Content-Type: multipart/signed

and

an opaque signed will have:

Content-Type: application/pkcs7-mime;
    smime-type=signed-data;