upgrade go mail (#35752)

backport #35748
This commit is contained in:
Lunny Xiao
2025-10-27 09:59:50 -07:00
committed by GitHub
parent 99053ce4fa
commit ac69bf8ab9
3 changed files with 28 additions and 33 deletions

View File

@@ -208,7 +208,7 @@ func SSHNativeParsePublicKey(keyLine string) (string, int, error) {
// The ssh library can parse the key, so next we find out what key exactly we have.
switch pkey.Type() {
case ssh.KeyAlgoDSA:
case ssh.KeyAlgoDSA: //nolint:staticcheck // it's deprecated
rawPub := struct {
Name string
P, Q, G, Y *big.Int