Skip to content

guardian-agent: remove#318616

Merged
katexochen merged 1 commit intoNixOS:masterfrom
msanft:guardian-agent/build-go-module
Jun 13, 2024
Merged

guardian-agent: remove#318616
katexochen merged 1 commit intoNixOS:masterfrom
msanft:guardian-agent/build-go-module

Conversation

@msanft
Copy link
Contributor

@msanft msanft commented Jun 9, 2024

Description of changes

Guardian-agent relies on a vendored fork of golang.org/x/crypto that's seven years old, hasn't been updated since, and thus is vulnerable to numerous security vulnerabilities. Especially as it's security-critical software, we should not keep it in nixpkgs.

Also relevant for #318069

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@msanft msanft requested a review from katexochen June 9, 2024 20:02
@msanft msanft added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Jun 9, 2024
@katexochen katexochen mentioned this pull request Jun 9, 2024
35 tasks
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 9, 2024
Signed-off-by: Moritz Sanft <[email protected]>
@msanft msanft force-pushed the guardian-agent/build-go-module branch from b2c5e50 to 422b1fd Compare June 11, 2024 16:10
@msanft msanft requested a review from AndersonTorres June 11, 2024 16:10
@katexochen katexochen requested a review from mmahut June 11, 2024 19:10
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 11, 2024
@katexochen katexochen added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jun 13, 2024
@katexochen katexochen merged commit b78c0b9 into NixOS:master Jun 13, 2024
@github-actions
Copy link
Contributor

Backport failed for release-23.11, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-23.11
git worktree add -d .worktree/backport-318616-to-release-23.11 origin/release-23.11
cd .worktree/backport-318616-to-release-23.11
git switch --create backport-318616-to-release-23.11
git cherry-pick -x 422b1fdfd0fc57fc5fdb5dfaa2c8e0f49ad78d88

1 similar comment
@github-actions
Copy link
Contributor

Backport failed for release-23.11, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-23.11
git worktree add -d .worktree/backport-318616-to-release-23.11 origin/release-23.11
cd .worktree/backport-318616-to-release-23.11
git switch --create backport-318616-to-release-23.11
git cherry-pick -x 422b1fdfd0fc57fc5fdb5dfaa2c8e0f49ad78d88

@github-actions
Copy link
Contributor

Git push to origin failed for release-24.05 with exitcode 1

@github-actions
Copy link
Contributor

Successfully created backport PR for release-24.05:

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

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants