1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 03:09:06 +03:00

Update tests to generate keys using old PEM format

This commit is contained in:
Chip Senkbeil 2021-09-26 22:17:26 -05:00 committed by Wez Furlong
parent 68fd2035cd
commit 1dd3d5cdf0

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())