Generate FIPS compliant SSH keys
Generate FIPS compliant SSH keys required for testing system FIPS mode support
This commit is contained in:
parent
38f9687cc1
commit
991293a897
2 changed files with 3 additions and 1 deletions
|
|
@ -260,6 +260,8 @@ func WithSSHKeyPair(f func(privateKey, publicKey string) error) error {
|
|||
cmd := exec.Command("ssh-keygen",
|
||||
"-N", "",
|
||||
"-f", privateKey,
|
||||
"-t", "rsa-sha2-256",
|
||||
"-b", "2048",
|
||||
)
|
||||
|
||||
err := cmd.Run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue