Set min value for the --ssh-rsa-bits flag
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -32,8 +32,8 @@ func TestRSAKeyBits_Set(t *testing.T) {
|
||||
}{
|
||||
{"supported", "4096", "4096", false},
|
||||
{"empty (default)", "", "2048", false},
|
||||
{"unsupported", "0", "0", true},
|
||||
{"unsupported", "123", "0", true},
|
||||
{"unsupported", "512", "0", true},
|
||||
{"unsupported", "1025", "0", true},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user