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

Renew info about TLS in http api #627

Merged
merged 3 commits into from
Jan 27, 2023
Merged

Conversation

Zhaars
Copy link
Contributor

@Zhaars Zhaars commented Jan 26, 2023

Added info about setting default true value for the http_api_tls_transport_enable flag. Update tests to use HTTP API with tls.

Checklist

Added info about default true for  http_api_tls_transport_enable flag
@Zhaars Zhaars requested a review from Lagovas January 26, 2023 17:10
Fixed flag description
tests/test.py Outdated
@@ -657,7 +657,12 @@ def test_clearing(self):
# execute any query for loading key by acra
result = self.engine1.execute(sa.select([1]).limit(1))
result.fetchone()
with urlopen('http://localhost:{}/resetKeyStorage'.format(self.ACRASERVER_PORT + 1)) as response:
import ssl
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets move this import to the top of the file where all imports should be)

and lets add check_hostname for SSL to be stricter as we do it for asyncpg executor - https://github.com/cossacklabs/acra/blob/master/tests/base.py#L1198

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@Zhaars Zhaars merged commit f8bc6b6 into master Jan 27, 2023
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.

2 participants