소스 검색

docs: update security.rst

Thomas Waldmann 2 년 전
부모
커밋
f621b21ec1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/internals/security.rst

+ 1 - 1
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)