Commit Briefs

2e9f7a5ec6 Martijn van Duren

Fix syntax validator in t=-tag (used wrong function)

While here fix unfold some line wrappings no longer needed


475eae6523 Martijn van Duren

For the key h tag we should skip over the alg, not the entire value when

inside the loop. While here reorder some line folding since the mheader->ltok API name change.


2b1224a85b Martijn van Duren

Put v=-tag handling for key into switch.

Shorter and better legibility


7e24437dc3 Martijn van Duren

Always compile test failure issue 1000000


d842ff09fd Martijn van Duren

Add more error checking in key parsing



4e2dd90f10 Martijn van Duren

Rework the entire mheader file

- Rename mheader to ltok (lexical token) - Make all skip functions const - Add a few missing functions


5c6a65504e Martijn van Duren

Make sure we don't crash on invalid headers



2d83468e8d Martijn van Duren

t tag must be smaller than x tag


a9f7aa12f7 Martijn van Duren

Make sure that l-tag is smaller than body


cc08de5188 Martijn van Duren

Check that i-tag is (sub)domain of d-tag


759a6c7b4d Martijn van Duren

return early if there are missing tags in DKIM-Signature


8015d1bca7 Martijn van Duren

Don't forget to reset bctx in between calls


71b63ce617 Martijn van Duren

Fix some inverted logic in the key's s-tag


28bea7ccdf Martijn van Duren

Fix pointer forward movement for simple case of fws range


048fb98bc3 Martijn van Duren

Fix key h tag:

- inverted logic for key-h-tag-value - restore temporary NUL-character



f150949015 Martijn van Duren

Initial implementation for filter-dkimverify.

Probably still contains quite a few bugs and does't yet support ed25519.