forked from Mirrors/doipjs
Fix support for specifying keyservers
This commit is contained in:
parent
bcd38922af
commit
41b1d0767b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const mergeOptions = require('merge-options')
|
|||
const fetchHKP = (identifier, keyserverBaseUrl) => {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
keyserverBaseUrl = keyserverBaseUrl
|
||||
? keyserverBaseUrl
|
||||
? `https://${keyserverBaseUrl}/`
|
||||
: 'https://keys.openpgp.org/'
|
||||
|
||||
const hkp = new openpgp.HKP(keyserverBaseUrl)
|
||||
|
|
Loading…
Reference in a new issue