forked from Mirrors/keyoxide-web
Limit proofs to proof@metacode.biz as per standard
This commit is contained in:
parent
a99e076f38
commit
ea5cddbf66
1 changed files with 2 additions and 4 deletions
|
@ -154,7 +154,7 @@ async function verifyProofs(opts) {
|
||||||
let notation, isVerified, verifications = [];
|
let notation, isVerified, verifications = [];
|
||||||
for (var i = 0; i < keyData.notations.length; i++) {
|
for (var i = 0; i < keyData.notations.length; i++) {
|
||||||
notation = keyData.notations[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));
|
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++) {
|
for (var i = 0; i < keyData.notations.length; i++) {
|
||||||
notation = keyData.notations[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));
|
verifications.push(await verifyProof(notation[1], keyData.fingerprint));
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(keyData);
|
|
||||||
|
|
||||||
// Generate feedback
|
// Generate feedback
|
||||||
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
|
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
|
||||||
feedback += `<div class="profileDataItem__label"></div>`;
|
feedback += `<div class="profileDataItem__label"></div>`;
|
||||||
|
|
Loading…
Reference in a new issue