chatmail
chatmail copied to clipboard
Reject messages with partial DKIM signatures
Messages with DKIM-signatures that have l=
tag are not fully protected. We should reject such signatures.
See opendkim-lua
man page, there a functions odkim.sig_bodylength
and odkim.sig_canonlength
that can help with this. If sig_canonlength
is less than sig_bodylength
, then signature should be rejected.