diff --git a/test/report.py b/test/report.py index 7e8f2d8..aa8872b 100755 --- a/test/report.py +++ b/test/report.py @@ -130,7 +130,7 @@ if msg2['Precedence'] != 'list': gpg1 = subprocess.Popen(['/usr/bin/gpg', '-d'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) -gpg1o, _ = gpg2.communicate(msg1.get_payload()[1].get_payload(decode=True)) +gpg1o, _ = gpg1.communicate(msg1.get_payload()[1].get_payload(decode=True)) print(f'Key conflict message (decrypted):\n{gpg1o}') gpg2 = subprocess.Popen(['/usr/bin/gpg', '-d'], stdin=subprocess.PIPE,