mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 23:32:51 +00:00
Known S/MIME pubkey requires email addresses
This commit is contained in:
parent
b0be9f3e19
commit
fd9f9fb455
1 changed files with 1 additions and 1 deletions
|
@ -10135,9 +10135,9 @@ public class FragmentMessages extends FragmentBase
|
|||
};
|
||||
|
||||
if (s.verify(verifier)) {
|
||||
boolean known = true;
|
||||
String fingerprint = EntityCertificate.getFingerprintSha256(cert);
|
||||
List<String> emails = EntityCertificate.getEmailAddresses(cert);
|
||||
boolean known = !emails.isEmpty();
|
||||
for (String email : emails) {
|
||||
EntityCertificate record = db.certificate().getCertificate(fingerprint, email);
|
||||
if (record == null)
|
||||
|
|
Loading…
Reference in a new issue