Use case:
I'm having a case now where I need to know if the certificate is using SHA1 as signature algorithm. SHA1 is deprecated in TLS 1.2 (*) and most browsers block certs signed with SHA1 (*). However Erlang's :ssl module does not validate signature algorithm.
Fix:
Added a field for signature_algorithm that returns the stringified version of :public_key.pkix_sign_types() for the cert.
👋
Use case: I'm having a case now where I need to know if the certificate is using SHA1 as signature algorithm. SHA1 is deprecated in TLS 1.2 (*) and most browsers block certs signed with SHA1 (*). However Erlang's
:ssl
module does not validate signature algorithm.Fix: Added a field for
signature_algorithm
that returns the stringified version of:public_key.pkix_sign_types()
for the cert.Thank you for your review and consideration.