rbnacl icon indicating copy to clipboard operation
rbnacl copied to clipboard

FAQ should mention sealed boxes

Open plujon opened this issue 2 years ago • 2 comments

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?

plujon avatar May 19 '23 17:05 plujon

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

tarcieri avatar May 19 '23 19:05 tarcieri

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

plujon avatar May 19 '23 23:05 plujon