projects
/
pgp-mime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1048b30
)
key: add a UserID.uid doctest to ensure proper XML unescaping.
author
W. Trevor King
<wking@tremily.us>
Sat, 6 Oct 2012 15:22:37 +0000
(11:22 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sat, 6 Oct 2012 15:22:37 +0000
(11:22 -0400)
pgp_mime/key.py
patch
|
blob
|
history
diff --git
a/pgp_mime/key.py
b/pgp_mime/key.py
index 7aa1c8a2310044700708a5501e35faa09ec5cf8a..3a5ab48545345cd391c5f1cde4c0fdac794ac09b 100644
(file)
--- a/
pgp_mime/key.py
+++ b/
pgp_mime/key.py
@@
-125,6
+125,8
@@
def lookup_keys(patterns=None):
[<SubKey 4332B6E3>, <SubKey 2F73DE2E>]
>>> key.uids
[<UserID pgp-mime-test>]
+ >>> key.uids[0].uid
+ 'pgp-mime-test (http://blog.tremily.us/posts/pgp-mime/) <pgp-mime@invalid.com>'
>>> key.can_encrypt
True
>>> key.protocol