Replies: 2 comments 1 reply
-
See #1305 (comment) . |
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay, so just to clarify the root cause of this issue in order to help other understanding this let me share my conclusion. According to the message format expected in readMessage it must be
make sense? thanks @larabr ! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
openpgp: ^5.11.1
@types/openpgp: ^4.4.22
@openpgp/web-stream-tools: 0.0.11
Node.js: v16.20.2
I'm trying to decrypt a file but the
readMessage()
fails reading a encrypted file streamError: Misformed armored text
.It works to encrypt a stream and immediately decrypt it, as shown at this example, but if it has to be stored and then decrypted it doesn't work.
How can we make it works to decrypt from an encrypted file stream?
I created a code sample which you can run to test this issue: https://github.com/jeff-pal/openpgp-debug/blob/main/src/index.ts
Beta Was this translation helpful? Give feedback.
All reactions