update crypto upstream (#161)
* update dep * go mod tidy * fix test * fix flaky test
This commit is contained in:
parent
8eeb3abac5
commit
bffa03dde0
4 changed files with 19 additions and 14 deletions
|
|
@ -62,7 +62,7 @@ func TestFixed(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestHostkeyParam(t *testing.T) {
|
||||
_, piperport := nextAvailablePiperAddress()
|
||||
piperaddr, piperport := nextAvailablePiperAddress()
|
||||
keyparam := base64.StdEncoding.EncodeToString([]byte(testprivatekey))
|
||||
|
||||
piper, _, _, err := runCmd("/sshpiperd/sshpiperd",
|
||||
|
|
@ -81,6 +81,8 @@ func TestHostkeyParam(t *testing.T) {
|
|||
|
||||
defer killCmd(piper)
|
||||
|
||||
waitForEndpointReady(piperaddr)
|
||||
|
||||
b, err := runAndGetStdout(
|
||||
"ssh-keyscan",
|
||||
"-p",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue