projects
/
edward.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff4ef5b
)
fixed potential string decoding bug
author
Andrew Engelbrecht
<andrew@localhost.localdomain>
Sun, 19 Jul 2015 04:46:45 +0000
(
00:46
-0400)
committer
Andrew Engelbrecht
<sudoman@ninthfloor.org>
Mon, 7 Dec 2015 17:46:48 +0000
(12:46 -0500)
edward-bot
patch
|
blob
|
blame
|
history
diff --git
a/edward-bot
b/edward-bot
index a729830392f40844a693d7751aa1dd5658986b09..e7163bb9b4529356039bfe32a74f58d799922e78 100755
(executable)
--- a/
edward-bot
+++ b/
edward-bot
@@
-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)