mirror of
https://github.com/Pro/dkim-exchange.git
synced 2026-04-25 08:55:52 +03:00
[GH-ISSUE #87] Does simple/simple (normalizing) break S/MIME? #68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pro on GitHub (May 8, 2015).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/87
If canonicalization
simpleis used, it may break an already existing S/MIME signature because the body is changed (i.e. line endings and header names are normalized according to the DKIM RFC)This needs further investigation. See also #86
@AlexLaroche commented on GitHub (May 8, 2015):
@Pro : If canonicalization simple is active, we calculate the dkim signature on the original email. If canonicalization relaxed is active, we normalize a copy of the email to calculate the email. We aren't supposed to change the original email. The only thing the signer is suppose to do is to add the calculated DKIM signature.
@Pro commented on GitHub (May 8, 2015):
Oh right, I mixed simple and relaxed up.
But I wasn't sure if if S/MIME also includes headers into the signature. Looked that up now and also the tests from Bug #86 confirm that we should be fine.