Skip to content

[26.05] shadowsocks-rust: update webpki-roots - #578046

Closed
Moraxyc wants to merge 1 commit into
NixOS:release-26.05from
Moraxyc:backport-577835-to-release-26.05
Closed

Moraxyc wants to merge 1 commit into
NixOS:release-26.05from
Moraxyc:backport-577835-to-release-26.05

Conversation

@Moraxyc

@Moraxyc Moraxyc commented Oct 23, 2026

Copy link
Copy Markdown
Member

(cherry picked from commit cb0cc2b)

#576544

backport of #577835

Things done

@Moraxyc Moraxyc mentioned this pull request Oct 23, 2026
3 of 13 tasks
@Moraxyc Moraxyc added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Oct 23, 2026

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between 90cfebc and original cb0cc2b may warrant inspection.

Show diff
@@ Metadata
  ## Commit message ##
     shadowsocks-rust: update webpki-roots
 
+    (cherry picked from commit cb0cc2bde80e3266db262a9dc2e13099fa8b97b5)
+
  ## pkgs/by-name/sh/shadowsocks-rust/package.nix ##
 @@ pkgs/by-name/sh/shadowsocks-rust/package.nix: rustPlatform.buildRustPackage (finalAttrs: {
-     hash = "sha256-BS6tc/ac7zewfzYvGWf+OkYjNjBwOWYTumVtQpjWHdg=";
+     hash = "sha256-wqZh+JQDUbH7ZYT4vNzSI3JwRRYDgS5/RjrDaKCxgLc=";
    };
  
--  cargoHash = "sha256-Qx5l6LC2KBLX9I4R/spZyPo61GzDilkgH5LBjGgVCFA=";
+-  cargoHash = "sha256-ZLgHDJ4kP+Ohw1OgC/0wHAPnTEc5bN0JQMmgms1Gih4=";
 +  cargoPatches = [
-+    # TODO: remove once this is merged upstream and released
-+    # https://github.com/shadowsocks/shadowsocks-rust/pull/2203
 +    ./update-webpki-roots.patch
 +  ];
 +
-+  cargoHash = "sha256-Lwc/TYs4cfN3W/Wc74lL0nqD6LCbwDWfMnPyhiXoR+k=";
++  cargoHash = "sha256-tpW/yJb/qxoS1nM7d0GI/9FOJCA3UlslNOKCJ/zXWcM=";
  
    nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
  
 
  ## pkgs/by-name/sh/shadowsocks-rust/update-webpki-roots.patch (new) ##
 @@
-+From 223cd67eb3070279f51f8080f69505a64706305a Mon Sep 17 00:00:00 2001
-+From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
-+Date: Fri, 23 Oct 2026 08:45:51 +0000
-+Subject: [PATCH] chore(deps): update rust crate webpki-roots to v1.0.11
-+
-+---
-+ Cargo.lock | 4 ++--
-+ 1 file changed, 2 insertions(+), 2 deletions(-)
-+
 +diff --git a/Cargo.lock b/Cargo.lock
-+index 869be8f0fa6f..e9e4f8a5e688 100644
++index 28e85c9..43a4285 100644
 +--- a/Cargo.lock
 ++++ b/Cargo.lock
-+@@ -4102,9 +4102,9 @@ dependencies = [
++@@ -1433,7 +1433,7 @@ dependencies = [
++  "tokio",
++  "tokio-rustls",
++  "tower-service",
++- "webpki-roots 1.0.4",
+++ "webpki-roots 1.0.11",
++ ]
++ 
++ [[package]]
++@@ -2646,7 +2646,7 @@ dependencies = [
++  "wasm-bindgen",
++  "wasm-bindgen-futures",
++  "web-sys",
++- "webpki-roots 1.0.4",
+++ "webpki-roots 1.0.11",
++ ]
++ 
++ [[package]]
++@@ -2800,9 +2800,9 @@ dependencies = [
++ 
++ [[package]]
++ name = "rustls-webpki"
++-version = "0.103.8"
+++version = "0.103.16"
++ source = "registry+https://github.com/rust-lang/crates.io-index"
++-checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52"
+++checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
++ dependencies = [
++  "ring",
++  "rustls-pki-types",
++@@ -3162,7 +3162,7 @@ dependencies = [
++  "tokio-rustls",
++  "trait-variant",
++  "tun",
++- "webpki-roots 1.0.4",
+++ "webpki-roots 1.0.11",
++  "windows-sys 0.61.2",
++  "zstd",
++ ]
++@@ -4020,14 +4020,14 @@ version = "0.26.11"
++ source = "registry+https://github.com/rust-lang/crates.io-index"
++ checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
++ dependencies = [
++- "webpki-roots 1.0.4",
+++ "webpki-roots 1.0.11",
++ ]
 + 
 + [[package]]
 + name = "webpki-roots"
-+-version = "1.0.9"
++-version = "1.0.4"
 ++version = "1.0.11"
 + source = "registry+https://github.com/rust-lang/crates.io-index"
-+-checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a"
++-checksum = "b2878ef029c47c6e8cf779119f20fcf52bde7ad42a731b2a304bc221df17571e"
 ++checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171"
 + dependencies = [
 +  "rustls-pki-types",

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

(cherry picked from commit cb0cc2b)
@Moraxyc
Moraxyc force-pushed the backport-577835-to-release-26.05 branch from a09450d to 90cfebc Compare October 23, 2026 20:55
@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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 4.workflow: backport This targets a stable branch labels Oct 23, 2026
@MoraxycBot

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (710407f)

Command: nixpkgs-review pr 578046
Commit: 90cfebc99075bf0a1e008ff3a6fb715859dcc2cd (subsequent changes)
Merge: 13e66638359d3a0a0a2b72c933851c17d773db37

Logs: https://github.com/Moraxyc/nixpkgs-review-gha/actions/runs/40023183006/attempts/1


x86_64-linux

✅ 2 packages built:
  • shadowsocks-rust
  • amnezia-vpn

aarch64-linux

✅ 2 packages built:
  • shadowsocks-rust
  • amnezia-vpn

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • shadowsocks-rust

@Moraxyc Moraxyc closed this Nov 23, 2026
@Moraxyc
Moraxyc deleted the backport-577835-to-release-26.05 branch November 23, 2026 04:15
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 4.workflow: backport This targets a stable branch 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants