Skip to content

Conversation

@dacoburn
Copy link
Collaborator

Added allow_unverified parameter to the Socket SDK constructor to allow disabling SSL certificate verification for testing environments. This enhancement enables users to work with self-signed certificates or local development servers while maintaining secure defaults for production use. The implementation includes comprehensive unit tests and updated documentation.

Public Changelog

Added optional allow_unverified parameter to socketdev constructor for disabling SSL certificate verification in testing environments

…tion

- Add allow_unverified parameter to socketdev constructor (defaults to False)
- Add set_allow_unverified method to API class
- Pass verify=not allow_unverified to requests.request() calls
- Add comprehensive unit tests for the new functionality
- Update README.rst with documentation for the new parameter
- Maintains backward compatibility with existing code

This allows users to disable SSL verification for testing environments
with self-signed certificates while keeping secure defaults for production.
@dacoburn dacoburn added the product changelog Any public-facing change in the product's features label Nov 15, 2025
@dacoburn dacoburn requested a review from a team as a code owner November 15, 2025 00:16
@dacoburn dacoburn requested review from alxhotel and hemanthkini and removed request for a team November 15, 2025 00:16
@github-actions
Copy link

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketdev==3.0.19.dev1

@dacoburn dacoburn merged commit 1dc8eff into main Nov 15, 2025
6 checks passed
@dacoburn dacoburn deleted the doug/add-unverified-option branch November 15, 2025 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product changelog Any public-facing change in the product's features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants