diff --git a/src/core/operations/PGPSign.mjs b/src/core/operations/PGPSign.mjs index e3063d89..f56052d0 100644 --- a/src/core/operations/PGPSign.mjs +++ b/src/core/operations/PGPSign.mjs @@ -66,10 +66,9 @@ class PGPSign extends Operation { const privKey = await importPrivateKey(privateKey, passphrase); try { - signedMessage = await promisify(kbpgp.box)({ + signedMessage = await promisify(kbpgp.clearsign)({ "msg": message, - "sign_with": privKey, - "asp": ASP + "signing_key": privKey, }); } catch (err) { throw new OperationError(`Couldn't sign message: ${err}`);