elastic / elastic/request-crypto

Basic questions about the library

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
Avg merge
17h 57m
Merged PRs (30d)
1

Description

Hi team!
I'm sorry to make noise here, but I couldn't figure out another way to reach you (mailing elastic directly seemed an overkill) 😅
I am preparing an article where I am leaning about data encryption basing on your library and to sum up my findings, I have created a flow.
My main request would be: could anyone took a look at it and confirm that it is correct and I did not misunderstood anything? I would hate to spread false knowledge (I'm living the direct link, the comments there are enabled).

Link: https://whimsical.com/request-cryptography-library-flow-KSi5XkkYErzoTwxWLX2NYR
![Screenshot 2022-03-28 at 16 49 22 (2)](https://user-images.githubusercontent.com/31814183/160425913-0e1331c7-91fe-4764-b1bf-48b2f97ac1fe.png)

My side extra request would be clearning below sentence if someone has enough time:
> Receiver decrypts AES key using the private key that corresponds to the public key used for encryption

I do not grasp how the Receiver knows the value of the public key? Seems to me that the only two thing it gets from the Mediator is the encrypted AES key and the encrypted payload 🤔

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.