AlmaLinux / almalinux-deploy

EL to AlmaLinux migration tool.
GNU General Public License v3.0
535 stars 71 forks source link

Crypto-policies Option "min rsa size" not working in AlmaLinux 8 #179

Open 5u5ann9 opened 8 months ago

5u5ann9 commented 8 months ago

Hello,

regadless of the Crypto-policy set, it is possible to login with a rsa 1024 key.

I think this is possibly due to the OpenSSH version installed in Almalinux 8. The "min rsa size" in the Crypto-Policies set the value for the option "RequiredRSASize" in OpenSSH configuration, but this option was just implemented in OpenSSH version 9.0. Fedora 37 has implementet the patch openssh-server-8.8p1-7.fc37 which fixed the issue.

Steps to reproduce: