Pretty "long id" function

The long id is simply the last 16 characters (64 bits) of the
key's fingerprint.
This commit is contained in:
David Duque 2021-02-07 13:16:51 +00:00
parent 1d657191eb
commit 25bd251d10
No known key found for this signature in database
GPG key ID: 2F327738A3C0AE3A

View file

@ -95,6 +95,14 @@
</table>
<script>
function pretty_long_id(fpr) {
let plid = ""
for (let i = 6; i < 10; ++i) {
plid += `${fpr.substring(i * 4, (i + 1) * 4)} `
}
return plid.substring(0, plid.length - 1)
}
function generate_wkd_dropdowns(wkd_info) {
console.log("TODO")
}