diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-23 22:29:46 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-23 22:29:46 +0100 |
commit | eb1184b284ea37cc31556e3598916ac9c3fa6939 (patch) | |
tree | 20131b8be8e77ad1e575f8d616bf2294d3cfb888 /server/signer | |
parent | 99225736d41e86c7f47eac4db3455b18178bba24 (diff) |
Record request reason in the db instead of logging
Diffstat (limited to 'server/signer')
-rw-r--r-- | server/signer/signer.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/signer/signer.go b/server/signer/signer.go index 8830d50..2a15849 100644 --- a/server/signer/signer.go +++ b/server/signer/signer.go @@ -74,9 +74,6 @@ func (s *KeySigner) SignUserKey(req *lib.SignRequest, username string) (*ssh.Cer if err := cert.SignCert(rand.Reader, s.ca); err != nil { return nil, err } - if req.Message != "" { - log.Printf("Message from %s: %s", username, req.Message) - } log.Printf("Issued cert id: %s principals: %s fp: %s valid until: %s\n", cert.KeyId, cert.ValidPrincipals, ssh.FingerprintSHA256(pubkey), time.Unix(int64(cert.ValidBefore), 0).UTC()) return cert, nil } |