projects
/
edward.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a125e
)
remove note; pubkeys in encrypted text are useable
author
Andrew Engelbrecht
<sudoman@ninthfloor.org>
Mon, 3 Aug 2015 21:19:42 +0000
(17:19 -0400)
committer
Andrew Engelbrecht
<sudoman@ninthfloor.org>
Mon, 7 Dec 2015 18:29:54 +0000
(13:29 -0500)
if a new, unimported pubkey is contained in an ecrypted and signed block
of text, then that key can be used for the reply, as desired.
edward
patch
|
blob
|
blame
|
history
diff --git
a/edward
b/edward
index 2f659da7eb51e117e5c8fa322ccebe2c9fa339f8..0c3e4774d8ddf884033217b68e3f688e5dc2dfa3 100755
(executable)
--- a/
edward
+++ b/
edward
@@
-600,8
+600,6
@@
def gpg_on_payloads (eddymsg_obj, gpgme_ctx, prev_parts=[]):
# recurse!
piece.gpg_data.plainobj = parse_pgp_mime(plaintext, gpgme_ctx)
- # FIXME: consider handling pubkeys first, so that signatures can be
- # validated on freshly imported keys
elif piece.piece_type == TxtType.pubkey:
key_fps = add_gpg_key(piece.string, gpgme_ctx)