aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-04-20 21:39:32 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-04-20 21:39:32 +0100
commitc7350ab6f1d8054d1bc6d2d14d071010bfb0e92f (patch)
treeabb8e80a02b556710cb92804ed226d698707c4eb /server/main.go
parent8a452cd5e324b7b2b9ffea252b3f47c1349f97b6 (diff)
Be explicit that this is for signing user keys
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.go b/server/main.go
index f90037b..500e713 100644
--- a/server/main.go
+++ b/server/main.go
@@ -99,7 +99,7 @@ func signHandler(a *appContext, w http.ResponseWriter, r *http.Request) (int, er
if err != nil {
return http.StatusInternalServerError, err
}
- signed, err := a.sshKeySigner.Sign(req)
+ signed, err := a.sshKeySigner.SignUserKey(req)
a.authprovider.Revoke(token)
if err != nil {
return http.StatusInternalServerError, err