Commit a45be93
committed
libopendkim,opendkim: add DKIM_SIGERROR_UNSUPPORTED_A and warn when skipping unsupported algorithm
Distinguish between a genuinely invalid a= tag value (DKIM_SIGERROR_INVALID_A)
and a valid algorithm that was not compiled into this build
(DKIM_SIGERROR_UNSUPPORTED_A, e.g. ed25519-sha256 without Ed25519 support).
Ed25519 is in wide deployment now; silently skipping these signatures without
any log output makes it hard to diagnose why valid signatures are being ignored.
opendkim now logs LOG_WARNING when a signature is skipped for this reason,
naming the algorithm so operators know exactly what support to add.1 parent 9749241 commit a45be93
4 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2144 | 2144 | | |
2145 | 2145 | | |
2146 | 2146 | | |
2147 | | - | |
| 2147 | + | |
2148 | 2148 | | |
2149 | 2149 | | |
2150 | 2150 | | |
| |||
2156 | 2156 | | |
2157 | 2157 | | |
2158 | 2158 | | |
2159 | | - | |
| 2159 | + | |
2160 | 2160 | | |
2161 | 2161 | | |
2162 | 2162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5503 | 5503 | | |
5504 | 5504 | | |
5505 | 5505 | | |
| 5506 | + | |
5506 | 5507 | | |
5507 | 5508 | | |
5508 | 5509 | | |
| |||
10732 | 10733 | | |
10733 | 10734 | | |
10734 | 10735 | | |
| 10736 | + | |
| 10737 | + | |
| 10738 | + | |
| 10739 | + | |
| 10740 | + | |
| 10741 | + | |
| 10742 | + | |
| 10743 | + | |
| 10744 | + | |
| 10745 | + | |
| 10746 | + | |
| 10747 | + | |
| 10748 | + | |
| 10749 | + | |
10735 | 10750 | | |
10736 | 10751 | | |
10737 | 10752 | | |
| |||
0 commit comments