Skip to content

Commit

Permalink
Remove legacy key modules, tests and references
Browse files Browse the repository at this point in the history
The Signer API provides a more powerful and modern replacement.

Signed-off-by: Lukas Puehringer <[email protected]>
  • Loading branch information
lukpueh committed Apr 10, 2024
1 parent 9c1a863 commit ce123fd
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 8,107 deletions.
520 changes: 0 additions & 520 deletions securesystemslib/ecdsa_keys.py

This file was deleted.

363 changes: 0 additions & 363 deletions securesystemslib/ed25519_keys.py

This file was deleted.

6 changes: 2 additions & 4 deletions securesystemslib/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ class PycaDiggestWrapper(
<Properties>
algorithm:
Specific for `cryptography.hazmat.primitives.hashes.Hash` object, but
needed for `rsa_keys.py`
Specific for `cryptography.hazmat.primitives.hashes.Hash` object.
digest_size:
Returns original's object digest size.
Expand Down Expand Up @@ -394,8 +393,7 @@ def digest_from_rsa_scheme(scheme, hash_library=DEFAULT_HASH_LIBRARY):
<Arguments>
scheme:
A string that indicates the signature scheme used to generate
'signature'. Currently supported RSA schemes are defined in
`securesystemslib.keys.RSA_SIGNATURE_SCHEMES`
'signature'.
hash_library:
The crypto library to use for the given hash algorithm (e.g., 'hashlib').
Expand Down
Loading

0 comments on commit ce123fd

Please sign in to comment.