File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -854,7 +854,7 @@ def from_data(
854
854
version: Version of the metadata file.
855
855
data: Metadata bytes that the metafile represents.
856
856
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.
858
858
859
859
Raises:
860
860
ValueError: The hash algorithms list contains an unsupported
@@ -1564,7 +1564,7 @@ def from_file(
1564
1564
targets URL.
1565
1565
local_path: Local path to target file content.
1566
1566
hash_algorithms: Hash algorithms to calculate hashes with. If not
1567
- specified the securesystemslib default hash algorithm is used.
1567
+ specified, "sha256" is used.
1568
1568
1569
1569
Raises:
1570
1570
FileNotFoundError: The file doesn't exist.
@@ -1588,7 +1588,7 @@ def from_data(
1588
1588
targets URL.
1589
1589
data: Target file content.
1590
1590
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.
1592
1592
1593
1593
Raises:
1594
1594
ValueError: The hash algorithms list contains an unsupported
You can’t perform that action at this time.
0 commit comments