lief-project / LIEF

LIEF - Library to Instrument Executable Formats
https://lief.re
Apache License 2.0
4.4k stars 611 forks source link

Does lief support certificate revocation detection? #892

Open Fallen-Tiger opened 1 year ago

Fallen-Tiger commented 1 year ago

Whether lief can detect certificate revocation, I did not find the corresponding interface in the official document, and how to use the function, but in the source code I found that some return values ​​about crl are defined, such as BADCERT_REVOKED and so on. And in some functions such as mbedtls_x509_crt_verify_with_profile, it seems that crl is assigned as a null pointer.

romainthomas commented 1 year ago

This is not actually implemented but I welcome contributions on this feature.