diff options
Diffstat (limited to 'server/signer')
-rw-r--r-- | server/signer/signer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/signer/signer.go b/server/signer/signer.go index 4ae5058..4594c35 100644 --- a/server/signer/signer.go +++ b/server/signer/signer.go @@ -18,7 +18,7 @@ type KeySigner struct { permissions map[string]string } -func (s *KeySigner) Sign(req *lib.SignRequest) (string, error) { +func (s *KeySigner) SignUserKey(req *lib.SignRequest) (string, error) { pubkey, _, _, _, err := ssh.ParseAuthorizedKey([]byte(req.Key)) if err != nil { return "", err |