Open
Description
There's a PR on uvicorn to add this extension: encode/uvicorn#1119
And I have a question... The author said we either need to maintain the list that is maintained by IANA, or use cryptography
as dependency.
On the spec, this is written:
client_cert_name duplicates information that is also available in client_cert_chain. However, many ASGI applications will probably find that information is sufficient for their application - it provides a simple string that identifies the user. It is simpler to use than parsing the x509 certificate. For the server, this information is readily available.
There are theoretical interoperability problems with client_cert_name, since it depends on a list of object ID names that is maintained by IANA and theoretically can change. In practice, this is not a real problem, since the object IDs that are actually used in certificates have not changed in many years. So in practice it will be fine.
As a maintainer of uvicorn, I don't really want to generate the list as the PR is doing, neither add cryptography
as dependency. Suggestions? Was this spec created by theory, or it was actually implemented when it was written?
Metadata
Metadata
Assignees
Labels
No labels