commit | f5a2eabcab987dc84f30d5479ed5c5605b5de634 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Mon Aug 18 18:57:42 2025 +0200 |
committer | Gopher Robot <gobot@golang.org> | Tue Aug 19 10:38:43 2025 -0700 |
tree | 712e4472b9a253c2a96ac34d77bd5e0956e1b6a1 | |
parent | 44ecf3af9978b32529ce689a6964bd557c79aa1c [diff] |
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>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.