Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Authenticator.server_{cert,key}_fingerprint #164

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

reynir
Copy link
Contributor

@reynir reynir commented Nov 1, 2023

By dropping the server_ prefix. The functions do not check that the certificate have extended key usage of server auth and could just as well be used to authenticate clients (although the server case is more likely). The old names are kept as aliases and a deprecation attribute is added.

This may result in some churn, but judging from sherlocode it doesn't look too bad.

By dropping the server_ prefix. The functions do not check that the
certificate have extended key usage of server auth and could just as
well be used to authenticate clients (although the server case is more
likely). The old names are kept as aliases and a deprecation attribute
is added.
The names server_cert_fingerprint and server_key_fingerprint may suggest
to the user that the functions check the extended key usage is server
auth. This change clarifies this is not the case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant