diff --git a/test/report.py b/test/report.py index 94480d9..7e8f2d8 100755 --- a/test/report.py +++ b/test/report.py @@ -127,12 +127,12 @@ if msg2['Precedence'] != 'list': print(f'Expected "Precedence: list", got {msg2["Precedence"]}') exit(1) -gpg1 = subprocess.Popen(['/usr/bin/gpg2', '-d'], +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)) print(f'Key conflict message (decrypted):\n{gpg1o}') -gpg2 = subprocess.Popen(['/usr/bin/gpg2', '-d'], +gpg2 = subprocess.Popen(['/usr/bin/gpg', '-d'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) gpg1o, _ = gpg2.communicate(msg2.get_payload()[1].get_payload(decode=True))