internal/sshd/server_config_test.go
Function TestUserCertificateHandling
has 82 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestUserCertificateHandling(t *testing.T) {
testRoot := testhelper.PrepareTestRootDir(t)
validUserCert := userCert(t, ssh.UserCert, time.Now().Add(time.Hour))
Function TestUserKeyHandling
has 67 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestUserKeyHandling(t *testing.T) {
testRoot := testhelper.PrepareTestRootDir(t)
validRSAKey := rsaPublicKey(t)