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.41.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.42.0
Choose a head ref
  • 7 commits
  • 13 files changed
  • 4 contributors

Commits on Aug 13, 2025

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

    By now Go 1.25.0 has been released, and Go 1.23 is no longer supported
    per the Go Release Policy (see https://go.dev/doc/devel/release#policy).
    
    For golang/go#69095.
    
    [git-generate]
    (cd . && go get go@1.24.0 && go mod tidy && go fix ./... && go mod edit -toolchain=none)
    (cd x509roots/fallback && go get go@1.24.0 && go mod tidy && go fix ./... && go mod edit -toolchain=none)
    
    Change-Id: Ia4c201e9611a2c13489e16d4ae81d7e3e32bf455
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/695715
    Auto-Submit: Gopher Robot <gobot@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: David Chase <drchase@google.com>
    gopherbot committed Aug 13, 2025
    Configuration menu
    Copy the full SHA
    44ecf3a View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2025

  1. ssh: use curve25519.X25519 instead of curve25519.ScalarMult

    This lets us surface an error message instead of panicking if running
    in fips140=only mode, where ECDH on X25519 returns an error.
    
    Updates golang/go#75061
    
    Change-Id: I6a6a6964c0591f3dca2dc946c99d44364314a3ab
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/696995
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Reviewed-by: David Chase <drchase@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Filippo Valsorda <filippo@golang.org>
    Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
    FiloSottile authored and gopherbot committed Aug 19, 2025
    Configuration menu
    Copy the full SHA
    f5a2eab View commit details
    Browse the repository at this point in the history
  2. curve25519: include potential fips140=only error in panic message

    Updates golang/go#75061
    
    Change-Id: I6a6a696474122a12c12696d8a2efec902572327d
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/696996
    Reviewed-by: Nicola Murino <nicola.murino@gmail.com>
    Auto-Submit: Filippo Valsorda <filippo@golang.org>
    Reviewed-by: David Chase <drchase@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    FiloSottile authored and gopherbot committed Aug 19, 2025
    Configuration menu
    Copy the full SHA
    b8d8dae View commit details
    Browse the repository at this point in the history
  3. ssh/knownhosts: improve IPv6 support in Normalize

    Correctly converts bracketed IPv6:
    
    - [abcd::abcd:abcd:abcd] => abcd::abcd:abcd:abcd
    - [abcd::abcd:abcd:abcd]:22 => abcd::abcd:abcd:abcd
    - [abcd::abcd:abcd:abcd]:23 => [abcd::abcd:abcd:abcd]:23
    
    Fixes golang/go#53463
    
    Change-Id: Id0a7460d8448a72e2a8c6d46137245bead9ecf9f
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/694575
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Filippo Valsorda <filippo@golang.org>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    drakkan committed Aug 19, 2025
    Configuration menu
    Copy the full SHA
    a4d1237 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. ssh: remove Go 1.24 build tag for ML-KEM kex

    Change-Id: Ia77ad1b6fef9919ab100fb10c42231725eb81c12
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/698775
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Nicola Murino <nicola.murino@gmail.com>
    Reviewed-by: Filippo Valsorda <filippo@golang.org>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    drakkan authored and gopherbot committed Aug 26, 2025
    Configuration menu
    Copy the full SHA
    8f580de View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. acme: include order problem in OrderError

    If client.WaitOrder or client.CreateOrderCert return an acme.OrderError
    it's helpful to include the order's problem field (if available). This
    will often have detailed information about why a particular order
    became invalid that's invaluable for debugging (e.g. a challenge
    response was incorrect, a name couldn't be resolved, etc).
    
    While it's possible for a consumer to poll the order themselves as part
    of handling the order to extract a fresh Order.Error field value, it
    would take an extra round-trip network request. Since we have the
    underlying error in-hand when we produce the OrderError we might as well
    include it directly.
    
    Since this field is a structured object with a number of sub-fields the
    OrderError.Error() function isn't updated to include the order problem
    error in the String description. Interested callers should instead use
    errors.Is to extract the problem information directly.
    
    Resolves golang/go#74430
    
    Cq-Include-Trybots: luci.golang.try:x_crypto-gotip-linux-amd64-longtest
    Change-Id: I3158f064793bbfdc292dd6b5e1a6bfd7729bd980
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/681037
    Auto-Submit: Daniel McCarney <daniel@binaryparadox.net>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Reviewed-by: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    cpu authored and gopherbot committed Sep 4, 2025
    Configuration menu
    Copy the full SHA
    9d77937 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2025

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I75e16a930bfe42cc082df82ab67802c42ad56a97
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/701303
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    gopherbot committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    5307a0c View commit details
    Browse the repository at this point in the history
Loading