Repository navigation
[upstream #60] go-jose 4.1.6 安全升级(JWKS/RSA 已确认) (3150dfea9) - #75
Merged
Merged
Conversation
…uantumNous#8112) Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.1.4 to 4.1.6. - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](go-jose/go-jose@v4.1.4...v4.1.6) --- updated-dependencies: - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit 3150dfe)
This was referenced Nov 1, 2026
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.
🔗 关联任务 / Related Issue
🚀 变更类型 / Type of change
📝 变更描述 / Description
从指定基线
5acfb033c0647d1d704f02edd9df8f7e221b9ef1cherry-pick -x 上游提交,仅修改go.mod、go.sum,将 go-jose v4.1.4 升至 v4.1.6;其它依赖不变。代码移植与验证由 Codex AI 辅助完成。官方发布说明修复 GHSA-mgcc-cww5-fp2q,并将 JWK RSA modulus 默认上限设为 4096 bits。任务交接已确认本机
https://127.0.0.1:13410/.well-known/jwks.json两把 RSA 均为 4096 bits;本轮沿用此事实,未调整安全上限。📸 运行证明 / Proof of Work
GOMAXPROCS=2 go mod verify→all modules verified。GOMAXPROCS=2 go test -mod=readonly -p=2 ./oauth github.com/coreos/go-oidc/v3/oidc -run 'Test(OIDCProvider_GetName|RSAVerify|MultipleKeysVerify|MismatchedKeyID|Rotation|Verify|VerifyAudience|VerifySigningAlg)$' -count=1 -v→ 两包 PASS;覆盖签名、错误 kid、JWKS 轮换、issuer/audience、过期与签名算法验证。GOMAXPROCS=2 go test -mod=readonly -p=2 github.com/go-jose/go-jose/v4 -run '^TestRsaKeyChecks$' -count=1 -v→ PASS,含 RSA 模数大小边界及非法参数拒绝。git diff --check HEAD^ HEAD→ 无输出,退出码 0;变更为两文件、3 行增/3 行删,工作树干净。安全核对参考 OWASP Authentication、Session Management、OAuth2及 ASVS 5.0.0。本变更关注服务端签名、issuer/audience、有效期和可信 JWKS 验证;未改认证流程,不作全量 ASVS 合规声明。
✅ 提交前检查项 / Checklist
go.mod/go.sum,未升级其它依赖。