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

Merged
merged 4 commits into from
Jul 20, 2024

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.

@hannesm hannesm mentioned this pull request Jul 17, 2024
@hannesm
Copy link
Member

hannesm commented Jul 18, 2024

could you rebase on top of main and add a changes entry? thanks a lot

@hannesm
Copy link
Member

hannesm commented Jul 18, 2024

since this will be part of a major release, there's no needfor deprecation, we can just add a changes entry and drop the old names

@reynir reynir force-pushed the authenticator-fingerprint branch from 1f481ae to 51b4edf Compare July 19, 2024 12:10
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).
@reynir reynir force-pushed the authenticator-fingerprint branch from 51b4edf to 9f6408a Compare July 19, 2024 12:11
lib/x509.mli Outdated Show resolved Hide resolved
@hannesm hannesm merged commit d570197 into mirleft:main Jul 20, 2024
1 check passed
@hannesm
Copy link
Member

hannesm commented Jul 20, 2024

thanks

dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Jul 22, 2024
What's Changed

- Fix mixup of subject and hash in error message by @reynir in
  mirleft/ocaml-x509#165
- Use string instead of cstruct by @dinosaure in mirleft/ocaml-x509#167
- Rename Authenticator.server_{cert,key}_fingerprint by @reynir in mirleft/ocaml-x509#164
- Add Certificate.fold_decode_pem_multiple by @art-w in
  mirleft/ocaml-x509#169

New Contributors

- @art-w made their first contribution in mirleft/ocaml-x509#169
@reynir reynir deleted the authenticator-fingerprint branch July 22, 2024 16:34
avsm pushed a commit to avsm/opam-repository that referenced this pull request Sep 5, 2024
What's Changed

- Fix mixup of subject and hash in error message by @reynir in
  mirleft/ocaml-x509#165
- Use string instead of cstruct by @dinosaure in mirleft/ocaml-x509#167
- Rename Authenticator.server_{cert,key}_fingerprint by @reynir in mirleft/ocaml-x509#164
- Add Certificate.fold_decode_pem_multiple by @art-w in
  mirleft/ocaml-x509#169

New Contributors

- @art-w made their first contribution in mirleft/ocaml-x509#169
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.

2 participants