pyca / service-identity

Service Identity Verification for Python

Home Page:https://service-identity.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cryptography.x509 backend

mithrandi opened this issue · comments

I'd like something I can pass a cryptography.x509.Certificate and hostname to.

Totally agreed! Volunteers? :)

I'll probably provide a PR at some point if someone doesn't beat me to it, have a few other yaks on this particular stack to shave first.

IIRC, all you have to do is to extract the relevant names from the certificate. Mostly a SMOP.