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:
parent
1d657191eb
commit
25bd251d10
1 changed files with 8 additions and 0 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue