Stuff I found out myself:
- OpenSSL does not like to have a period (dot) at the end of a S/MIME message (like many .EML files have as SMTP basically requires a period to terminate an email message.
- Indy sometimes changes the ContentType of S/MIME messages; you can reproduce this using the CopyEml demos; preliminary fix is in IdMessageHelperUnit.pas.
They should reorganize their site to make the most current version more findable; these links help me to track down what’s new:
- http://indy.fulgan.com/indy10.changelog.txt.
- http://www.indyproject.org/sockets/Blogs/ChangeLog.
- Installing Indy for Delphi XE – Stack Overflow.
- accept the old RSA MIME types:
- application/x-pkcs7-mime
- application/x-pkcs7-signature
- application/x-pkcs10
- but emit the new RFC 2311+ MIME types:
- application/pkcs7-mime
- application/pkcs7-signature
- application/pkcs10
- emit the new RFC MIME types:
Some links I found useful:
- Ruby interface to S/MIME: Maximum encryption length [SOLVED]; How to Decode/extract smime.p7m file contents of SMIME signed email using Ruby OpenSSL library – Stack Overflow.
- Wikipedia:
- English: S/MIME – Wikipedia, the free encyclopedia.
- German: S/MIME – Wikipedia.
(the German article is more thorough) - English: PKCS – Wikipedia, the free encyclopedia.
German: PKCS – Wikipedia.
- Interesting take on enhancing the “sign, then encrypt” way of security that most mail clients use: email – How to check if encrypted S/MIME message is also signed, without decrypting it – Stack Overflow.
- RFCs (the obsoletes tree is important for the historic perspective)
- RFC 3851 – Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.1 Message Specification.
Obsoletes:
- RFC 5750 – Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Certificate Handling.
Obsoletes:
- RFC 3850 – Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.1 Certificate Handling.
Obsoletes:
- RFC 3852 – Cryptographic Message Syntax (CMS).
Obsoletes:
Obsoletes:
- RFC 2630 – Cryptographic Message Syntax. (derived from PKCS7)
- RFC 3211 – Password-based Encryption for CMS.
Obsoletes:
Obsoletes:
- Mail headers:
- RFC 5322 – Internet Message Format.
Obsoletes: - RFC 2822 – Internet Message Format.
Obsoletes:
Obsoletes:
Obsoletes:
- RFC 1590 – Media Type Registration Procedure.
- RFC 1522 – MIME (Multipurpose Internet Mail Extensions) Part Two: Message Header Extensions for Non-ASCII Text.
- RFC 1521 – MIME (Multipurpose Internet Mail Extensions) Part One: Mechanisms for Specifying and Describing the Format of Internet Message Bodies.
(see also the separate Media Types section below)
Obsoletes: 1590, 1522, 1521.
Obsoletes:
- RFC 2048 – Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures.
Obsoletes: 1590, 1522, 1521.
Obsoletes: 1590, 1522, 1521.
Obsoletes:
Obsoletes:
Obsoletes:
- RFC 3798 – Message Disposition Notification.
Obsoletes:
Obsoletes:
Obsoletes:
–jeroen
Filed under: Delphi, Development, OpenSSL, Power User, Security, Software Development