Compare commits
1 Commits
lookup-vis
...
dont-leak-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c1ddb4e21 |
@@ -136,10 +136,12 @@ class HKP {
|
|||||||
ctx.body = `info:${VERSION}:${COUNT}\npub:${fp}:${algo}:${key.keySize}:${created}::\n`;
|
ctx.body = `info:${VERSION}:${COUNT}\npub:${fp}:${algo}:${key.keySize}:${created}::\n`;
|
||||||
|
|
||||||
for (const uid of key.userIds) {
|
for (const uid of key.userIds) {
|
||||||
|
if(uid.verified) {
|
||||||
ctx.body += `uid:${encodeURIComponent(`${uid.name} <${uid.email}>`)}:::\n`;
|
ctx.body += `uid:${encodeURIComponent(`${uid.name} <${uid.email}>`)}:::\n`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = HKP;
|
module.exports = HKP;
|
||||||
|
|||||||
Reference in New Issue
Block a user