Update tests to generate keys using old PEM format

This commit is contained in:
Chip Senkbeil authored and Wez Furlong committed 2021-10-10 14:54:45 -07:00
1 parent 68fd2035cd
commit 1dd3d5cdf0
1 file changed
+1
+1
View File
@@ -27,6 +27,7 @@ impl SshKeygen {
// ssh-keygen -t rsa -f $ROOT/id_rsa -N "" -q
pub fn generate_rsa(path: impl AsRef<Path>, passphrase: impl AsRef<str>) -> io::Result<bool> {
let res = Command::new("ssh-keygen")
.args(&["-m", "PEM"])
.args(&["-t", "rsa"])
.arg("-f")
.arg(path.as_ref())