mirror of
https://github.com/curl/curl.git
synced 2026-07-23 04:37:15 +03:00
runtests: allow configuring SSH host/client key algorithm
via env `CURL_TEST_SSH_KEYALGO`, `rsa` (default), `ecdsa`, `ed25519`. To ease debugging and testing and to make these code paths more universal. Closes #21223
This commit is contained in:
parent
2e5d219205
commit
acda4eae5e
7 changed files with 44 additions and 13 deletions
|
|
@ -91,10 +91,10 @@ our $sshlog = undef; # ssh client log file
|
|||
our $sftplog = undef; # sftp client log file
|
||||
our $sftpcmds = 'curl_sftp_cmds'; # sftp client commands batch file
|
||||
our $knownhosts = 'curl_client_knownhosts'; # ssh knownhosts file
|
||||
our $hstprvkeyf = 'curl_host_rsa_key'; # host private key file
|
||||
our $hstpubkeyf = 'curl_host_rsa_key.pub'; # host public key file
|
||||
our $hstpubmd5f = 'curl_host_rsa_key.pub_md5'; # md5 hash of host public key
|
||||
our $hstpubsha256f = 'curl_host_rsa_key.pub_sha256'; # sha256 hash of host public key
|
||||
our $hstprvkeyf = 'curl_host_key'; # host private key file
|
||||
our $hstpubkeyf = 'curl_host_key.pub'; # host public key file
|
||||
our $hstpubmd5f = 'curl_host_key.pub_md5'; # md5 hash of host public key
|
||||
our $hstpubsha256f = 'curl_host_key.pub_sha256'; # sha256 hash of host public key
|
||||
our $cliprvkeyf = 'curl_client_key'; # client private key file
|
||||
our $clipubkeyf = 'curl_client_key.pub'; # client public key file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue