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: golang/crypto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 627cb89
Choose a base ref
...
head repository: golang/crypto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4e0068c
Choose a head ref
  • 14 commits
  • 59 files changed
  • 7 contributors

Commits on Oct 8, 2025

  1. all: fix some typos in comment

    Change-Id: Ia209f0a6d9b19d14e655c65d1287a1416b48c487
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/707535
    Reviewed-by: Carlos Amedee <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    Auto-Submit: Sean Liao <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Sean Liao <[email protected]>
    cuishuang authored and gopherbot committed Oct 8, 2025
    Configuration menu
    Copy the full SHA
    1faea29 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2025

  1. ssh: use reflect.TypeFor instead of reflect.TypeOf

    For golang/go#60088.
    
    Change-Id: I58994c469a2793516214ab1a0072fb6137afc46e
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/709156
    Auto-Submit: Sean Liao <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    Reviewed-by: Carlos Amedee <[email protected]>
    Reviewed-by: Sean Liao <[email protected]>
    cuishuang authored and gopherbot committed Oct 9, 2025
    Configuration menu
    Copy the full SHA
    0b7aa0c View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2025

  1. sha3: make it mostly a wrapper around crypto/sha3

    crypto/sha3 was introduced in Go 1.24, which is now the minimum Go
    version of this module.
    
    Made the hashes go:fix inline wrappers, since the new types can be used
    as hash.Hash directly.
    
    The SHAKE instances need a wrapper for the methods we dropped from
    crypto.XOF, so no go:fix inline there.
    
    Kept the generic implementation for the legacy Keccak hashes we did not
    bring to the standard library. We need to keep them working, but they
    don't need to be fast.
    
    Fixes golang/go#73681
    Updates golang/go#65269
    
    Change-Id: I6a6a69648b6353b153c70a2cec84864e64dcd61b
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/710115
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Filippo Valsorda <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    FiloSottile authored and gopherbot committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    cf29fa9 View commit details
    Browse the repository at this point in the history
  2. chacha20poly1305: panic on dst and additionalData overlap

    The cipher.AEAD interface specifies that these should not overlap.
    This mirrors the check that the GCM implementation does.
    
    Fixes golang/go#75968
    Updates golang/go#21624
    
    Change-Id: If5fbb8611ff6c0aae44d50079bad29f56ce00f5b
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/712860
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    seankhliao committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    017a1aa View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2025

  1. all: fix some comments

    Change-Id: I0395c5db6edd7d90f9ec1dadbe881a77c906c732
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/713120
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    Auto-Submit: Sean Liao <[email protected]>
    Reviewed-by: Sean Liao <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    cuishuang authored and gopherbot committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    0997000 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2025

  1. all: eliminate vet diagnostics

    For golang/go#74011
    
    Change-Id: I189c5aba554a578bee1fd351edc30cd5cf4d0ed6
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/714960
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    seankhliao committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    c0531f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2025

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I0f64669e7c813611f71b1381d9e6fdaba1a39712
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/719641
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: David Chase <[email protected]>
    gopherbot committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    122a78f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2025

  1. ssh: allow to bind to a hostname in remote forwarding

    To avoid breaking backwards compatibility, we fix Listen, which
    receives the address as a string, while ListenTCP can still only
    be used with IP addresses.
    
    Fixes golang/go#33227
    Fixes golang/go#37239
    
    Change-Id: I4d45b40fdcb0d6012ed8da59a02149fa37e7db50
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/599995
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Junyang Shao <[email protected]>
    Reviewed-by: Bishakh Ghosh <[email protected]>
    Reviewed-by: Filippo Valsorda <[email protected]>
    Auto-Submit: Nicola Murino <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    drakkan authored and gopherbot committed Nov 12, 2025
    4 Configuration menu
    Copy the full SHA
    79ec3a5 View commit details
    Browse the repository at this point in the history
  2. ssh: fix error message on unsupported cipher

    Until now, when ssh keys using one of these[1] ciphers were passed, we were
    giving a parse error "ssh: parse error in message type 0".
    
    With this fix, we parse it successfully and return the correct error message.
    
    [1] aes{128,256}[email protected] and [email protected]
    
    Fixes golang/go#52135
    
    Change-Id: I3010fff43c48f29f21edb8d63f44e167861a054e
    GitHub-Last-Rev: 14ac7e9
    GitHub-Pull-Request: #324
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/709275
    Reviewed-by: Nicola Murino <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    Reviewed-by: Junyang Shao <[email protected]>
    Auto-Submit: Nicola Murino <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    porridgewithraisins authored and gopherbot committed Nov 12, 2025
    Configuration menu
    Copy the full SHA
    b4f2b62 View commit details
    Browse the repository at this point in the history
  3. acme: pass context to request

    Fixes golang/go#30183
    
    Change-Id: Ic02b34bc87b9465f5c05b2ef5bec157c58809a91
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/719002
    Reviewed-by: Junyang Shao <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    seankhliao committed Nov 12, 2025
    Configuration menu
    Copy the full SHA
    bcf6a84 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. acme/autocert: let automatic renewal work with short lifetime certs

    Fixes golang/go#64997
    Fixes golang/go#36548
    
    Change-Id: Idb7a426ad3bfa6ac3b796f4b466da6e3154f1ffa
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/719080
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Mark Freeman <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    seankhliao committed Nov 17, 2025
    Configuration menu
    Copy the full SHA
    2df4153 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2025

  1. ssh/agent: prevent panic on malformed constraint

    An attacker could supply a malformed Constraint that
    would trigger a panic in a serving agent, effectively
    causing denial of service.
    
    Thank you to Jakub Ciolek for reporting this issue.
    
    Fixes CVE-2025-47914
    Fixes golang/go#76364
    
    Change-Id: I195bbc68b1560d4f04897722a6a653a7cbf086eb
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/721960
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Roland Shoemaker <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    thatnealpatel authored and gopherbot committed Nov 19, 2025
    Configuration menu
    Copy the full SHA
    f91f7a7 View commit details
    Browse the repository at this point in the history
  2. ssh: curb GSSAPI DoS risk by limiting number of specified OIDs

    Previously, an attacker could specify an integer up to 0xFFFFFFFF
    that would directly allocate memory despite the observability of
    the rest of the payload. This change places a hard cap on the
    amount of mechanisms that can be specified and encoded in the
    payload. Additionally, it performs a small sanity check to deny
    payloads whose stated size is contradictory to the observed payload.
    
    Thank you to Jakub Ciolek for reporting this issue.
    
    Fixes CVE-2025-58181
    Fixes golang/go#76363
    
    Change-Id: I0307ab3e906a3f2ae763b5f9f0310f7073f84485
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/721961
    Auto-Submit: Roland Shoemaker <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    thatnealpatel authored and gopherbot committed Nov 19, 2025
    Configuration menu
    Copy the full SHA
    e79546e View commit details
    Browse the repository at this point in the history
  3. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I3923d98d88595230b12db261c48168b863dc2ce9
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/722000
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Neal Patel <[email protected]>
    gopherbot committed Nov 19, 2025
    Configuration menu
    Copy the full SHA
    4e0068c View commit details
    Browse the repository at this point in the history
Loading