-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpg signer: remove subkey and expiration support (wip)
- import_: require exact match between passed keyid, and one of the keys in the bundle returned by gpg, and return a GPGKey only for that key, w/o subkeys - sign: require exact match between keyid on attached public key and keyid on the signature returned by gpg - remove obsolete creation_time, validity_period and subkeys from GPGKey -> this also means, we no longer check key expiration at verification time, which might be out of sync anyway - remove static hashes field from GPGKey - adopt changes in tests - change a lower-level gpg warning log message to debug TODO: - proof-read - structure commits 1. changes in import_ and sign + relevant test changes 2. removal of unneeded fields + relevant test changes 3. new tests - comment on log level change, is this okay? - ticketize: check if key is valid (expired, revoked, incapable) on import Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
- Loading branch information
Showing
4 changed files
with
94 additions
and
205 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ | |
export_pubkeys, | ||
verify_signature, | ||
) | ||
|
||
from securesystemslib.signer import GPGKey, GPGSigner, Signer | ||
|
||
|
||
|
Oops, something went wrong.