Don't return streams in openpgp.revokeKey()

This commit is contained in:
Daniel Huigens 2018-11-05 11:11:57 +01:00
parent 3c45b6f18a
commit 2245df6023

View File

@ -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 {