Skip to content

Commit

Permalink
Fedora 41 also doesn't allow SHA-1 apparently.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jan 8, 2025
1 parent a7411ed commit 9462263
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@
assert:
that:
- second_signature_algorithm is changed
# RHEL9 disables SHA-1 algorithms by default making this test fail with a 'libcrypt' error. Other systems which
# impose a similar restriction may also need to skip this block in the future.
when: not (ansible_facts['distribution'] == "RedHat" and (ansible_facts['distribution_major_version'] | int) >= 9)
# RHEL9 and Fedora 41 disable the SHA-1 algorithms by default, making this test fail with a 'libcrypt' error.
# Other systems which impose a similar restriction may also need to skip this block in the future.
when:
- not (ansible_facts['distribution'] == "RedHat" and (ansible_facts['distribution_major_version'] | int) >= 9)
- not (ansible_facts['distribution'] == "Fedora" and (ansible_facts['distribution_major_version'] | int) >= 41)

- name: Omit signature algorithm
openssh_cert:
Expand Down

0 comments on commit 9462263

Please sign in to comment.