summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--revoke_crt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/revoke_crt.py b/revoke_crt.py
index 2f37524..9897021 100644
--- a/revoke_crt.py
+++ b/revoke_crt.py
@@ -28,7 +28,7 @@ def revoke_crt(pubkey, crt):
# Step 1: Get account public key
sys.stderr.write("Reading pubkey file...\n")
proc = subprocess.Popen(["openssl", "rsa", "-pubin", "-in", pubkey, "-noout", "-text"],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ stdout=subprocess.PIPE, universal_newlines=True)
out, err = proc.communicate()
if proc.returncode != 0:
raise IOError("Error loading {0}".format(pubkey))