python-tuf/tuf
Joshua Lock 1f0cb9cd52 Add new setting for file hashing algorithms
Using securesystemslib.settings.HASH_ALGORITHMS is undersirable, because
it binds tuf to an implementation detail of the underlying library.
In this specific instance of file hashing algorithms it's even more
undesirable because it's overloading the intended use of the setting
which is "algorithm(s) [...] used to generate key IDs".

Add a new setting tuf.settings.FILE_HASH_ALGORITHMS, with a default
value of ['sha256', 'sha512'] (that matches the current value of
securesystemslib.settings.HASH_ALGORITHMS), to be used for file
hashing operations in tuf.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-03-05 17:55:38 +00:00
..
client Remove uses of securesystemslib.util.TempFile 2019-10-14 12:37:34 +02:00
scripts Remove duplicate testing simple_server.py 2020-02-25 14:55:36 +01:00
__init__.py release: 0.12.2 2020-01-10 15:43:44 -05:00
ATTACKS.md fix-up the document spelling mistake 2019-08-27 14:41:24 +08:00
client_setup_and_repository_example.md Update client_setup_and_repository_example.md 2014-07-12 09:12:32 -04:00
developer_tool.py Refactor repository and developer tool API 2019-09-18 18:08:54 +02:00
download.py Remove uses of securesystemslib.util.TempFile 2019-10-14 12:37:34 +02:00
exceptions.py Fix #857: allow logging NoWorkingMirrorError to include details 2019-04-19 13:23:19 -04:00
formats.py relax semver for spec version in 0.12.MINOR 2019-11-06 11:52:25 -05:00
keydb.py fix-up some spelling mistakes 2019-09-26 00:52:21 +08:00
log.py Use default "_" for consecutive unused var assign 2019-09-24 12:52:45 +02:00
mirrors.py Remove deprecated securesystemslib.formats schemas 2019-09-17 10:28:10 +01:00
README-developer-tools.md Remove or edit remaining instances of 'restricted paths' 2018-01-19 14:20:38 -05:00
README.md Link to CLI.md from getting started and readme docs 2018-02-06 17:00:24 -05:00
repository_lib.py Add new setting for file hashing algorithms 2020-03-05 17:55:38 +00:00
repository_tool.py Revert "Minor tutorial related tweaks made after reviewing PR #775" 2019-11-29 12:35:28 +01:00
roledb.py roledb: Make get_dirty_roles() return sorted list 2019-12-16 15:16:24 +01:00
settings.py Add new setting for file hashing algorithms 2020-03-05 17:55:38 +00:00
sig.py Update docs and comments in sig.py and test_sig.py 2020-01-10 11:26:07 +01:00
unittest_toolbox.py Rename license files in modules 2018-02-05 11:31:19 -05:00