Fix full test report

This commit is contained in:
s3lph 2022-04-18 22:12:27 +02:00
parent 3af4ffe36c
commit e7de1cb8b0

View file

@ -128,14 +128,14 @@ if msg2['Precedence'] != 'list':
exit(1)
gpg1 = subprocess.Popen(['/usr/bin/gpg2', '-d'],
stdin=msg1.get_payload()[1].get_payload(decode=True),
stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
gpg1o, _ = gpg2.communicate()
gpg1o, _ = gpg2.communicate(msg1.get_payload()[1].get_payload(decode=True))
print(f'Key conflict message (decrypted):\n{gpg1o}')
gpg2 = subprocess.Popen(['/usr/bin/gpg2', '-d'],
stdin=msg2.get_payload()[1].get_payload(decode=True),
stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
gpg1o, _ = gpg2.communicate()
gpg1o, _ = gpg2.communicate(msg2.get_payload()[1].get_payload(decode=True))
print(f'Admin report message (decrypted):\n{gpg2o}')
# Test conflict statefile