Closed ezimuel closed 8 years ago
@paragonie-scott do you have time for a quick review? Thanks!
This looks good. It's essentially what EasyRSA tries to provide.
Since this is a new feature, I'd definitely advise forcing the use of OAEP.
@paragonie-scott thanks for your feedback! You right, I always forget OAEP :)
Overall, relatively straight-forward, and the code was mostly easy to follow. Nice feature, @ezimuel !
@paragonie-scott Btw, we already use OAEP as default padding for encryption using RSA, since zend-crypt 2.4.9 as reported in ZF2015-10.
@weierophinney I included all the proposed changes. It's ready to be merged, thanks!
Thanks for the great feature, @ezimuel!
This PR adds the hybrid cryptosystem support (OpenPGP like). It allows also multiple encryptions using a keyrings of public/private keys. This can be useful in multi users scenarios to encrypt data only for specific users.