Error: Error encrypting message: No keys, passwords, or session key provided. #1367
Unanswered
adrian-badulescu
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @adrian-badulescu , |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I'm trying to do:
get some Azure storage blobs from container DIDE and encrypt them with RSA 2048 and upload them in other container called encrypted-dide
These blobs are downloaded through a stream and recomposed by func. streamToString(readableStream)
(I'm not using streams openpgp Js streams, as I don't know if Microsoft streams are the same with NodeJs ones)
the publicKey is harcoded in the file keys.js and and is:
until here my code works as I have done tests with not encrypted text
I have followed the official documentation of openpgp js and some Internet resources.
The error I am getting is: Error: Parameter [message] needs to be of type Message
The code is:
Beta Was this translation helpful? Give feedback.
All reactions