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

fix(UNetStack): better compatibility with ooni/probe-cli models #41

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Sep 20, 2023

The refactoring at 45a7aa9 was a bit too aggressive and we have lost some degree of interface level compatibility with ooni/probe-cli. Let's repair this:

  • Add the CACert accessor required by ooni/probe-cli code.

  • While there, also declare the accessor as being part of UnderlyingNetwork.

  • We have a slight issue with ServerTLSConfig, which is expected by ooni/probe-cli and now is called MustNewTLSConfig and, additionally, requires the names for which to generate the certificate. We will solve these issues inside the ooni/probe-cli repository, but let's make sure the UNetStack has the correct method.

Part of ooni/probe#2531

@bassosimone bassosimone changed the title fix(UNetStack): probe-cli code requires a CACert accessor fix(UNetStack): better compatibility with ooni/probe-cli models Sep 20, 2023
@bassosimone bassosimone merged commit df36342 into main Sep 20, 2023
4 checks passed
@bassosimone bassosimone deleted the issue/2531 branch September 20, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant