This website works better with JavaScript.
Home
Help
Register
Sign In
david
/
ImportFromEnigmail
forked from
pEp.foundation/ImportFromEnigmail
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
enigmail.pubkey_iterator() for key_import()
master
Volker Birk
2 years ago
parent
875d39cfca
commit
d42e9892d6
2 changed files
with
8 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
enigmail.py
+2
-3
pEp_import.py
+ 6
- 0
enigmail.py
View File
@ -91,3 +91,9 @@ def secret(fpr):
def
identities
(
)
:
return
thunderbird
.
identities
(
thunderbird_base
)
def
pubkey_iterator
(
)
:
for
x
in
command
(
'
--list-key
'
)
:
if
x
[
0
]
==
'
pub
'
:
yield
keydata
(
x
[
4
]
)
+ 2
- 3
pEp_import.py
View File
@ -11,6 +11,5 @@ import enigmail
own_pgp_keys
=
enigmail
.
own_pgp_keys
(
)
identities
=
enigmail
.
identities
(
)
print
own_pgp_keys
print
print
identities
for
key
in
enigmail
.
pubkey_iterator
(
)
:
pass
Write
Preview
Loading…
Cancel
Save