From 51bf130397c9dbb7edb484e0b4a97ae2c5f204e6 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 17 Nov 2020 02:43:59 +0100 Subject: [PATCH] Require bundled version of openpgp --- src/claims.js | 2 +- src/keys.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/claims.js b/src/claims.js index e9f0f1d..814b96d 100644 --- a/src/claims.js +++ b/src/claims.js @@ -15,7 +15,7 @@ limitations under the License. */ const mergeOptions = require('merge-options') const validUrl = require('valid-url') -const openpgp = require('openpgp') +const openpgp = require('../node_modules/openpgp/dist/openpgp.min.js') const serviceproviders = require('./serviceproviders') const keys = require('./keys') const utils = require('./utils') diff --git a/src/keys.js b/src/keys.js index e3cd2e6..b0de886 100644 --- a/src/keys.js +++ b/src/keys.js @@ -16,7 +16,7 @@ limitations under the License. const bent = require('bent') const req = bent('GET') const validUrl = require('valid-url') -const openpgp = require('openpgp') +const openpgp = require('../node_modules/openpgp/dist/openpgp.min.js') const mergeOptions = require('merge-options') const fetchHKP = async (identifier, keyserverBaseUrl) => {