Added insecure warning to import card
This commit is contained in:
1 parent
015ef4aaae
commit
ba1bd8d48a
9 files changed
+44
-20
No files matched your search
@@ -98,7 +98,7 @@ public class EmailKeyHelper {
|
||||
Set<ImportKeysListEntry> keys = new HashSet<>();
|
||||
try {
|
||||
for (ImportKeysListEntry key : keyServer.search(mail, proxy)) {
|
||||
if (key.isRevokedOrExpired()) continue;
|
||||
if (key.isRevokedOrExpiredOrInsecure()) continue;
|
||||
for (String userId : key.getUserIds()) {
|
||||
if (userId.toLowerCase().contains(mail.toLowerCase(Locale.ENGLISH))) {
|
||||
keys.add(key);
|
||||
|
||||
Reference in new issue
Block a user