File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments