From 99a1108338efeabae8b4b250598daf1c86cd189f Mon Sep 17 00:00:00 2001 From: fkrone Date: Sat, 14 Feb 2015 16:03:30 +0100 Subject: [PATCH] Bugfix for commit before: Make check for keys in keymap case insensitive --- GnuPG/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnuPG/__init__.py b/GnuPG/__init__.py index 595838e..9a40f60 100644 --- a/GnuPG/__init__.py +++ b/GnuPG/__init__.py @@ -33,7 +33,7 @@ def public_keys( keyhome ): if line[0:3] == 'uid' or line[0:3] == 'pub': if ('<' not in line or '>' not in line): continue - email = line.split('<')[1].split('>')[0] + email = line.split('<')[1].split('>')[0].lower() fingerprint = line.split(':')[4] keys[fingerprint] = email return keys