Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ should mention sealed boxes #229

Open
plujon opened this issue May 19, 2023 · 2 comments
Open

FAQ should mention sealed boxes #229

plujon opened this issue May 19, 2023 · 2 comments

Comments

@plujon
Copy link

plujon commented May 19, 2023

https://github.com/RubyCrypto/rbnacl/wiki/Frequently-Asked-Questions states:

Q: Is there any way to decrypt a Crypto::Box message with only a private key without requiring the public key of the sender?

A: No, and there never will be. This is an integral part of how the Curve25519 algorithm operates, and the mutual authentication it provides is a design principle you should consider whenever using public key cryptography.

A SealedBox allows one to decrypt a box with only a private key and without the public key of the sender, does it not? Do I misunderstand what this FAQ is about?

@tarcieri
Copy link
Contributor

Yes, the FAQ is wrong there. Want to open a PR?

@plujon
Copy link
Author

plujon commented May 19, 2023

Sorry, I'm a little clueless as far as github goes. Is it possible to open a PR against a github wiki page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants