• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperscale-stack / security
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/chromedp/cdproto-0.158.4
DEFAULT BRANCH: master
Repo Added 16 Sep 2020 12:05PM UTC
Token eXsCYvUeMzR6iIXtqrlWZXFVqTZ43wOX2 regen
Build 259 Last
Files 224
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/audit2-jose
branch: fix/audit2-jose
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/audit2-jose
  • ci/real-db-stores
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-7
  • dependabot/github_actions/softprops/action-gh-release-3
  • dependabot/go_modules/connectrpc.com/connect-1.21.0
  • dependabot/go_modules/connectrpc.com/connect-1.21.1
  • dependabot/go_modules/connectrpc.com/grpchealth-1.5.0
  • dependabot/go_modules/github.com/alicebob/miniredis/v2-2.39.0
  • dependabot/go_modules/github.com/alicebob/miniredis/v2-2.40.0
  • dependabot/go_modules/github.com/chromedp/cdproto-0.157.9
  • dependabot/go_modules/github.com/chromedp/cdproto-0.158.0
  • dependabot/go_modules/github.com/chromedp/cdproto-0.158.4
  • dependabot/go_modules/github.com/chromedp/chromedp-0.20.1
  • dependabot/go_modules/github.com/chromedp/chromedp-0.21.0
  • dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.5
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.19.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.20.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.20.1
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.21.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.22.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.23.0
  • dependabot/go_modules/github.com/rs/zerolog-1.35.0
  • dependabot/go_modules/github.com/rs/zerolog-1.35.1
  • dependabot/go_modules/github.com/stretchr/testify-1.12.1
  • dependabot/go_modules/github.com/zitadel/oidc/v3-3.51.16
  • dependabot/go_modules/go.opentelemetry.io/otel-1.44.0
  • dependabot/go_modules/go.opentelemetry.io/otel-1.45.0
  • dependabot/go_modules/go.opentelemetry.io/otel-1.46.0
  • dependabot/go_modules/go.opentelemetry.io/otel-1.47.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.44.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.45.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.46.0
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.47.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.44.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.45.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.46.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.47.0
  • dependabot/go_modules/golang.org/x/crypto-0.45.0
  • dependabot/go_modules/golang.org/x/crypto-0.46.0
  • dependabot/go_modules/golang.org/x/crypto-0.47.0
  • dependabot/go_modules/golang.org/x/crypto-0.48.0
  • dependabot/go_modules/golang.org/x/crypto-0.49.0
  • dependabot/go_modules/golang.org/x/crypto-0.50.0
  • dependabot/go_modules/golang.org/x/crypto-0.51.0
  • dependabot/go_modules/golang.org/x/crypto-0.52.0
  • dependabot/go_modules/golang.org/x/crypto-0.53.0
  • dependabot/go_modules/golang.org/x/crypto-0.54.0
  • dependabot/go_modules/golang.org/x/crypto-0.55.0
  • dependabot/go_modules/golang.org/x/crypto-0.56.0
  • dependabot/go_modules/golang.org/x/crypto-0.57.0
  • dependabot/go_modules/google.golang.org/grpc-1.81.1
  • dependabot/go_modules/google.golang.org/grpc-1.82.0
  • dependabot/go_modules/google.golang.org/grpc-1.82.1
  • dependabot/go_modules/google.golang.org/grpc-1.83.0
  • dependabot/go_modules/google.golang.org/grpc-1.83.1
  • dependabot/go_modules/google.golang.org/grpc-1.83.2
  • dependabot/go_modules/google.golang.org/grpc-1.84.0
  • dependabot/go_modules/modernc.org/sqlite-1.51.0
  • dependabot/go_modules/modernc.org/sqlite-1.52.0
  • dependabot/go_modules/modernc.org/sqlite-1.53.0
  • dependabot/go_modules/modernc.org/sqlite-1.54.0
  • dependabot/go_modules/modernc.org/sqlite-1.56.0
  • dependabot/go_modules/modernc.org/sqlite-1.57.0
  • dependabot/go_modules/modernc.org/sqlite-1.58.0
  • dependabot/go_modules/modernc.org/sqlite-1.60.1
  • dependabot/go_modules/modernc.org/sqlite-1.61.0
  • dependabot/go_modules/tools/osv-scanner/golang.org/x/vuln-1.9.0
  • feat/audit2-attempt-limiter
  • feature/63-oauth2-error-hook
  • feature/64-oauth2-expires-in-clock
  • feature/78-oauth2-refresh-rotation-profile
  • feature/79-oauth2-pkce-syntax
  • feature/80-oauth2-code-replay-revocation
  • feature/81-oauth2-introspection-authz
  • feature/82-oauth2-refresh-family-revocation
  • feature/83-oauth2-oidc-extension-points
  • feature/84-oidc-provider
  • feature/85-oidc-client
  • feature/86-oidc-interop
  • feature/87-saml-sp
  • feature/88-saml-adversarial-interop
  • feature/94-oauth2-empty-client-secret
  • feature/connectrpc
  • feature/oauth2-server
  • feature/refactoring
  • fix/audit-ci-deps
  • fix/audit-core-transport
  • fix/audit-jwt
  • fix/audit-oauth2-client-policy
  • fix/audit-oauth2-endpoints
  • fix/audit-oidc-client
  • fix/audit-oidc-provider
  • fix/audit-saml-sp
  • fix/audit-session-password-basic
  • fix/audit-sql-stores
  • fix/audit2-core
  • fix/audit2-jwt
  • fix/audit2-oauth2-front
  • fix/audit2-oidc-client
  • fix/audit2-oidc-provider
  • fix/audit2-saml
  • fix/audit2-stores
  • fix/audit2-supply-chain
  • master

21 Oct 2026 09:57AM UTC coverage: 98.49% (-0.003%) from 98.493%
39580969522

Pull #123

github

euskadi31
fix(jwt,oidc/provider)!: refuse to publish RSA keys over 4096 bits

A JWK Set holding one RSA key over 4096 bits is refused as a whole by
go-jose v4.1.6's JSONWebKeySet, which go-oidc relying parties use. This
library's own key sets ignore that key instead. Signing keys over 4096
bits were already refused, but such a key could still be published:
- through jwtsec.MarshalJWKS;
- as an oidcprovider.KeyRing.Published "next key", which then broke the
  logins of those relying parties. Promoting it to signing then made the
  ring invalid on every request.

MarshalJWKS (ErrInvalidKey) and KeyRing.Validate (ErrInvalidKeyRing) now
refuse it. PublicKey.Validate and NewStaticJWKS stay unbounded.

The docs are corrected:
- a larger key is ignored by this library's key sets and refused, with
  its whole JWK Set, by go-jose's JSONWebKeySet;
- the RFC 7515 section list no longer spans kid (section 4.1.4);
- the error-precedence change (jwk with a disallowed algorithm) is in
  MIGRATION;
- the oidc-client conformance row lists the header check;
- several paragraphs are reflowed.

BREAKING CHANGE: an RSA key over 4096 bits passed to jwtsec.MarshalJWKS
or listed in oidcprovider.KeyRing.Published is refused.

Audit: F-01.
Pull Request #123: fix(jwt,oidc): refuse key-bearing JOSE headers, upgrade go-jose to v4.1.6

42 of 42 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

13896 of 14109 relevant lines covered (98.49%)

4976.81 hits per line

Relevant lines Covered
Build:
Build:
14109 RELEVANT LINES 13896 COVERED LINES
4976.81 HITS PER LINE
Source Files on fix/audit2-jose
  • Tree
  • List 203
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39580969522 fix/audit2-jose fix(jwt,oidc/provider)!: refuse to publish RSA keys over 4096 bits A JWK Set holding one RSA key over 4096 bits is refused as a whole by go-jose v4.1.6's JSONWebKeySet, which go-oidc relying parties use. This library's own key sets ignore that ke... Pull #123 21 Oct 2026 10:00AM UTC euskadi31 github
98.49
39570823532 fix/audit2-jose docs: document refused JOSE key headers and the 4096-bit RSA bound CHANGELOG (Security, Changed, Fixed), a MIGRATION section with its before/after table and steps, LIMITATIONS and the security considerations now describe the go-jose v4.1.6 upgrad... Pull #123 21 Oct 2026 08:44AM UTC euskadi31 github
98.49
See All Builds (259)

Badge your Repo: security

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc