Merge 155a0e11d48eeb4df6e89430aa4085573df9b807 into 4290ea753912378913b1f3f54e0fc5720afeda5d
This commit is contained in:
commit
e415246d9d
@ -66,10 +66,9 @@ class PGPSign extends Operation {
|
|||||||
const privKey = await importPrivateKey(privateKey, passphrase);
|
const privKey = await importPrivateKey(privateKey, passphrase);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
signedMessage = await promisify(kbpgp.box)({
|
signedMessage = await promisify(kbpgp.clearsign)({
|
||||||
"msg": message,
|
"msg": message,
|
||||||
"sign_with": privKey,
|
"signing_key": privKey,
|
||||||
"asp": ASP
|
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw new OperationError(`Couldn't sign message: ${err}`);
|
throw new OperationError(`Couldn't sign message: ${err}`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user