Check public key email using ignore case sensitivity

pull/188/head
Julian Raufelder 4 years ago
parent ceb00f7d91
commit 5fb3691c23
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

@ -2731,7 +2731,7 @@ public class FragmentCompose extends FragmentBase {
boolean known = false;
List<String> emails = EntityCertificate.getEmailAddresses(chain[0]);
for (String email : emails)
if (email.equals(identity.email)) {
if (email.equalsIgnoreCase(identity.email)) {
known = true;
break;
}

Loading…
Cancel
Save