kkylin-si
6bfe0cdb80
Merge routing-rules into security-audit
...
Merge 4d51f7c6ed (routing rules) and
5d9701f30c (mute on startup preference).
Resolve conflicts by retaining playback activity/diagnostics and confirmed
security settings state while adding the startup mute preference.
Validation: production build with test typechecking; five headless playback
scenarios; four startup preference cases with security-state regressions;
eight consistent routing targets across Mihomo and sing-box sources.
2026-11-08 15:22:38 +00:00
WEP-56
a33512a743
test: 移除硬编码时效 URL,联网测试改为 #[ignore]
...
media::tests::playlist_rewrite_works 里硬编码了带 auth_key 签名的真实 HLS 地址,
签名于 2026-11-03 18:08 过期后上游返回 403,导致在干净检出上 `cargo test --lib`
稳定失败:
not a playlist: HTTP 403 Forbidden
cover_decrypt_works 的封面地址同样带时效签名(2026-11-03 20:08 过期),只是那台
CDN 未真正校验才侥幸通过。
- playlist_rewrite_works 改为纯离线测试,用同构 fixture 直接断言 rewrite_playlist
契约:分片绝对化并保留查询串、#EXT-X-KEY 的 URI 同样走本地代理、不留相对 URI
- 新增 cover_decrypt_roundtrip:用内置 IMG_KEY/IMG_IV 反向构造密文,离线覆盖
aes_cbc_decrypt -> strip_padding -> image_kind 全链路
- live_play_chain / cover_decrypt_works / mirrors_live / probe_live / diag
标记 #[ignore],改为 `cargo test --lib -- --ignored` 显式运行
- cover_decrypt_works 的地址改从 HGHUB_TEST_COVER_URL 读取,不再入库
- README 的 Rust 版本对齐 rust-version 1.90;docs/security.md 同步验证命令
验证:cargo test --locked --lib -> 28 passed / 0 failed / 5 ignored
cargo check --locked --lib -> 通过
2026-11-08 14:59:35 +00:00
kkylin-si
3393a8d26a
docs: record security review decisions and validation
2026-11-07 15:48:52 +00:00
kkylin-si
9622b8c7d7
fix(P3-5): align reserved IPv4 screening and verify IPv6 policy
2026-11-07 15:48:01 +00:00
kkylin-si
9d5597b635
fix(P3-3): preserve ordered-list start attributes
2026-11-07 15:48:01 +00:00
kkylin-si
58ec4b56a6
docs(P2-3): explain NAT64 and DNS64 compatibility limits
2026-11-07 15:48:01 +00:00
kkylin-si
d3c4094cf2
perf(P2-2): cache validated pinned clients for 30 seconds
2026-11-07 15:48:01 +00:00
kkylin-si
54511e0506
fix(P1-1): open Windows article links without cmd
2026-11-07 15:48:00 +00:00
kkylin-si
5d9701f30c
Add mute on startup preference
2026-11-07 08:34:07 +00:00
kkylin-si
f6146c3ea3
fix: 加固正文渲染并支持严格安全模式切换
2026-11-07 06:34:41 +00:00
kkylin-si
037f2e52ad
fix: 加固正文渲染、网络访问和账号凭据隔离
2026-11-06 18:20:51 -08:00