anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit 419fa673740b9df06a2a042ef0bb8cbed3b883f3
parent 44fd2c8166f192bd3dbd13de99bd817619c40301
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 29 Jul 2026 13:09:09 +0200

use the full context string in derive_key, not just its first byte

Diffstat:
Msrc/util/anastasis_crypto.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/anastasis_crypto.c b/src/util/anastasis_crypto.c @@ -105,7 +105,7 @@ derive_key (const void *key_material, /* The "salt" passed here is actually not something random, but a protocol-specific identifier string. Thus we pass it as a context info to the HKDF */ - GNUNET_CRYPTO_kdf_arg_auto (salt))); + GNUNET_CRYPTO_kdf_arg_string (salt))); }