diff options
| author | Hans Nielsen <hans@stackallocated.com> | 2020-02-18 22:05:19 -0800 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-11-15 23:45:14 +0000 |
| commit | b4de73f9ece8163b492578e101e4ef8923ac2c5c (patch) | |
| tree | f9b361d32b326e646e49e8b17fbc5d9b97b36e06 /go.sum | |
| parent | ceb1ce70b4faafeeb5b3f23cc83f09b39a4f3f1d (diff) | |
| download | go-x-crypto-b4de73f9ece8163b492578e101e4ef8923ac2c5c.tar.xz | |
ssh: support RSA SHA-2 (RFC8332) signatures
This change adds support for RSA SHA-2 based signatures for host keys and certificates. It also switches the default certificate signature algorithm for RSA to use SHA-512. This is implemented by treating ssh.Signer specially when the key type is `ssh-rsa` by also allowing SHA-256 and SHA-512 signatures.
Fixes golang/go#37278
Change-Id: I2ee1ac4ae4c9c1de441a2d6cf1e806357ef18910
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220037
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions
