How to check that key is revoked? #1477
-
Note: I'm using Typescript. public isRevoked(signature: SignaturePacket, key?: AnyKeyPacket, date?: Date, config?: Config): Promise<boolean>; What is equivalent call to v5 function? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Looks like it still can be called with |
Beta Was this translation helpful? Give feedback.
-
Hi @IvanPizhenko , what's your use case? When trying to use the key, it internally checks whether the key is revoked. |
Beta Was this translation helpful? Give feedback.
-
@larabr The use case is here: |
Beta Was this translation helpful? Give feedback.
Looks like it still can be called with
signature === undefined
, but then why inopenpgp.d.ts
it is mandatory?I've ended up with editing
openpgp.d.ts
.