Repository navigation
openssl_3_5: disable afalg engine - #579040
Merged
Merged
Conversation
nixpkgs-ci
Bot
requested review from
a team,
pyrox0 and
thillux
and removed request for
a team
October 26, 2026 01:48
5 of 13 tasks
Contributor
|
I'd prefer to just disable the engine for OpenSSL < 4.0. Like: @@ -228,7 +219,11 @@ let
# We select KTLS here instead of the configure-time detection (which we patch out).
# KTLS should work on FreeBSD 13+ as well, so we could enable it if someone tests it.
++ lib.optional (lib.versionAtLeast version "3.0.0" && enableKTLS) "enable-ktls"
- ++ lib.optional (lib.versionAtLeast version "1.1.1" && stdenv.hostPlatform.isAarch64) "no-afalgeng"
+ # Linux kernel starting with 7.3 restricts the access to AF_ALG
+ # and probably will drop this interface in the future.
+ # 4.0 and above dropped it along with engine support in
+ # https://github.com/openssl/openssl/commit/2db3f8cf8b432f0c39b619dd92269a732256449e
+ ++ lib.optional (lib.versionOlder version "4.0") "no-afalgeng"
# OpenSSL needs a specific `no-shared` configure flag.
# See https://wiki.openssl.org/index.php/Compilation_and_Installation#Configure_Options
# for a comprehensive list of configuration options. |
whispersofthedawn
force-pushed
the
p/openssl/afalg-test
branch
from
October 26, 2026 12:32
c1511bf to
4af8ab8
Compare
the linux kernel starting at 7.3 restricts access to AF_ALG and probably will drop this interface in the future. 4.0 and above dropped it along with engine support in openssl/openssl@2db3f8c. this seems extremely unlikely to cause breakage, as this is a nichely used API which was already linux-only and we had disabled on aarch64-linux as well. Co-authored-by: Markus Theil <[email protected]>
whispersofthedawn
force-pushed
the
p/openssl/afalg-test
branch
from
October 26, 2026 12:35
4af8ab8 to
629ce2a
Compare
Contributor
Author
|
oh, i completely missed that we did that already for aarch64-linux. makes sense to me, applied. thanks! (i was initially worried about breakage when i saw your comment, but the fact that this is already a niche api, broken on some configurations (kernel 7.3+ or restricted crypto user api), and was disabled on our of our two major linux platforms gives me enough confidence that that's unlikely to be a problem.) |
uninsane
approved these changes
Oct 29, 2026
This was referenced Oct 29, 2026
4 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this test is dependent on properties of the build kernel. it seems that additional restrictions to af_alg in kernel 7.3 are causing this test to fail. upstream dropped this test with the removal of engine support in openssl v4, so let's just disable this test for now to work around the issue.
failure logs:
full: openssl-3.5.9.log
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.