tofusoup
2025-10-11
RPC input validation added with expanded cross-language integration tests
53 files · 4,282+ · 858-
RPC input validation module added
1 file changed
validation.pyNew validation module implementing input validation for RPC requests
- Added
src/tofusoup/rpc/validation.pyimplementing input validation for RPC requests, ensuring proper message format and parameter checking before processing harden behavioral1 file
validation.py
New integration tests for cross-language RPC
3 files changed
test_cross_language_matrix.pyComprehensive matrix testing for Python-Go RPC combinations (137 lines)test_curve_support.pyElliptic curve support tests for TLS (149 lines)test_error_scenarios.pyError handling and edge case tests for RPC (107 lines)
- Added
tests/integration/test_cross_language_matrix.pyfor comprehensive matrix testing of Python-Go RPC combinations qualify internal1 file
test_cross_language_matrix.py
- Added
tests/integration/test_curve_support.pytesting elliptic curve support for TLS across different curve types qualify internal1 file
test_curve_support.py
- Added
tests/integration/test_error_scenarios.pytesting error handling and edge cases in RPC communication qualify internal1 file
test_error_scenarios.py
Standalone mTLS and curve test scripts added
5 files changed
test_py_go_automtls.pyAutomated mTLS testing between Python and Go (51 lines)test_py_go_basic.pyBasic Python-to-Go RPC communication (50 lines)test_py_py_all_curves.pyAll elliptic curve variants for Python-to-Python (120 lines)test_py_to_py.pyPython-to-Python RPC testing (70 lines)test_curve.pyAdditional curve test scenarios
- Added
test_py_go_automtls.pyfor automated mTLS testing between Python and Go qualify internal1 file
test_py_go_automtls.py
- Added
test_py_go_basic.pyfor basic Python-to-Go RPC communication qualify internal1 file
test_py_go_basic.py
- Added
test_py_py_all_curves.pytesting all elliptic curve variants for Python-to-Python qualify internal1 file
test_py_py_all_curves.py
- Added
test_py_to_py.pyfor Python-to-Python RPC testing qualify internal1 file
test_py_to_py.py
- Expanded
test_curve.pywith additional curve test scenarios qualify internal1 file
test_curve.py