pyvider 2025-01-20
Continued rpcplugin client and config refinements
39 files · 1,820+ · 562-

Client Handshake and Channel

3 files changed
  • README.md Added README.md (+240 lines)
  • output.py Updated output.py (+1/-1 lines)
  • priming.md Added priming.md (+135 lines)
  • Expanded handshake debug logging to show each parsed field on its own line (handshake_version, protocol_version, transport_name, endpoint, protocol, server_cert_pem) interface behavioral
    2 files
    • client.py
    • handshake.py
  • Changed _create_grpc_channel to use self.client_cert_pem and self.client_key_pem instance attributes directly instead of function parameters decouple internal
    2 files
    • self.client_cert_pem
    • self.client_key_pem
  • Server cert no longer normalized via normalize_pem during handshake; stored as-is from the handshake response decouple behavioral
    38 files
    • output.py
    • priming.md
    • client.py
    • config.py
    • README.md
    • greeter
    • build.sh
    • debugging-2025-01-20-1256.md
    • env.sh
    • go-kv-example-log.txt
    • kv-client
    • kv-data-hello
    • kv-go-server
    • go-kv-client-automtls-client-cert.txt
    • go-kv-client-automtls-disabled.txt
    • go-kv-client-automtls-log.txt
    • go-kv-client-automtls-server-cert.txt
    • py-client-client-cert.txt
    • py-client-log.txt
    • py-client-server-cert.txt
    • main.go
    • main.go
    • certutil.go
    • grpc.go
    • interface.go
    • test-simple.py
    • test-simple2.py
    • handshake.py
    • go-client-get.txt
    • go-client-put.txt
    • security.py
    • server.py
    • conftest.py
    • run_tcp_server.py
    • test_client.py
    • test_client_grpc.py
    • test_security.py
    • x_test_server.py
  • Removed grpc.default_authority option from Unix socket channel creation interface behavioral
    1 file
    • grpc.default_authority

RPCPluginConfig Expansion

36 files changed
  • client.py Changes to client.py
  • config.py Changes to config.py
  • README.md Changes to README.md
  • greeter Changes to greeter
  • build.sh Changes to build.sh
  • debugging-2025-01-20-1256.md Changes to debugging-2025-01-20-1256.md
  • env.sh Changes to env.sh
  • go-kv-example-log.txt Changes to go-kv-example-log.txt
  • kv-client Changes to kv-client
  • kv-data-hello Changes to kv-data-hello
  • kv-go-server Changes to kv-go-server
  • go-kv-client-automtls-client-cert.txt Changes to go-kv-client-automtls-client-cert.txt
  • go-kv-client-automtls-disabled.txt Changes to go-kv-client-automtls-disabled.txt
  • go-kv-client-automtls-log.txt Changes to go-kv-client-automtls-log.txt
  • go-kv-client-automtls-server-cert.txt Changes to go-kv-client-automtls-server-cert.txt
  • py-client-client-cert.txt Changes to py-client-client-cert.txt
  • py-client-log.txt Changes to py-client-log.txt
  • py-client-server-cert.txt Changes to py-client-server-cert.txt
  • main.go Changes to main.go
  • main.go Changes to main.go
  • certutil.go Changes to certutil.go
  • grpc.go Changes to grpc.go
  • interface.go Changes to interface.go
  • test-simple.py Changes to test-simple.py
  • test-simple2.py Changes to test-simple2.py
  • handshake.py Changes to handshake.py
  • go-client-get.txt Changes to go-client-get.txt
  • go-client-put.txt Changes to go-client-put.txt
  • security.py Changes to security.py
  • server.py Changes to server.py
  • conftest.py Changes to conftest.py
  • run_tcp_server.py Changes to run_tcp_server.py
  • test_client.py Changes to test_client.py
  • test_client_grpc.py Changes to test_client_grpc.py
  • test_security.py Changes to test_security.py
  • x_test_server.py Changes to x_test_server.py
  • Added PLUGIN_SERVER_ENDPOINT, PLUGIN_SERVER_CERT, PLUGIN_CLIENT_CERT, PLUGIN_CLIENT_KEY to required environment variables baseline internal
    36 files
    • client.py
    • config.py
    • README.md
    • greeter
    • build.sh
    • debugging-2025-01-20-1256.md
    • env.sh
    • go-kv-example-log.txt
    • kv-client
    • kv-data-hello
    • kv-go-server
    • go-kv-client-automtls-client-cert.txt
    • go-kv-client-automtls-disabled.txt
    • go-kv-client-automtls-log.txt
    • go-kv-client-automtls-server-cert.txt
    • py-client-client-cert.txt
    • py-client-log.txt
    • py-client-server-cert.txt
    • main.go
    • main.go
    • certutil.go
    • grpc.go
    • interface.go
    • test-simple.py
    • test-simple2.py
    • handshake.py
    • go-client-get.txt
    • go-client-put.txt
    • security.py
    • server.py
    • conftest.py
    • run_tcp_server.py
    • test_client.py
    • test_client_grpc.py
    • test_security.py
    • x_test_server.py
  • Added validate_certificates static method that loads and logs subject/serial for both server and client PEM certificates instantiate internal
    36 files
    • client.py
    • config.py
    • README.md
    • greeter
    • build.sh
    • debugging-2025-01-20-1256.md
    • env.sh
    • go-kv-example-log.txt
    • kv-client
    • kv-data-hello
    • kv-go-server
    • go-kv-client-automtls-client-cert.txt
    • go-kv-client-automtls-disabled.txt
    • go-kv-client-automtls-log.txt
    • go-kv-client-automtls-server-cert.txt
    • py-client-client-cert.txt
    • py-client-log.txt
    • py-client-server-cert.txt
    • main.go
    • main.go
    • certutil.go
    • grpc.go
    • interface.go
    • test-simple.py
    • test-simple2.py
    • handshake.py
    • go-client-get.txt
    • go-client-put.txt
    • security.py
    • server.py
    • conftest.py
    • run_tcp_server.py
    • test_client.py
    • test_client_grpc.py
    • test_security.py
    • x_test_server.py
  • Config now imported as config singleton in client module baseline internal
    36 files
    • client.py
    • config.py
    • README.md
    • greeter
    • build.sh
    • debugging-2025-01-20-1256.md
    • env.sh
    • go-kv-example-log.txt
    • kv-client
    • kv-data-hello
    • kv-go-server
    • go-kv-client-automtls-client-cert.txt
    • go-kv-client-automtls-disabled.txt
    • go-kv-client-automtls-log.txt
    • go-kv-client-automtls-server-cert.txt
    • py-client-client-cert.txt
    • py-client-log.txt
    • py-client-server-cert.txt
    • main.go
    • main.go
    • certutil.go
    • grpc.go
    • interface.go
    • test-simple.py
    • test-simple2.py
    • handshake.py
    • go-client-get.txt
    • go-client-put.txt
    • security.py
    • server.py
    • conftest.py
    • run_tcp_server.py
    • test_client.py
    • test_client_grpc.py
    • test_security.py
    • x_test_server.py

Test File Relocation

36 files changed
  • client.py Updated client.py (+33/-30 lines)
  • config.py Updated config.py (+65/-30 lines)
  • README.md Updated README.md (+34/-8 lines)
  • greeter Updated greeter (+0/-0 lines)
  • build.sh Updated build.sh (+2/-2 lines)
  • debugging-2025-01-20-1256.md Added debugging-2025-01-20-1256.md (+76 lines)
  • env.sh Updated env.sh (+32/-6 lines)
  • go-kv-example-log.txt Removed go-kv-example-log.txt (-1 lines)
  • kv-client Updated kv-client (+0/-0 lines)
  • kv-data-hello Updated kv-data-hello (+1/-1 lines)
  • kv-go-server Updated kv-go-server (+0/-0 lines)
  • go-kv-client-automtls-client-cert.txt Added go-kv-client-automtls-client-cert.txt (+48 lines)
  • go-kv-client-automtls-disabled.txt Added go-kv-client-automtls-disabled.txt (+276 lines)
  • go-kv-client-automtls-log.txt Added go-kv-client-automtls-log.txt (+89 lines)
  • go-kv-client-automtls-server-cert.txt Added go-kv-client-automtls-server-cert.txt (+48 lines)
  • py-client-client-cert.txt Added py-client-client-cert.txt (+48 lines)
  • py-client-log.txt Added py-client-log.txt (+153 lines)
  • py-client-server-cert.txt Added py-client-server-cert.txt (+48 lines)
  • main.go Updated main.go (+19/-3 lines)
  • main.go Updated main.go (+33/-88 lines)
  • certutil.go Updated certutil.go (+18/-1 lines)
  • grpc.go Updated grpc.go (+2/-2 lines)
  • interface.go Updated interface.go (+3/-3 lines)
  • test-simple.py Added test-simple.py (+148 lines)
  • test-simple2.py Added test-simple2.py (+82 lines)
  • handshake.py Updated handshake.py (+16/-12 lines)
  • go-client-get.txt Removed go-client-get.txt (-137 lines)
  • go-client-put.txt Removed go-client-put.txt (-136 lines)
  • security.py Updated security.py (+131/-57 lines)
  • server.py Updated server.py (+11/-13 lines)
  • conftest.py Updated conftest.py (+2/-2 lines)
  • run_tcp_server.py Updated run_tcp_server.py (+1/-7 lines)
  • test_client.py Updated test_client.py (+2/-2 lines)
  • test_client_grpc.py Updated test_client_grpc.py (+10/-7 lines)
  • test_security.py Updated test_security.py (+11/-11 lines)
  • x_test_server.py Updated x_test_server.py (+2/-2 lines)
  • Moved src/pyvider/rpcplugin/test_server.py to src/pyvider/rpcplugin/tests/x_test_server.py qualify internal
    1 file
    • x_test_server.py