fixed potential string decoding bug
authorAndrew Engelbrecht <andrew@localhost.localdomain>
Sun, 19 Jul 2015 04:46:45 +0000 (00:46 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 7 Dec 2015 17:46:48 +0000 (12:46 -0500)
edward-bot

index a729830392f40844a693d7751aa1dd5658986b09..e7163bb9b4529356039bfe32a74f58d799922e78 100755 (executable)
@@ -197,7 +197,7 @@ def decrypt_chunk (gpg_chunk):
 
     sigs = gpgme_ctx.decrypt_verify(chunk_b, plain_b)
 
-    plaintext = plain_b.getvalue().decode('ASCII')
+    plaintext = plain_b.getvalue().decode('UTF-8')
     return (plaintext, sigs)