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.33.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.35.0
Choose a head ref
  • 6 commits
  • 27 files changed
  • 5 contributors

Commits on Feb 10, 2025

  1. all: update certs for go1.24

    Fixes golang/go#71612
    
    Change-Id: I5cb0596b33cb18016eb1883d1518319588ae1454
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/647975
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Nicola Murino <nicola.murino@gmail.com>
    seankhliao authored and gopherbot committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    e47973b View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2025

  1. all: upgrade go directive to at least 1.23.0 [generated]

    By now Go 1.24.0 has been released, and Go 1.22 is no longer supported
    per the Go Release Policy (https://go.dev/doc/devel/release#policy).
    
    For golang/go#69095.
    
    [git-generate]
    (cd . && go get go@1.23.0 && go mod tidy && go fix ./... && go mod edit -toolchain=none)
    (cd x509roots/fallback && go get go@1.23.0 && go mod tidy && go fix ./... && go mod edit -toolchain=none)
    
    Change-Id: I879bced994b310927c41f820ec272a518aa0c8a5
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/649715
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    gopherbot committed Feb 14, 2025
    Configuration menu
    Copy the full SHA
    89ff08d View commit details
    Browse the repository at this point in the history
  2. all: bump golang.org/x/crypto dependencies of asm generators

    Change-Id: Ieb2f0d45f82647978f0bd1eb47bb347f0bfb7d13
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/649499
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rolandshoemaker committed Feb 14, 2025
    Configuration menu
    Copy the full SHA
    911360c View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2025

  1. x509roots/fallback: drop obsolete build constraint

    Back when Go 1.20 and 1.19 were supported, the go1.20 build constraint
    was there to establish 1.20 as the minimum for the package, because it
    requires an API that was added only in Go 1.20 and there was no way to
    make it work with 1.19's APIs.
    
    By now only Go 1.24 and 1.23 are supported, and the minimum is set via
    the go directive in go.mod.
    
    For golang/go#57792.
    
    Change-Id: Ie4d37d34993374cdd380667930ee667af97eeccb
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/649716
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    dmitshur authored and gopherbot committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    b0784b7 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2025

  1. acme/autocert: check host policy before probing the cache

    Avoid unnessecary cache probes for names that don't match the host
    policy.
    
    Fixes golang/go#71199
    
    Change-Id: I11e8465b0416e960a549b0c0d74a622026c39931
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/651296
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    rolandshoemaker authored and gopherbot committed Feb 22, 2025
    Configuration menu
    Copy the full SHA
    f66f74b View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2025

  1. ssh: limit the size of the internal packet queue while waiting for KEX

    In the SSH protocol, clients and servers execute the key exchange to
    generate one-time session keys used for encryption and authentication.
    The key exchange is performed initially after the connection is
    established and then periodically after a configurable amount of data.
    While a key exchange is in progress, we add the received packets to an
    internal queue until we receive SSH_MSG_KEXINIT from the other side.
    This can result in high memory usage if the other party is slow to
    respond to the SSH_MSG_KEXINIT packet, or memory exhaustion if a
    malicious client never responds to an SSH_MSG_KEXINIT packet during a
    large file transfer.
    We now limit the internal queue to 64 packets: this means 2MB with the
    typical 32KB packet size.
    When the internal queue is full we block further writes until the
    pending key exchange is completed or there is a read or write error.
    
    Thanks to Yuichi Watanabe for reporting this issue.
    
    Change-Id: I1ce2214cc16e08b838d4bc346c74c72addafaeec
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/652135
    Reviewed-by: Neal Patel <nealpatel@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    drakkan authored and gopherbot committed Feb 24, 2025
    Configuration menu
    Copy the full SHA
    7292932 View commit details
    Browse the repository at this point in the history
Loading