diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/signer/signer_test.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/server/signer/signer_test.go b/server/signer/signer_test.go index 6ee67ee..6feeaa5 100644 --- a/server/signer/signer_test.go +++ b/server/signer/signer_test.go @@ -21,24 +21,6 @@ var ( } ) -func TestSign(t *testing.T) { - s := &lib.SignRequest{ - Key: string(testdata.Pub), - Principal: "gopher1", - ValidUntil: time.Now().Add(1 * time.Hour), - } - ret, err := signer.Sign(s) - if err != nil { - t.Fatal(err) - } - - c, _, _, _, err := ssh.ParseAuthorizedKey([]byte(ret)) - cert, ok := c.(*ssh.Certificate) - if !ok { - t.Fatalf("Expected type *ssh.Certificate, got %v (%T)", cert, cert) - } -} - func TestCert(t *testing.T) { r := &lib.SignRequest{ Key: string(testdata.Pub), |