Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-jose/go-jose
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.5
Choose a base ref
...
head repository: go-jose/go-jose
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.1
Choose a head ref
  • 11 commits
  • 14 files changed
  • 10 contributors

Commits on Feb 25, 2025

  1. Configuration menu
    Copy the full SHA
    783e3f5 View commit details
    Browse the repository at this point in the history
  2. Document signatureAlgorithms argument (#163)

    The various `Parse` functions in `jws.go` that construct
    `jose.JSONWebSignature` take a slice of acceptable signature algorithms.
    We now document its purpose and usage. While I was in there, I also
    added a reference to RFC 7515 for detached paylods.
    
    Fixes #162
    tgeoghegan authored Feb 25, 2025
    Configuration menu
    Copy the full SHA
    9dc5384 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2025

  1. Bump CI Go to 1.23.x and 1.24.x (#177)

    Previously done in the /v3 branch, this is for `main` (v4)
    mcpherrinm authored Mar 10, 2025
    Configuration menu
    Copy the full SHA
    0e4ab68 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2025

  1. Add custom error for unsupported JWS signature algorithms (#181)

    Define a custom error, ErrUnexpectedSignatureAlgorithm, returned when a
    JWS header contains an unsupported signature algorithm.
    beautifulentropy authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    6e50d10 View commit details
    Browse the repository at this point in the history
  2. feat: use stdlib pbkdf2 package on go 1.24 (#180)

    replace x/crypto/pbkdf2 with crypto/pbkdf2 if go 1.24 is used
    avoid one dependency and helps with fips mode
    kruskall authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    fed5f4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f005da View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2025

  1. Drop go-cmp dependency (#186)

    We only use it in a few small places.
    
    Without cmp.Diff, we might not get as nice test failures, but it's not
    too hard to use an external diff tool if something were to break.
    mcpherrinm authored Apr 17, 2025
    Configuration menu
    Copy the full SHA
    f777888 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2025

  1. jws: improve performance and allocations for ParseSignedCompact (#188)

    See also https://go-review.googlesource.com/c/oauth2/+/655455
    
    name                  old time/op    new time/op    delta
    ParseSignedCompat-16 1.95µs ± 1% 1.91µs ± 1% -1.83% (p=0.000 n=9+10)
    
    name                  old alloc/op   new alloc/op   delta
    ParseSignedCompat-16 3.26kB ± 0% 3.21kB ± 0% -1.47% (p=0.000 n=10+10)
    
    name                  old allocs/op  new allocs/op  delta
    ParseSignedCompat-16 45.0 ± 0% 44.0 ± 0% -2.22% (p=0.000 n=10+10)
    drakkan authored Apr 21, 2025
    Configuration menu
    Copy the full SHA
    4ff65ae View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. Add missing quote to unknown curve message #170 (#189)

    Added a missing quote to the unknown curve error message. 
    
    Co-authored-by: Sudhanva Hebbale <[email protected]>
    sudhanvaghebbale and sudhanvaghebbale authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    c02d7be View commit details
    Browse the repository at this point in the history

Commits on May 30, 2025

  1. jwe: check enc when enc is non-empty (#192)

    Previously, this was checking the `enc` header when `alg` was non-empty.
    
    Follow-up to 9b5800e, "Require specifying algorithms for ParseEncrypted"
    (#69)
    ProjectMutilation authored May 30, 2025
    Configuration menu
    Copy the full SHA
    e976912 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2025

  1. Restore Go 1.23 compatibility (#193)

    - Uses a build tag to decide between stdlib pbkdf2 implementation or
    `x/` legacy implementation based on Go version
    - Restores benchmarks to legacy syntax
    - Sets go.mod minimum version to 1.23.0
    - Since Go 1.21, the `.0` should be added to indicate the minimum
    version of the toolchain AFAIK, notably it excludes prereleases
    https://tip.golang.org/doc/toolchain#version So I went with it instead
    of going to the previous `1.23`
    - Restores 1.23 CI workflow
    
    Co-authored-by: kruskall <[email protected]>
    anuraaga and kruskall authored Jun 23, 2025
    Configuration menu
    Copy the full SHA
    04339d9 View commit details
    Browse the repository at this point in the history
Loading