diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-01-22 09:31:32 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-01-22 09:32:24 +0100 |
commit | 9f57167b0cacf9fff0c23275fdb0666ebfc2be57 (patch) | |
tree | 15f38c25599ceb461cb2bb9c64a778e4b7e10629 /tests | |
parent | d3c62180624d627dae583efe23fd4f0427eaf055 (diff) | |
download | gemato-9f57167b0cacf9fff0c23275fdb0666ebfc2be57.tar.gz |
openpgp: Store all verification results in OpenPGPSignatureData
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_openpgp.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_openpgp.py b/tests/test_openpgp.py index 2b14dcf..e29dbed 100644 --- a/tests/test_openpgp.py +++ b/tests/test_openpgp.py @@ -36,6 +36,7 @@ from gemato.openpgp import ( get_wkd_url, OpenPGPSignatureList, OpenPGPSignatureData, + OpenPGPSignatureStatus, ) from gemato.recursiveloader import ManifestRecursiveLoader @@ -420,15 +421,17 @@ def assert_signature(sig: OpenPGPSignatureList, fingerprint=SECOND_KEY_FINGERPRINT, timestamp=datetime.datetime(2023, 1, 21, 17, 16, 24), primary_key_fingerprint=SECOND_KEY_FINGERPRINT, - good_sig=True, + sig_status=OpenPGPSignatureStatus.GOOD, trusted_sig=True, + valid_sig=True, ), OpenPGPSignatureData( fingerprint=KEY_FINGERPRINT, timestamp=datetime.datetime(2023, 1, 21, 17, 14, 44), primary_key_fingerprint=KEY_FINGERPRINT, - good_sig=True, + sig_status=OpenPGPSignatureStatus.GOOD, trusted_sig=True, + valid_sig=True, ), ] elif manifest_var == 'SUBKEY_SIGNED_MANIFEST': |