GnuPG2.x listed keys are now properly interpreted.
pull/33/head
Igor Rzegocki 10 years ago
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…
Cancel
Save