commit | f4d47b0db5875e61dd52acdb63be800177ab48bb | [log] [tgz] |
---|---|---|
author | Nicola Murino <nicola.murino@gmail.com> | Tue Aug 12 07:59:34 2025 +0200 |
committer | Nicola Murino <nicola.murino@gmail.com> | Mon Sep 15 23:32:56 2025 -0700 |
tree | 0c974606cbfd3f715128a0173fc6a599dd22efe9 | |
parent | 96dc232fbd7928e9c23da42e770c8b79a2348d86 [diff] |
ssh: return clearer error when signature algorithm is used as key format ParsePublicKey now returns a more specific error when a signature algorithm like rsa-sha2-256 is mistakenly provided as a key format Change-Id: Ic08286a5b2b326e99dd3e61594919203f0c36791 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/695075 Reviewed-by: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Freeman <markfreeman@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.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.