mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 16:55:36 +00:00
docs: update security.rst
This commit is contained in:
parent
c7c7690b26
commit
f621b21ec1
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ authentication keys and calculating the HMAC of the metadata to authenticate [#]
|
||||||
# RANDOM(n) returns n random bytes
|
# RANDOM(n) returns n random bytes
|
||||||
salt = RANDOM(64)
|
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
|
# *context* depends on the operation, for manifest authentication it is
|
||||||
# the ASCII string "borg-metadata-authentication-manifest".
|
# the ASCII string "borg-metadata-authentication-manifest".
|
||||||
tam_key = HKDF-SHA-512(ikm, salt, context)
|
tam_key = HKDF-SHA-512(ikm, salt, context)
|
||||||
|
|
Loading…
Reference in a new issue