mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
Fix HKP example
This commit is contained in:
parent
dfcb29b0d1
commit
cde83b5b90
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
const doip = require('../src')
|
||||
|
||||
const main = async () => {
|
||||
// Fetch the key using WKD
|
||||
const key = await doip.keys.fetchWKD("test@doip.rocks")
|
||||
// Fetch the key using HKP
|
||||
const key = await doip.keys.fetchHKP("test@doip.rocks")
|
||||
|
||||
// Process it to extract the UIDs and their claims
|
||||
const obj = await doip.keys.process(key)
|
||||
|
|
Loading…
Reference in a new issue