Re: MIME-canonicalization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Mar 14, 2018, at 2:43 AM, etc@xxxxxxxxxxxxxx wrote:
> 
> I am facing some problems with a SMIME where the content is binary encoded AND a linefeed (LF) (0x0a) is used for line-separator.
> The CMS_verify failes (CMS routines:CMS_SignerInfo_verify_content:verification failure).
> 
> It works fine if CRLF (0x0d 0x0a) is line-separator or even if only CR is used - but not with LF only.
> It is also ok if the content is not in binary but base64 encoded.
> 
> I tried with and without CMS_BINARY flag set.

S/MIME is not compatible with non-line-oriented binary MIME.
Your message MUST have CRLF-terminated input lines.

If you want true binary data, use CMS, not S/MIME.

-- 
	Viktor.

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux