mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-12 11:39:23 +00:00
Don't return streams in openpgp.revokeKey()
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user