pyvider
2025-01-21
Added `py-kv-client-insecure
36 files · 1,783+ · 785-
Insecure KV Client Example
36 files changed
debugging-2025-01-20-1256.mdUpdated debugging-2025-01-20-1256.md (+23/-5 lines)env.shUpdated env.sh (+74/-6 lines)kv-data-helloRemoved kv-data-hello (-1 lines)kv-data-hiRemoved kv-data-hi (-1 lines)example-kv-go-client-log-client-cert.mdRemoved example-kv-go-client-log-client-cert.md (-48 lines)example-kv-go-client-log-server-cert.txtRemoved example-kv-go-client-log-server-cert.txt (-48 lines)example-kv-go-client-log.txtRemoved example-kv-go-client-log.txt (-36 lines)example-py-client-failure-client-cert.mdRemoved example-py-client-failure-client-cert.md (-48 lines)example-py-client-failure-server-cert.mdRemoved example-py-client-failure-server-cert.md (-48 lines)example-py-client-failure.txtRemoved example-py-client-failure.txt (-176 lines)go-kv-client-automtls-client-cert.txtAdded go-kv-client-automtls-client-cert.txt (+48 lines)go-kv-client-automtls-disabled.txtAdded go-kv-client-automtls-disabled.txt (+276 lines)go-kv-client-automtls-log.txtAdded go-kv-client-automtls-log.txt (+89 lines)go-kv-client-automtls-server-cert.txtAdded go-kv-client-automtls-server-cert.txt (+48 lines)py-client-client-cert.txtAdded py-client-client-cert.txt (+48 lines)py-client-log.txtAdded py-client-log.txt (+153 lines)py-client-server-cert.txtAdded py-client-server-cert.txt (+48 lines)py-insecure-go-server-log.txtAdded py-insecure-go-server-log.txt (+43 lines)py-kv-client-insecure-logs.txtAdded py-kv-client-insecure-logs.txt (+36 lines)main.goUpdated main.go (+18/-2 lines)validate-env-certs.goAdded validate-env-certs.go (+327 lines)main.goUpdated main.go (+33/-88 lines)py-kv-client-insecure.pyAdded py-kv-client-insecure.py (+142 lines)secure-client.pyAdded secure-client.py (+194 lines)test_basic.pyRemoved test_basic.py (-72 lines)client.pyUpdated client.py (+31/-24 lines)config.pyUpdated config.py (+89/-30 lines)handshake.pyUpdated handshake.py (+9/-9 lines)security.pyUpdated security.py (+17/-101 lines)server.pyUpdated server.py (+9/-11 lines)conftest.pyUpdated conftest.py (+2/-2 lines)run_tcp_server.pyUpdated run_tcp_server.py (+1/-7 lines)test_client.pyUpdated test_client.py (+2/-2 lines)test_client_grpc.pyUpdated test_client_grpc.py (+10/-7 lines)test_security.pyUpdated test_security.py (+11/-11 lines)x_test_server.pyUpdated x_test_server.py (+2/-2 lines)
- Added
src/pyvider/rpcplugin/examples/grpc/py-kv-client-insecure.py(142 lines) for testing KV Put/Get operations over an insecure gRPC channel qualify internal1 file
py-kv-client-insecure.py
- Includes raw Unix socket connection testing via
socket.AF_UNIXbefore establishing gRPC channel qualify internal1 file
socket.AF_UNIX
- Uses
grpc.insecure_channelwithgrpc.channel_ready_futurefor connection readiness verification interface internal2 files
grpc.insecure_channelgrpc.channel_ready_future
- Tests Put and Get operations with value matching validation
qualify
internal
14 files
client.pyconfig.pydebugging-2025-01-20-1256.mdenv.shkv-data-hellokv-data-hipy-insecure-go-server-log.txtpy-kv-client-insecure-logs.txtvalidate-env-certs.gopy-kv-client-insecure.pysecure-client.pytest_basic.pyhandshake.pysecurity.py
Client Trust Chain
1 file changed
client.pyChanges to client.py
RPCPluginConfig
15 files changed
client.pyChanges to client.pyconfig.pyChanges to config.pydebugging-2025-01-20-1256.mdChanges to debugging-2025-01-20-1256.mdenv.shChanges to env.shkv-data-helloChanges to kv-data-hellokv-data-hiChanges to kv-data-hipy-client-log.txtChanges to py-client-log.txtpy-insecure-go-server-log.txtChanges to py-insecure-go-server-log.txtpy-kv-client-insecure-logs.txtChanges to py-kv-client-insecure-logs.txtvalidate-env-certs.goChanges to validate-env-certs.gopy-kv-client-insecure.pyChanges to py-kv-client-insecure.pysecure-client.pyChanges to secure-client.pytest_basic.pyChanges to test_basic.pyhandshake.pyChanges to handshake.pysecurity.pyChanges to security.py
- Added
PLUGIN_SERVER_ENDPOINT,PLUGIN_SERVER_CERT,PLUGIN_CLIENT_CERT,PLUGIN_CLIENT_KEYto required environment variables baseline internal15 files
client.pyconfig.pydebugging-2025-01-20-1256.mdenv.shkv-data-hellokv-data-hipy-client-log.txtpy-insecure-go-server-log.txtpy-kv-client-insecure-logs.txtvalidate-env-certs.gopy-kv-client-insecure.pysecure-client.pytest_basic.pyhandshake.pysecurity.py
- Added
validate_certificatesmethod that loads and inspects both server and client X.509 certificates instantiate internal15 files
client.pyconfig.pydebugging-2025-01-20-1256.mdenv.shkv-data-hellokv-data-hipy-client-log.txtpy-insecure-go-server-log.txtpy-kv-client-insecure-logs.txtvalidate-env-certs.gopy-kv-client-insecure.pysecure-client.pytest_basic.pyhandshake.pysecurity.py
Removed Old Examples
2 files changed
test-simple2.pyUpdated test-simple2.pytest_basic.pyUpdated test_basic.py