Skip to content

localsend: use system CA certificates - #576870

Merged
dotlambda merged 1 commit into
NixOS:masterfrom
Nivalux:localsend
Oct 21, 2026
Merged

dotlambda merged 1 commit into
NixOS:masterfrom
Nivalux:localsend

Conversation

@Nivalux

@Nivalux Nivalux commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Replaces the vendored webkpi-roots with native-roots.

Verification (cacert-scan):

  • before: cacert-scan of unpatched localsend-rust-lib-1.18.0 (from
    cache.nixos.org): 2 findings — DER store in both .so and .a,
    watch: [emSign ECC Root CA - C3, emSign ECC Root CA - G3, emSign Root CA - C1, emSign Root CA - G1]
  • after: cacert-scan of the patched rust lib: 0 findings; of the full
    Flutter app output: 0 findings

Related to: #576544

Assisted-by: pi-coding-agent (qwen3.8-flash-next)

Things done

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 21, 2026
Comment thread pkgs/by-name/lo/localsend/linux.nix Resolved
@Prince213 Prince213 added 1.severity: security Issues which raise a security issue, or PRs that fix one backport release-26.05 Backport PR automatically labels Oct 21, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 21, 2026
@hesiod hesiod added the llm-assisted Contributions that include code generation with LLMs label Oct 21, 2026
hesiod
hesiod previously requested changes Oct 21, 2026

@hesiod hesiod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assisted-by: pi-coding-agent (qwen3.8-flash-next)
@Nivalux

Nivalux commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

LLM assistance requires a Git commit trailer, see https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#transparency

Thanks, missed that part. Added it also to the commit message.

@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (710407f)

Command: nixpkgs-review pr 576870
Commit: e6b8009606879b0f99642b45391223df76eb79e6 (subsequent changes)
Merge: f2bbac7cd96f26f354202b0c4f6a1ee36a05f5a1

Triggered by @Nivalux (88719017)
Logs: https://github.com/Nivalux/nixpkgs-review-gha/actions/runs/39644264718/attempts/1


x86_64-linux

✅ 1 package built:
  • localsend

aarch64-linux

✅ 1 package built:
  • localsend

@dotlambda

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 576870
Commit: e6b8009606879b0f99642b45391223df76eb79e6


x86_64-linux

✅ 1 package built:
  • localsend

@dotlambda dotlambda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically following the successful run of nixpkgs-review.

@dotlambda
dotlambda enabled auto-merge October 21, 2026 20:28
@nixpkgs-ci nixpkgs-ci Bot 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 Oct 21, 2026
@dotlambda
dotlambda added this pull request to the merge queue Oct 21, 2026
Merged via the queue into NixOS:master with commit 0a0714a Oct 21, 2026
32 checks passed
@Nivalux
Nivalux deleted the localsend branch October 21, 2026 20:45
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Oct 21, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

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

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

git fetch origin release-26.05
git worktree add -d .worktree/backport-576870-to-release-26.05 origin/release-26.05
cd .worktree/backport-576870-to-release-26.05
git switch --create backport-576870-to-release-26.05
git cherry-pick -x e6b8009606879b0f99642b45391223df76eb79e6

@Pandapip1

Copy link
Copy Markdown
Member

Has someone sent this upstream yet?

@Nivalux

Nivalux commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Has someone sent this upstream yet?

I haven't, but that's a good idea. I'm also not sure if localsend even uses the CA certificates directly.

@Pandapip1

Copy link
Copy Markdown
Member

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 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: failed backport 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport release-26.05 Backport PR automatically llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants