Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Nov 15, 2023
1 parent fd1e221 commit 6583954
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/tests/cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4160,9 +4160,14 @@ def test_sym_encryption__rnp_aead(self):
AEAD_M = list_upto(AEADS, Encryption.RUNS)
AEAD_B = list_upto([None, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16], Encryption.RUNS)

dst, = reg_workfiles('cleartext', '.txt')
rnp_decrypt_file(data_path('test_messages/message.aead-windows-issue'), dst)
remove_files(dst)
rnp_decrypt_file(data_path('test_messages/message.aead-windows-issue2'), dst)
remove_files(dst)
# Encrypt and decrypt cleartext using the AEAD
for _ in range(4):
rnp_sym_encryption_rnp_aead(250000, 'AES', None, [None, None], GPG_AEAD)
#for _ in range(4):
# rnp_sym_encryption_rnp_aead(250000, 'AES', None, [None, None], GPG_AEAD)
#for _ in range(16):
# rnp_sym_encryption_rnp_aead(250000, 'AES256', ['zlib'], [None, None], GPG_AEAD)
#for _ in range(16):
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 6583954

Please sign in to comment.