Skip to content

Commit 46346b5

Browse files
joamagclaude
andcommitted
chore: silence UNKNOWN_PROTOCOL, VERSION_TOO_LOW and BAD_KEY_SHARE SSL warnings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2507944 commit 46346b5

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
*
16+
* Add `UNKNOWN_PROTOCOL`, `VERSION_TOO_LOW` and `BAD_KEY_SHARE` to `SSL_SILENT_REASONS`
1717

1818
### Fixed
1919

src/netius/base/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@
178178
"WRONG_VERSION_NUMBER",
179179
"RECORD_LAYER_FAILURE",
180180
"NO_SHARED_CIPHER",
181+
"UNKNOWN_PROTOCOL",
182+
"VERSION_TOO_LOW",
183+
"BAD_KEY_SHARE",
181184
"SSLV3_ALERT_CERTIFICATE_UNKNOWN",
182185
)
183186
""" The list containing the SSL reasons that should be silenced

0 commit comments

Comments
 (0)