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

crypto: Handle EVP changes in OpenSSL 3 #256

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Conversation

frozencemetery
Copy link
Member

OpenSSL 3 changes the padding behavior of EVP_DecryptFinal_ex(), which
causes our decryption to fail. It is the opnion of the OpenSSL
developers that mod_auth_gssapi's use of this function was incorrect.

Patch suggested by Tomáš Mráz.

Related: openssl/openssl#16351

Signed-off-by: Robbie Harwood rharwood@redhat.com

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
OpenSSL 3 changes the padding behavior of EVP_DecryptFinal_ex(), which
causes our decryption to fail.  It is the opnion of the OpenSSL
developers that mod_auth_gssapi's use of this function was incorrect.

Patch suggested by Tomáš Mráz.

Related: openssl/openssl#16351

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
@simo5
Copy link
Contributor

simo5 commented Aug 24, 2021

Yeah definitely a bug on our side which we never fell for before because OpenSSL 1.1.1 basically never deferred filling the buffer till the Final call ...

@simo5 simo5 merged commit 06d1f7d into gssapi:master Aug 24, 2021
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

Successfully merging this pull request may close these issues.

2 participants