mirror of
https://github.com/romanz/amodem.git
synced 2026-04-17 11:45:58 +08:00
gpg: remove complex pubkey parsing code
This commit is contained in:
@@ -120,5 +120,5 @@ def public_key_path(request):
|
||||
|
||||
def test_gpg_files(public_key_path): # pylint: disable=redefined-outer-name
|
||||
with open(public_key_path, 'rb') as f:
|
||||
keys = decode.parse_public_keys(f)
|
||||
assert len(keys) > 0
|
||||
packets = list(decode.parse_packets(f))
|
||||
assert len(packets) > 0
|
||||
|
||||
Reference in New Issue
Block a user