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

Alpine 3.19.2/openssl 3.1.6 and alpine 3.20 has FIPS broken for nginx. #406

Closed
oxpa opened this issue Jul 9, 2024 · 2 comments
Closed

Comments

@oxpa
Copy link

oxpa commented Jul 9, 2024

Hello,

I'm using this dockerfile to build openssl FIPS (the latest approved module 3.0.9 and it is used with newer openSSLs).

I wrote a simple test application https://gist.github.com/oxpa/4fb1619513d350250b4d4e363ad611fa (which is more or less copypaste from nginx). The application can be built and works for alpine 3.19.1 with and without FIPS module enabled.
But when run with 3.19-stable or 3.20 and FIPS enabled - the application fails with "add1 hkdf info failed" message.

Looking through changelog from openssl 3.1.4 to 3.1.6 I found this issue: openssl/openssl#23448 .
If I build openssl with the patch reverted then the test application works well.

I ran into this issue with only alpine, probably, because alpine has the most fresh openssl or all OSs I'm using.
I'm not sure if the issue is fixed in the latest openssl. Just to be sure, I'll create a similar issue with openssl and leave it here in a comment.
Finally, I'm not quite sure you can fix the issue but I hope seeing this issue may help others

Cheers.

@oxpa
Copy link
Author

oxpa commented Jul 9, 2024

As pointed out in the openssl issue: applying the patch from openssl/openssl#24661 fixes the issue.

@oxpa
Copy link
Author

oxpa commented Jul 11, 2024

Firstly, this is a wrong place to report the issue.
Secondly, it was fixed at https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69059

@oxpa oxpa closed this as completed Jul 11, 2024
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

1 participant