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:
parent
68fd2035cd
commit
1dd3d5cdf0
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user