Repository navigation
fix: 升级存在安全公告的 zstd/rustls/tokio 依赖 - #70
Merged
Merged
Conversation
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.
改动
cargo deny check advisories发现并修复以下可安全升级的公告:zstd0.13.3 → 0.13.4zstd-safe7.2.4 → 7.4.0zstd-sys2.0.16 → 2.1.2(RUSTSEC-2026-0410)rustls0.23.41 → 0.23.46(RUSTSEC-2026-0285/0346/0348/0349)rustls-webpki0.103.13 → 0.103.16(RUSTSEC-2026-0382)tokio1.52.3 → 1.54.1(RUSTSEC-2026-0386)webpki-roots/webpki-root-certs→ 1.0.11(RUSTSEC-2026-0381/0383)API19 独立锁文件保持 Cargo lockfile v3,兼容 Rust 1.77.2,并同步升级 zstd 三项。
验证
cargo test -p shield-core、-p shield-cli、-p shield-ios、-p mocika-shieldcargo test -p shield-core connection_probe_real_tls -- --ignoredcargo test --manifest-path shield-stub/src/main/rust/Cargo.tomlmake build-stub build-byos build-byos-playmake audit-stub-dex剩余非阻塞公告
zip 2.4.2的多条公告要求 >=9.0.0,属于跨大版本升级,涉及 APK/ZIP 读写 API;本轮不改,单独评估。proc-macro-error、unic-*等为无人维护公告,无安全升级路径,保持记录。continue-on-error,不作为CI 通过门禁。