Commit Briefs

b33805296f Martijn van Duren

Put pklen and tmp in #ifdef HAVE_ED25519



2732fb68df Martijn van Duren

Apparently I broke RSA in previous commit


338537df4f Martijn van Duren

Add support for ed25519


7847bd6699 Martijn van Duren

Domains are case insensitive.

Keep that in mind when comparing i- and d-tag



04225ff918 Martijn van Duren

FWS after h=-tag value could lead to a end mismatch.

Use osmtpd_ltok_skip_sig_h_tag_value for checking and original code for copying data





2817edcae0 Martijn van Duren

osmtpd_ltok_skip_domain has obs-domain, which gives the wrong result.

Use the appropriate osmtpd_ltok_skip_sig_d_tag_value




93003f16d4 Martijn van Duren

Free ar_data, as suggested by asr_run(3)



8cc3b72a5a Martijn van Duren

header->buf also needs to be freed


5d58b443f9 Martijn van Duren

Add DKIM_UNKNOWN check for whitelines backlog as well


42479031f4 Martijn van Duren

Rewrite osmtpd_ltok_skip_hyphenated_word. It didn't work quite right.

While here remove unneeded #include <stdio.h>


efee726e37 Martijn van Duren

Fix calculating subdomain matching for i tag


f85da7301b Martijn van Duren

Fix type-O


31ffb91656 Martijn van Duren

rewrite dkim_body_parse, so that we don't copy the line.

This means that we don't limit the line length anymore, but might cost a little extra computing overhead. Let's see how bad this can get.


6eeac6a109 Martijn van Duren

And of course I tested with the wrong file.

v=-tags should also increment key, similar to the other tags.


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