From ea5cddbf669b66bad091dadb89bec093c4e6c207 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 28 Jun 2020 13:55:06 +0200 Subject: [PATCH] Limit proofs to proof@metacode.biz as per standard --- assets/scripts.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/assets/scripts.js b/assets/scripts.js index 1f89810..07f5cc3 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -154,7 +154,7 @@ async function verifyProofs(opts) { let notation, isVerified, verifications = []; for (var i = 0; i < keyData.notations.length; i++) { notation = keyData.notations[i]; - if (!(notation[0] == "proof@keyoxide.org" || notation[0] == "proof@metacode.biz")) { continue; } + if (notation[0] == "proof@metacode.biz") { continue; } verifications.push(await verifyProof(notation[1], keyData.fingerprint)); } @@ -187,12 +187,10 @@ async function displayProfile(opts) { for (var i = 0; i < keyData.notations.length; i++) { notation = keyData.notations[i]; - if (!(notation[0] == "proof@keyoxide.org" || notation[0] == "proof@metacode.biz")) { continue; } + if (notation[0] == "proof@metacode.biz") { continue; } verifications.push(await verifyProof(notation[1], keyData.fingerprint)); } - console.log(keyData); - // Generate feedback feedback += `
`; feedback += `
`;