You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compute the name hash for CRLs (X509Name.hash() in pyopenssl), and it seems there is no equivalent operation in the cryptography package. The closest I can find is Name.public_bytes(), but that only gives me X509Name.der(). I tried reproducing the steps in hash()'s documentation, but I'm getting a different hash than openssl. Not to mention the process is internal and may be subject to change.
What is the suggested replacement for pyopenssl's X509Name.hash()?