Mercurial > prosody-hg
diff plugins/mod_s2s_auth_dane_in.lua @ 13923:e6087c733899 13.0
mod_s2s_auth_dane_in: Fix caching SHA2-512 hash
This unintentionally stored the SHA2-512 hash in the slot for SHA2-256,
so that if something compares the same entry again against a SHA2-256
hash it would fail. However a matching SHA2-512 entry should still
match. RFC 7671 RECOMMENDS SHA2-256 so SHA2-512 entries are expected to
be less common. DANE support not being enabled by default. Expected
impact is low.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 05 Aug 2025 21:49:58 +0200 |
| parents | b1e2dd6e735b |
| children | 7fdf7645b0da 4ed802e45af6 |
line wrap: on
line diff
