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

Add Certificate.fold_decode_pem_multiple #169

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

art-w
Copy link
Contributor

@art-w art-w commented Jul 18, 2024

Following mirage/ca-certs#30, @hannesm suggested that the handling of certificate parse errors from pem would be better handled in X509 than in ca-certs, as the parsing logic there is less complete than in X509, with no support for \r\n for example, but there's a need to ignore parse errors which wasn't possible before with x509 api alone.

lib/pem.ml Outdated Show resolved Hide resolved
lib/pem.ml Outdated Show resolved Hide resolved
@art-w art-w force-pushed the decode_pem_errors branch 2 times, most recently from 7582e26 to 875d338 Compare July 19, 2024 10:38
@hannesm hannesm merged commit 9a56457 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
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