efdb8c6 Allow MD5-SHA1 in LEGACY c-p to fix TLS 1.0

Authored and Committed by clang 2 years ago
    Allow MD5-SHA1 in LEGACY c-p to fix TLS 1.0
    
    Fedora supports TLS down to 1.0 in LEGACY crypto-policy, but TLS 1.0
    defaults to rsa_pkcs1_md5_sha1 with RSA certificates by default.
    However, MD5-SHA1 would require SECLEVEL=0, because its 67 bits of
    security do not meet SECLEVEL=1's requirement of 80 bits.
    
    Instead of setting SECLEVEL to 0 in the LEGACY crypto-policy (which
    would include all algorithms, regardless of their security level), allow
    MD5-SHA1 if rh-allow-sha1-signatures is yes and SECLEVEL is 1.
    
    Related: rhbz#2069239
    
        
file modified
+50 -47
file modified
+5 -0