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: v0.44.0
Choose a base ref
...
head repository: golang/crypto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.45.0
Choose a head ref
  • 7 commits
  • 17 files changed
  • 5 contributors

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
    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