parent
f6ed024e36
commit
3cefd27163
|
@ -33,7 +33,7 @@ def public_keys( keyhome ):
|
||||||
if line[0:3] == 'uid' or line[0:3] == 'pub':
|
if line[0:3] == 'uid' or line[0:3] == 'pub':
|
||||||
if ('<' not in line or '>' not in line):
|
if ('<' not in line or '>' not in line):
|
||||||
continue
|
continue
|
||||||
email = line.split('<')[1].split('>')[0].lower()
|
email = line.split('<')[1].split('>')[0]
|
||||||
fingerprint = line.split(':')[4]
|
fingerprint = line.split(':')[4]
|
||||||
keys[fingerprint] = email
|
keys[fingerprint] = email
|
||||||
return keys
|
return keys
|
||||||
|
|
Loading…
Reference in New Issue