diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-04-20 21:39:32 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-04-20 21:39:32 +0100 |
commit | c7350ab6f1d8054d1bc6d2d14d071010bfb0e92f (patch) | |
tree | abb8e80a02b556710cb92804ed226d698707c4eb /server/signer | |
parent | 8a452cd5e324b7b2b9ffea252b3f47c1349f97b6 (diff) |
Be explicit that this is for signing user keys
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 |