forked from secure-systems-lab/securesystemslib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and strengthen AWSSigner.import_ (WIP)
**Simplify** - remove redundant keytype/scheme switches - remove try/except, which catches an exception only to re-raise it **Strengthen** - choose default scheme based on schemes supported by the key Roughly implements the algorithm suggested in: secure-systems-lab#724 (review) **Unrelated changes** - fix secure-systems-lab#765 fix typo AND disable scheme until SSlibKey adds support - fail in __init__ if public_key.scheme is not in aws_algos **TODO** * add tests Many thanks to @ianhundere for the solid ground work! Signed-off-by: Lukas Puehringer <[email protected]>
- Loading branch information
Showing
1 changed file
with
46 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters