Skip to content

Update documentation to accurately reflect S/MIME standards-compliance#14565

Open
TaaviE wants to merge 1 commit intopyca:mainfrom
TaaviE:patch-doc
Open

Update documentation to accurately reflect S/MIME standards-compliance#14565
TaaviE wants to merge 1 commit intopyca:mainfrom
TaaviE:patch-doc

Conversation

@TaaviE
Copy link
Copy Markdown
Contributor

@TaaviE TaaviE commented Mar 30, 2026

The current implementation uses structure definitions from PKCS#7, which is what S/MIME 2.0 is defined upon. It does not utilize or tolerate anything newer. The existing documentation is misleading by implying that there's any S/MIME 3.2 compliance beyond AES-CBC.

Even though it would be harmless for existing code to tolerate things such as keys meant for other recipients that use ECDSA or EdDSA, it however does not. It is also not the only limitation where the current implementation just chokes.

The current implementation is in most parts practically equivalent to the openssl-smime utility, which has the same pitfall of not tolerating any newer versions of CMS. The more modern and currently recommended openssl-cms utility does however have this support.

In general, as long as the implementation is kept as it is, the users should not be mislead that the project implements (or aims to implement) newer versions. Especially considering that there has been no willingness by the maintainers to remedy the parts that violate newer versions of the specifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant