condorcore-keyring/libkeyringctl
David Runge e43a28f4a7
Simplify libkeyringctl.keyring.convert_certificate
libkeyringctl/keyring.py:
Simplify `convert_certificate()` by splitting out the conversion of
signature packets to `convert_signature_packet()` and the persistence of
packet material to `persist_key_material()`.
Add `convert_pubkey_signature_packet()`,
`convert_uid_signature_packet()` and
`convert_subkey_signature_packet()` to deal with the conversion of
public key signatures, UID signatures and subkey signatures
(respectively).

tests/test_keyring.py:
Add tests for `convert_certificate()`, `convert_signature_packet()`,
`convert_{pubkey,uid,subkey}_signature_packet()` and
`persist_subkey_revocations()`.
2021-11-30 22:54:16 +01:00
..
__init__.py chore(keyringctl): modularize the code for overview and testing 2021-11-30 22:54:12 +01:00
ci.py feature(keyringctl): rework ci module to execute full lint for new certs 2021-11-30 22:54:16 +01:00
cli.py feature(ci): run keyring integrity check if keyring or code changes 2021-11-30 22:54:15 +01:00
git.py feature(keyringctl): rework ci module to execute full lint for new certs 2021-11-30 22:54:16 +01:00
keyring.py Simplify libkeyringctl.keyring.convert_certificate 2021-11-30 22:54:16 +01:00
sequoia.py feature(keyringctl): verify file structure integrity and packets 2021-11-30 22:54:15 +01:00
trust.py chore(keyringctl): increase test coverage and fix trust expectations 2021-11-30 22:54:14 +01:00
types.py feature(keyringctl): verify file structure integrity and packets 2021-11-30 22:54:15 +01:00
util.py chore(keyringctl): add test for simplify_ascii 2021-11-30 22:54:16 +01:00
verify.py feature(keyringctl): rework str simplification for printable uids 2021-11-30 22:54:16 +01:00