mirror of
https://github.com/romanz/amodem.git
synced 2026-04-18 12:16:00 +08:00
gpg: re-structure public key packets for easier parsing
This commit is contained in:
@@ -110,4 +110,5 @@ def public_key_path(request):
|
||||
|
||||
|
||||
def test_gpg_files(public_key_path): # pylint: disable=redefined-outer-name
|
||||
decode.load_public_key(open(public_key_path, 'rb').read())
|
||||
with open(public_key_path, 'rb') as f:
|
||||
decode.parse_public_key(f)
|
||||
|
||||
Reference in New Issue
Block a user