aboutsummaryrefslogtreecommitdiff
path: root/server/signer
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-04-19 22:54:47 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-04-19 22:54:47 +0100
commitaee2d5c0606b97c0b3fd28ad487708a552e42b57 (patch)
treeb0362783eb308cd7e3b527f691ac5deb9c22327a /server/signer
parentcc3c74ffdbec0b8b411afbbfac56f34d96553015 (diff)
this serves no purpose
Diffstat (limited to 'server/signer')
-rw-r--r--server/signer/signer_test.go18
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),