8000 Tags · kataras/jwt · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
fix(jwk): use ecdsa.ParseUncompressedPublicKey for EC key parsing

Replace manual assignment of X and Y coordinates in `convertJWKToPublicKeyEC`
with `ecdsa.ParseUncompressedPublicKey`. This addresses Go 1.26 deprecations
of the `X` and `Y` fields and provides improved security by ensuring that
parsed points are actually on the specified elliptic curve.

The new implementation:
- Rebuilds the SEC 1 uncompressed point (0x04 || X || Y).
- Supports minimally encoded coordinates by left-padding them to the
  required curve width.
- Rejects coordinates that are wider than the curve allows.
- Rejects points that are not on the curve, preventing unpredictable
  behavior in downstream cryptographic operations.

Added tests to verify off-curve point rejection and support for short
coordinates. Updated CHANGELOG.md and book documentation.

v0.2.0

Toggle v0.2.0's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
feat(api): release v0.2.0 and fix blocklist concurrency issues

This release addresses several critical defects and API inconsistencies
identified during a full audit of the exported surface.

Key changes include:

- **Blocklist concurrency**: Replaced the exported `Clock` field with a
  `SetClock` method using `atomic.Pointer` to prevent data races with
  the background garbage collection goroutine.
- **Blocklist lifecycle**: Added `Close` method to stop the background
  GC goroutine and prevent resource leaks.
- **JWK coordinate handling**: Fixed an issue where EC JWKs could carry
  short `x` or `y` coordinates by reading from the SEC 1 uncompressed
  point to ensure proper padding.
- **Algorithm naming**: Fixed `none` algorithm handling to use lowercase
  as required by RFC 7518, correcting previous non-conforming behavior.
- **Documentation updates**: Updated the book, changelog, and references
  to reflect the transition to v0.2.0 and the corrected API surface.
- **Tooling**: Added benchmark chart generation and updated CI to
  build benchmark assets.

v0.1.17

Toggle v0.1.17's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
minor

v0.1.16

Toggle v0.1.16's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
minor

v0.1.15

Toggle v0.1.15's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
update _benchmarks dependencies

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos

v0.1.13

Toggle v0.1.13's commit message

Verified

This commit was signed with the committer’s verified signature.
kataras Gerasimos (Makis) Maropoulos
JWKS support: Fetch, parse JWKS to Keys and encode Keys to JWKS. AWS …

…Cognito JWKS with ease, one-liner: FetchAWSCognitoPublicKeys

v0.1.12

Toggle v0.1.12's commit message

Unverified

This user has not yet uploaded their public signing key.
minor: change GenerateBase64EdDSA: no padding

v0.1.11

Toggle v0.1.11's commit message

Unverified

This user has not yet uploaded their public signing key.
add GenerateBase64EdDSA helper

v0.1.10

Toggle v0.1.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #17 from jamietanna/chore/go-version

Downgrade Go version requirement to 1.20
0