How to read revocation certificate from stream? #1478
Unanswered
IvanPizhenko
asked this question in
Q&A
Replies: 2 comments 8 replies
-
I've found out that library still include |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @IvanPizhenko , v5 no longer exports the stream utilities, you need to install the web-stream-tools separately. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note: I'm using Typescript.
Warning: I'm quite new to openpgp.js and may ask questions that are obvious for more experienced people.
I'm trying to port an application that uses openpgp.js v4 to v5.
Function
Key.getRevocationCertificate()
returns either string or stream:From
openpgp.d.ts
:Openpgp v4 have had function
stream.readToEnd()
which allowed to read stream completely. v5 doesn't have it. What is equivalent for v5?Beta Was this translation helpful? Give feedback.
All reactions