From f621b21ec1a6f436d4fb7b2b0082be61edc83a32 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 3 Aug 2022 22:19:28 +0200 Subject: [PATCH] docs: update security.rst --- docs/internals/security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/internals/security.rst b/docs/internals/security.rst index e90549d0f..6dcebf42a 100644 --- a/docs/internals/security.rst +++ b/docs/internals/security.rst @@ -83,7 +83,7 @@ authentication keys and calculating the HMAC of the metadata to authenticate [#] # RANDOM(n) returns n random bytes salt = RANDOM(64) - ikm = id_key || enc_key || enc_hmac_key + ikm = id_key || crypt_key # *context* depends on the operation, for manifest authentication it is # the ASCII string "borg-metadata-authentication-manifest". tam_key = HKDF-SHA-512(ikm, salt, context)