Skip to content

Commit

Permalink
Merge pull request #18735 from g7/sshd-hostkeyalgorithms
Browse files Browse the repository at this point in the history
console/sshd: test_cryptographic_policies: ensure known host keys don't get dropped
  • Loading branch information
jlausuch authored Feb 28, 2024
2 parents b3034f9 + 86e2a00 commit 4671475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/console/sshd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sub test_cryptographic_policies() {
# TODO: This does not work for Tumbleweed because of nmap
# See pull request #11930 for more details
my @crypto_params = (["Ciphers", "cipher", "-c "], ["KexAlgorithms", "kex", "-o kexalgorithms="], ["MACS", "mac", "-m "]);
push(@crypto_params, ["HostKeyAlgorithms", "key", "-o HostKeyAlgorithms="]) unless (is_opensuse);
push(@crypto_params, ["HostKeyAlgorithms", "key", "-o UpdateHostKeys=no -o HostKeyAlgorithms="]) unless (is_opensuse);
my @policies;

# Create an array of the different cryptographic policies that will be tested
Expand Down

0 comments on commit 4671475

Please sign in to comment.