diff --git a/server/index.js b/server/index.js index 4015959..883c422 100644 --- a/server/index.js +++ b/server/index.js @@ -37,6 +37,7 @@ const generateWKDProfile = async (id) => { let keyData = await doip.keys.process(key.publicKey) keyData.key.fetchMethod = 'wkd' keyData.key.uri = key.fetchURL + keyData.key.data = null keyData = processKeyData(keyData) return { @@ -62,6 +63,7 @@ const generateHKPProfile = async (id, keyserverDomain) => { let keyData = await doip.keys.process(key.publicKey) keyData.key.fetchMethod = 'hkp' keyData.key.uri = key.fetchURL + keyData.key.data = null keyData = processKeyData(keyData) return { @@ -86,6 +88,7 @@ const generateSignatureProfile = async (signature) => { .then(async key => { let keyData = key.keyData delete key.keyData + keyData.key.data = null keyData = processKeyData(keyData) return { @@ -111,6 +114,7 @@ const generateKeybaseProfile = async (username, fingerprint) => { let keyData = await doip.keys.process(key.publicKey) keyData.key.fetchMethod = 'hkp' keyData.key.uri = key.fetchURL + keyData.key.data = null keyData = processKeyData(keyData) return {