Closed TonyHoyle closed 11 years ago
The key parser doesn't work with gpg keys with multiple emails, as the regexp matches the last uid not the first one.
The fix is a simple regexp change:
- result = re.search(r'(Key fingerprint = )(.+)(\nuid)', fingerprintData, re.DOTALL) + result = re.search(r'(Key fingerprint = )(.+?)(\nuid)', fingerprintData, re.DOTALL)
The key parser doesn't work with gpg keys with multiple emails, as the regexp matches the last uid not the first one.
The fix is a simple regexp change: