BBDown v1.6.8
安全
- DRM 密钥进程列表暴露:
mp4decrypt解密密钥改为通过临时文件传递(--key-file),避免命令行对同主机ps aux可见。临时文件使用后覆写并删除。 - Debug 日志密钥脱敏:Widevine 解密密钥在 debug 日志中仅显示前 8 字符。
- SSL 跳过诊断增强:
--insecure模式下记录被跳过的证书错误类型到 debug 日志,便于排查。
修复
- WidevineCdm 异常吞噬:protobuf 解析失败和 RSA 解密失败不再静默吞错,改为记录诊断日志并降级返回 null。
- 异步死锁防护:
LoginCommand、LoginTVCommand、BBDownApiServer中.GetAwaiter().GetResult()调用改为Task.Run(...).GetAwaiter().GetResult(),防止被 GUI 宿主复用时死锁。 - 调试日志文件清理:仓库根目录遗留的 20 个
debug_*.json已删除,并加入.gitignore。
测试
- 新增
WidevineCdmTests:PSSH 解析边界、非法输入降级。 - 新增
ParserTests:ThrowIfPlayLimited全覆盖、WbiSign、Codec 映射。 UrlResolverTests添加[Trait("Category", "Integration")]标记,CI 可通过--filter排除。
维护
.remember/、.pi-subagents/、debug_*.json、artifact/加入.gitignore。Parser.csDispose 所有权说明注释。WidevineCdm.csRSA OAEP fallback 从裸catch改为catch (CryptographicException)。
Commits
- chore(release): bump version to 1.6.8
- [pi] Now I have all the evidence. Here's my review:
Downloads
| Platform | Architecture |
|---|---|
| Windows | x64, arm64 |
| Linux | x64, arm64 |
| macOS | x64, arm64 |
Full Changelog: v1.6.7...v1.6.8