forked from Disroot/gpg-lacre
parent
078381c2dd
commit
d6aaa9f243
|
@ -8,6 +8,8 @@ def public_keys( keyhome ):
|
|||
keys = list()
|
||||
for line in p.stdout.readlines():
|
||||
if line[0:3] == 'uid' or line[0:3] == 'pub':
|
||||
if ('<' not in line or '>' not in line):
|
||||
continue
|
||||
key = line.split('<')[1].split('>')[0]
|
||||
if keys.count(key) == 0:
|
||||
keys.append(key)
|
||||
|
|
Loading…
Reference in New Issue