Check public key email using ignore case sensitivity

This commit is contained in:
Julian Raufelder 2020-11-14 15:23:01 +01:00
parent ceb00f7d91
commit 5fb3691c23
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D
1 changed files with 1 additions and 1 deletions

View File

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