Skip to content

Commit 75e83b3

Browse files
committed
docs: Remove reference to securesystemslib hash
Default hash sha256 is now defined locally. Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
1 parent 6f50998 commit 75e83b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tuf/api/_payload.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def from_data(
854854
version: Version of the metadata file.
855855
data: Metadata bytes that the metafile represents.
856856
hash_algorithms: Hash algorithms to create the hashes with. If not
857-
specified, the securesystemslib default hash algorithm is used.
857+
specified, "sha256" is used.
858858
859859
Raises:
860860
ValueError: The hash algorithms list contains an unsupported
@@ -1564,7 +1564,7 @@ def from_file(
15641564
targets URL.
15651565
local_path: Local path to target file content.
15661566
hash_algorithms: Hash algorithms to calculate hashes with. If not
1567-
specified the securesystemslib default hash algorithm is used.
1567+
specified, "sha256" is used.
15681568
15691569
Raises:
15701570
FileNotFoundError: The file doesn't exist.
@@ -1588,7 +1588,7 @@ def from_data(
15881588
targets URL.
15891589
data: Target file content.
15901590
hash_algorithms: Hash algorithms to create the hashes with. If not
1591-
specified the securesystemslib default hash algorithm is used.
1591+
specified, "sha256" is used.
15921592
15931593
Raises:
15941594
ValueError: The hash algorithms list contains an unsupported

0 commit comments

Comments
 (0)