-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
nixos/security/ca: enable support for compatibility bundles #286857
Merged
Merged
Conversation
This file contains 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
RaitoBezarius
requested review from
ajs124,
lukegb and
mweinelt
as code owners
February 7, 2024 01:05
github-actions
bot
added
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
8.has: module (update)
This PR changes an existing module in `nixos/`
labels
Feb 7, 2024
https://github.com/lukegb/buildcatrust/releases/tag/v0.2.0 https://github.com/lukegb/buildcatrust/releases/tag/v0.2.1 It contains support for exporting the bundle without additional trust rules. Signed-off-by: Raito Bezarius <[email protected]>
RaitoBezarius
force-pushed
the
cacerts
branch
from
February 11, 2024 15:04
6d58605
to
955291c
Compare
I will retarget staging. |
lukegb
reviewed
Feb 11, 2024
lukegb
approved these changes
Feb 11, 2024
RaitoBezarius
force-pushed
the
cacerts
branch
from
February 11, 2024 15:11
955291c
to
2f1d3e7
Compare
You missed a reference to |
Certain software stacks have no support for OpenSSL non-standard PEM format and will fail to use our NixOS CA bundle. For this, it is necessary to fallback on a 'compatibility' bundle which will contain no additional trust rules. Signed-off-by: Raito Bezarius <[email protected]>
RaitoBezarius
force-pushed
the
cacerts
branch
from
February 11, 2024 16:51
2f1d3e7
to
19159a2
Compare
"I had one job" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
6.topic: python
8.has: module (update)
This PR changes an existing module in `nixos/`
10.rebuild-darwin: 501+
10.rebuild-darwin: 5001+
10.rebuild-darwin-stdenv
This PR causes stdenv to rebuild
10.rebuild-linux: 501+
10.rebuild-linux: 5001+
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.
Description of changes
Certain software stacks have no support for OpenSSL non-standard PEM format and will fail to use our NixOS CA bundle.
For this, it is necessary to fallback on a 'compatibility' bundle, which will contain no additional trust rules.
Open questions:
cacert
package level to save on space?Depends on lukegb/buildcatrust#4.Depends on stable release of buildcatrust.Closes #286722.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.