From 3188f1a64d8e7bbeab771360cbf01a9f326d1afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dosko=C4=8Dil?= <30779172+Dook97@users.noreply.github.com> Date: Wed, 19 Feb 2025 12:56:59 +0100 Subject: [PATCH] mod 8300 (NSEC3): support salt length up to what the standard allows --- src/modules/module_08300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_08300.c b/src/modules/module_08300.c index 74bb19823..e51d30313 100644 --- a/src/modules/module_08300.c +++ b/src/modules/module_08300.c @@ -64,7 +64,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE token.sep[2] = ':'; token.len_min[2] = 0; - token.len_max[2] = 32; + token.len_max[2] = 510; // max salt length is 255B, human readable repr is hex so 2 chars per byte token.attr[2] = TOKEN_ATTR_VERIFY_LENGTH; token.sep[3] = ':';