- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParseAuthorizedKey (0.08 sec)
-
cmd/sftp-server.go
// be stored in the critical options. if len(attribValue) != 1 { continue } if attribKey == "sshPublicKey" && key != nil { key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0])) if err != nil { return nil, errSFTPPublicKeyBadFormat } if subtle.ConstantTimeCompare(key2.Marshal(), key.Marshal()) != 1 { return nil, errAuthentication }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0)