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);
|
||||
|
||||
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}`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user