Skip to content

Commit cae5e24

Browse files
committed
Activating terminated and verified issuers
1 parent 36c2cb8 commit cae5e24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/resolver.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function addCachedKeys(newIssuerSet) {
4848
for (const [iss, value] of Object.entries(newIssuerSet)) {
4949
value.keys.forEach(key => {
5050
TRUST_REGISTRY[iss + "#" + key.kid] = {
51-
"displayName": { "en": "Untrusted Issuer: " + iss.replace("https://", "") },
51+
"displayName": { "en": "Untrusted URL: " + iss.replace("https://", "") },
5252
"entityType": "issuer",
5353
"status": "untrusted",
5454
"validFromDT": "2021-01-01T01:00:00.000Z",
@@ -78,7 +78,7 @@ export async function resolveKey(iss, kID) {
7878
LAST_FETCH = new Date();
7979
}
8080

81-
if (TRUST_REGISTRY[kidIndex] && TRUST_REGISTRY[kidIndex].status == "current") {
81+
if (TRUST_REGISTRY[kidIndex]) {
8282
return TRUST_REGISTRY[kidIndex];
8383
}
8484

0 commit comments

Comments
 (0)