mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-16 03:06:38 +00:00
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…
x
Reference in New Issue
Block a user