From e98cee4b4a6741532b63cd4454b4e7ed2029956b Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 5 Jul 2020 17:25:11 +0200 Subject: [PATCH] Fix keybase key fetching --- assets/scripts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/scripts.js b/assets/scripts.js index 82ef93b..5339c92 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -609,10 +609,9 @@ async function fetchKeys(opts) { return response; } }) - .then(response => response.blob()) .then(response => response.text()); } catch (e) { - throw("Error: No public keys could be fetched from the Keybase account."); + throw(`Error: No public keys could be fetched from the Keybase account (${e}).`); } output.publicKey = (await openpgp.key.readArmored(opts.plaintext)).keys[0];