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