From 41b1d0767b1b5a5096a3036ccb6ab79a8974f5d3 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 8 Dec 2020 02:29:10 +0100 Subject: [PATCH] Fix support for specifying keyservers --- src/keys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keys.js b/src/keys.js index f4ad20d..431bbc8 100644 --- a/src/keys.js +++ b/src/keys.js @@ -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)