Repository navigation
fix: RSA2048 向量钉版升级与默认套件统一 - #43
Conversation
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
审阅者指南本 PR 将 wop-specs 钉版升级至包含 RSA2048 加密向量的提交并同步校验值,新增 RSA2048 签名和 OAEP 解包的字节级黄金测试,同时将配置模板及中英文文档的默认算法套件统一为 WOP-RSA2048-SHA256;互操作向量保持不变。 文件级变更
提示与命令与 Sourcery 交互
自定义体验访问你的控制面板以进行以下操作:
获取帮助Original review guide in EnglishReviewer's Guide本 PR 将 wop-specs 钉版升级至包含 RSA2048 加密向量的提交并同步校验值,新增 RSA2048 签名和 OAEP 解包的字节级黄金测试,同时将配置模板及中英文文档的默认算法套件统一为 WOP-RSA2048-SHA256;互操作向量保持不变。 File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
你好——我已审查你的更改,整体看起来很棒!
Sourcery 评估
需要人工审查。 加载默认配置的用户会在签名和密钥封装时静默地选择 RSA-2048,而不是 RSA-3072,因此错误的安全强度选择会影响他们,却不会触发错误或警告。回退更改可以恢复未来的默认值,但无法更改已经使用 RSA-2048 生成的签名或封装密钥。
Original comment in English
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. Users loading the default configuration will silently select RSA-2048 for signing and key wrapping instead of RSA-3072, so a mistaken security-strength choice affects them without an error or warning. Reverting restores the future default but cannot change signatures or wrapped keys already produced under RSA-2048.
竞速测试线程唤醒错开时后醒者走快路径,弧永不达,ubuntu-JDK21 腿 JaCoCo 分支 0.99<1.00 偶发。反射持锁交错确定性命中该弧。
审查发现:AlgorithmSuite 已注册 WOP-RSA2048-SHA256,但 wopSpecsRef 钉版 4a50824 的 crypto-vectors 不含 rsa2048(六仓唯一缺 2048 向量背书),且模板/README 默认套件仍 3072 未随五仓统一。修复:1) wopSpecsRef→a1f7feb(specs PR #25,含 rsa2048 keys+signature+oaep 向量)+ crypto sha256 同步(interop 未变,sha256 与哨兵不动);2) 补 rsa2048-sign 签名与 oaep2048-unwrap 解包两面字节级向量测试(对齐五仓覆盖基线);3) 双模板与 README 双语示例默认改 WOP-RSA2048-SHA256。core 全量 429 测试绿(新钉版拉取+sha256 校验通过)。
Sourcery 总结
使 SDK 与更新后的 RSA2048 规范向量保持一致,并将 WOP-RSA2048-SHA256 设为默认套件。
Bug Fixes:
Enhancements:
Documentation:
Tests:
Original summary in English
Sourcery 摘要
使 SDK 与更新后的 RSA2048 规范向量保持一致,并将 WOP-RSA2048-SHA256 设为标准默认套件。
Bug Fixes:
Enhancements:
Build:
Documentation:
Tests:
Original summary in English
Summary by Sourcery
Align the SDK with the updated RSA2048 specification vectors and standardize WOP-RSA2048-SHA256 as the default suite.
Bug Fixes:
Enhancements:
Build:
Documentation:
Tests: