We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c2cb8 commit cae5e24Copy full SHA for cae5e24
lib/resolver.js
@@ -48,7 +48,7 @@ export function addCachedKeys(newIssuerSet) {
48
for (const [iss, value] of Object.entries(newIssuerSet)) {
49
value.keys.forEach(key => {
50
TRUST_REGISTRY[iss + "#" + key.kid] = {
51
- "displayName": { "en": "Untrusted Issuer: " + iss.replace("https://", "") },
+ "displayName": { "en": "Untrusted URL: " + iss.replace("https://", "") },
52
"entityType": "issuer",
53
"status": "untrusted",
54
"validFromDT": "2021-01-01T01:00:00.000Z",
@@ -78,7 +78,7 @@ export async function resolveKey(iss, kID) {
78
LAST_FETCH = new Date();
79
}
80
81
- if (TRUST_REGISTRY[kidIndex] && TRUST_REGISTRY[kidIndex].status == "current") {
+ if (TRUST_REGISTRY[kidIndex]) {
82
return TRUST_REGISTRY[kidIndex];
83
84
0 commit comments