- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParseAuthorizedKey (0.08 sec)
-
cmd/sftp-server_test.go
keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub") if err != nil { c.Fatalf("could not read test key file: %s", err) } testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes) if err != nil { c.Fatalf("could not parse test key file: %s", err) } newSSHCon := newSSHConnMock("dillon=ldap") _, err = sshPubKeyAuth(newSSHCon, testKey)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0)