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.
Re-organize gpg pubkey parsing functions
Change parse_pubkey_bundle to return the parsed raw pubkey bundle and let the caller, i.e. get_pubkey_bundle, call functions for further processing, i.e. _assign_certified_key_info and _get_verified_subkeys, to eventually return the processed pubkey bundle, i.e. master_public_key (enriched with certified key info and optional verified subkeys). This follows suggestions made by @aaaaalbert in in-toto/in-toto#257 (comment) and also makes testing easier.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 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