Skip to content

Headers omitted by writeTo are still included in the DKIM signature #16

Closed

Description

@bbottema

DkimMessage.writeTo(output, ignoreList) omits selected headers from the output, while DkimSigner signs all configured headers present in the in-memory message. Filtering Subject or other signed headers makes the emitted signature invalid. Expected: sign exactly the headers emitted by that write; fail if the mandatory From header is omitted; restore normal behavior for later unfiltered writes. Snapshot the caller's ignore list for a consistent operation.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions