summaryrefslogtreecommitdiff
path: root/tests/test_openpgp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_openpgp.py')
-rw-r--r--tests/test_openpgp.py7
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':