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

Properly support all RSA ciphers #1

Open
taylorconor opened this issue Oct 21, 2017 · 0 comments
Open

Properly support all RSA ciphers #1

taylorconor opened this issue Oct 21, 2017 · 0 comments

Comments

@taylorconor
Copy link
Owner

taylorconor commented Oct 21, 2017

Currently there is no support for ciphers which require an IV. In rsa.cpp we call EVP_get_cipherbyname to convert the user-specified cipher name into an OpenSSL EVP_CIPHER. If this EVP_CIPHER is one which requires more than just a password (one that also requires an IV) the encryption will fail.

DoD: RSA::write_to_file supports all ciphers in EVP_get_cipherbyname, and there are tests for this in rsa_test.cpp.

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

No branches or pull requests

1 participant