Don't return streams in openpgp.revokeKey()
This commit is contained in:
parent
3c45b6f18a
commit
2245df6023
|
@ -204,7 +204,8 @@ export function revokeKey({
|
|||
} else {
|
||||
return key.revoke(reasonForRevocation);
|
||||
}
|
||||
}).then(key => {
|
||||
}).then(async key => {
|
||||
await convertStreams(key);
|
||||
if (key.isPrivate()) {
|
||||
const publicKey = key.toPublic();
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue
Block a user