pyvider 2025-02-19
Client Import Removal and Crypto Module
57 files · 1,302+ · 5,472-

Client Import Removal

52 files changed
  • base.py Updated base.py (+1/-9 lines)
  • py_kv_client.py Updated py_kv_client.py (+4/-3 lines)
  • test_connection.py Updated test_connection.py (+1/-1 lines)
  • client.py Added client.py (+37 lines)
  • test_transport_tcp_handle_client.py Added test_transport_tcp_handle_client.py (+57 lines)
  • test_transport_unix_handle_client.py Added test_transport_unix_handle_client.py (+100 lines)
  • .coveragerc Updated .coveragerc (+2/-1 lines)
  • bfiles-20250217-172316.txt Removed bfiles-20250217-172316.txt (-3657 lines)
  • config.py Updated config.py (+1/-1 lines)
  • giblet_pb2_grpc.py Updated giblet_pb2_grpc.py (+1/-2 lines)
  • kv-data-test Removed kv-data-test (-1 lines)
  • kv_pb2_grpc.py Updated kv_pb2_grpc.py (+1/-2 lines)
  • kv_protocol.py Updated kv_protocol.py (+1/-1 lines)
  • py_kv_server.py Updated py_kv_server.py (+2/-2 lines)
  • handshake.py Updated handshake.py (+2/-3 lines)
  • emoji.py Removed emoji.py (-2 lines)
  • handshake.py Removed handshake.py (-1 lines)
  • plog.py Updated plog.py (+0/-0 lines)
  • transport.py Removed transport.py (-2 lines)
  • protocol.py Updated protocol.py (+1/-1 lines)
  • server.py Updated server.py (+6/-8 lines)
  • conftest.py Updated conftest.py (+1/-214 lines)
  • __init__.py Updated __init__.py (+4/-1 lines)
  • dummy.py Added dummy.py (+75 lines)
  • mocks.py Added mocks.py (+154 lines)
  • server.py Updated server.py (+78/-4 lines)
  • transport.py Updated transport.py (+11/-43 lines)
  • utils.py Added utils.py (+81 lines)
  • test_server.py Removed test_server.py (-76 lines)
  • test_server_coverage.py Removed test_server_coverage.py (-62 lines)
  • test_server_coverage_extra.py Removed test_server_coverage_extra.py (-56 lines)
  • test_server_destructor_cleanup.py Removed test_server_destructor_cleanup.py (-17 lines)
  • test_server_handshake.py Updated test_server_handshake.py (+3/-4 lines)
  • test_server_lifecycle.py Updated test_server_lifecycle.py (+14/-40 lines)
  • test_server_signals.py Updated test_server_signals.py (+21/-13 lines)
  • test_server_tls.py Updated test_server_tls.py (+14/-13 lines)
  • test_server_transport.py Updated test_server_transport.py (+53/-67 lines)
  • test_transport_2.py Updated test_transport_2.py (+1/-1 lines)
  • test_transport_tcp_close.py Added test_transport_tcp_close.py (+58 lines)
  • test_transport_tcp_connect.py Updated test_transport_tcp_connect.py (+40/-6 lines)
  • test_transport_tcp_listen.py Updated test_transport_tcp_listen.py (+63/-3 lines)
  • test_transport_tcp.py Removed test_transport_tcp.py (-211 lines)
  • test_transport_unix_2.py Removed test_transport_unix_2.py (-320 lines)
  • test_transport_unix_3.py Removed test_transport_unix_3.py (-304 lines)
  • test_transport_unix.py Updated test_transport_unix.py (+7/-297 lines)
  • test_transport_unix_close.py Added test_transport_unix_close.py (+129 lines)
  • test_transport_unix_connect.py Added test_transport_unix_connect.py (+105 lines)
  • test_transport_unix_listen.py Added test_transport_unix_listen.py (+159 lines)
  • tls-check.py Updated tls-check.py (+1/-3 lines)
  • types.py Updated types.py (+1/-1 lines)
  • unix.py Updated unix.py (+1/-1 lines)
  • types.py Updated types.py (+1/-1 lines)
  • Removed import time from client/base.py interface internal
    1 file
    • base.py
  • Removed from cryptography.hazmat.primitives import serialization (no longer used directly) interface internal
    65 files
    • giblet.proto
    • giblet_pb2.py
    • giblet_pb2_grpc.py
    • .coveragerc
    • bfiles-20250217-172316.txt
    • base.py
    • config.py
    • certificate.py
    • constants.py
    • debug.py
    • generators.py
    • kv-data-test
    • handshake.py
    • crypto.py
    • emoji.py
    • handshake.py
    • plog.py
    • transport.py
    • protocol.py
    • server.py
    • test_connection.py
    • __init__.py
    • dummy.py
    • handshake.py
    • mocks.py
    • server.py
    • transport.py
    • __init__.py
    • kv-go-client
    • kv-go-server
    • kv-data-hello
    • kv-data-status
    • __init__.py
    • kv.proto
    • kv_pb2.py
    • kv_pb2_grpc.py
    • kv_protocol.py
    • py_kv_client.py
    • py_kv_server.py
    • test_kv_integration.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • test_server_handshake.py
    • test_server_lifecycle.py
    • test_server_signals.py
    • test_server_tls.py
    • test_server_transport.py
    • test_transport_2.py
    • test_transport_tcp.py
    • test_transport_tcp_close.py
    • test_transport_tcp_connect.py
    • test_transport_tcp_handle_client.py
    • test_transport_tcp_listen.py
    • Xtest_transport_unix.py
    • test_transport_unix.py
    • test_transport_unix_close.py
    • test_transport_unix_connect.py
    • test_transport_unix_handle_client.py
    • test_transport_unix_listen.py
    • tls-check.py
    • types.py
    • unix.py
    • types.py
  • Removed from pyvider.rpcplugin.crypto.generators import generate_keypair (Certificate API handles this) interface behavioral
    65 files
    • giblet.proto
    • giblet_pb2.py
    • giblet_pb2_grpc.py
    • .coveragerc
    • bfiles-20250217-172316.txt
    • base.py
    • config.py
    • certificate.py
    • constants.py
    • debug.py
    • generators.py
    • kv-data-test
    • handshake.py
    • crypto.py
    • emoji.py
    • handshake.py
    • plog.py
    • transport.py
    • protocol.py
    • server.py
    • test_connection.py
    • __init__.py
    • dummy.py
    • handshake.py
    • mocks.py
    • server.py
    • transport.py
    • __init__.py
    • kv-go-client
    • kv-go-server
    • kv-data-hello
    • kv-data-status
    • __init__.py
    • kv.proto
    • kv_pb2.py
    • kv_pb2_grpc.py
    • kv_protocol.py
    • py_kv_client.py
    • py_kv_server.py
    • test_kv_integration.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • test_server_handshake.py
    • test_server_lifecycle.py
    • test_server_signals.py
    • test_server_tls.py
    • test_server_transport.py
    • test_transport_2.py
    • test_transport_tcp.py
    • test_transport_tcp_close.py
    • test_transport_tcp_connect.py
    • test_transport_tcp_handle_client.py
    • test_transport_tcp_listen.py
    • Xtest_transport_unix.py
    • test_transport_unix.py
    • test_transport_unix_close.py
    • test_transport_unix_connect.py
    • test_transport_unix_handle_client.py
    • test_transport_unix_listen.py
    • tls-check.py
    • types.py
    • unix.py
    • types.py
  • Removed RPCPluginProtocol import from client interface internal
    65 files
    • giblet.proto
    • giblet_pb2.py
    • giblet_pb2_grpc.py
    • .coveragerc
    • bfiles-20250217-172316.txt
    • base.py
    • config.py
    • certificate.py
    • constants.py
    • debug.py
    • generators.py
    • kv-data-test
    • handshake.py
    • crypto.py
    • emoji.py
    • handshake.py
    • plog.py
    • transport.py
    • protocol.py
    • server.py
    • test_connection.py
    • __init__.py
    • dummy.py
    • handshake.py
    • mocks.py
    • server.py
    • transport.py
    • __init__.py
    • kv-go-client
    • kv-go-server
    • kv-data-hello
    • kv-data-status
    • __init__.py
    • kv.proto
    • kv_pb2.py
    • kv_pb2_grpc.py
    • kv_protocol.py
    • py_kv_client.py
    • py_kv_server.py
    • test_kv_integration.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • test_server_handshake.py
    • test_server_lifecycle.py
    • test_server_signals.py
    • test_server_tls.py
    • test_server_transport.py
    • test_transport_2.py
    • test_transport_tcp.py
    • test_transport_tcp_close.py
    • test_transport_tcp_connect.py
    • test_transport_tcp_handle_client.py
    • test_transport_tcp_listen.py
    • Xtest_transport_unix.py
    • test_transport_unix.py
    • test_transport_unix_close.py
    • test_transport_unix_connect.py
    • test_transport_unix_handle_client.py
    • test_transport_unix_listen.py
    • tls-check.py
    • types.py
    • unix.py
    • types.py
  • Removed unused type imports: ClientT, RpcConfigType, GrpcCredentialsType, TransportType deprecate internal
    65 files
    • giblet.proto
    • giblet_pb2.py
    • giblet_pb2_grpc.py
    • .coveragerc
    • bfiles-20250217-172316.txt
    • base.py
    • config.py
    • certificate.py
    • constants.py
    • debug.py
    • generators.py
    • kv-data-test
    • handshake.py
    • crypto.py
    • emoji.py
    • handshake.py
    • plog.py
    • transport.py
    • protocol.py
    • server.py
    • test_connection.py
    • __init__.py
    • dummy.py
    • handshake.py
    • mocks.py
    • server.py
    • transport.py
    • __init__.py
    • kv-go-client
    • kv-go-server
    • kv-data-hello
    • kv-data-status
    • __init__.py
    • kv.proto
    • kv_pb2.py
    • kv_pb2_grpc.py
    • kv_protocol.py
    • py_kv_client.py
    • py_kv_server.py
    • test_kv_integration.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • test_server_handshake.py
    • test_server_lifecycle.py
    • test_server_signals.py
    • test_server_tls.py
    • test_server_transport.py
    • test_transport_2.py
    • test_transport_tcp.py
    • test_transport_tcp_close.py
    • test_transport_tcp_connect.py
    • test_transport_tcp_handle_client.py
    • test_transport_tcp_listen.py
    • Xtest_transport_unix.py
    • test_transport_unix.py
    • test_transport_unix_close.py
    • test_transport_unix_connect.py
    • test_transport_unix_handle_client.py
    • test_transport_unix_listen.py
    • tls-check.py
    • types.py
    • unix.py
    • types.py

Crypto Module

5 files changed
  • certificate.py Removed certificate.py (-1 lines)
  • constants.py Removed constants.py (-2 lines)
  • debug.py Updated debug.py (+2/-7 lines)
  • generators.py Updated generators.py (+2/-3 lines)
  • crypto.py Updated crypto.py (+6/-4 lines)
  • Removed unused import ipaddress from certificate.py deprecate internal
    1 file
    • certificate.py
  • Removed unused imports from crypto/constants.py: Dict, Callable, Union, rsa, ec deprecate internal
    1 file
    • constants.py
  • Removed unused imports from crypto/debug.py: attrs, os, datetime, timedelta, ExtendedKeyUsageOID, logger, Certificate, generate_keypair deprecate internal
    1 file
    • debug.py
  • Changed bare except Exception as e to except Exception in debug module decouple internal
    19 files
    • giblet.proto
    • giblet_pb2.py
    • giblet_pb2_grpc.py
    • handshake.py
    • __init__.py
    • kv-go-client
    • kv-go-server
    • kv-data-hello
    • kv-data-status
    • __init__.py
    • kv.proto
    • kv_pb2.py
    • kv_pb2_grpc.py
    • kv_protocol.py
    • py_kv_client.py
    • py_kv_server.py
    • test_kv_integration.py
    • test_transport_tcp.py
    • Xtest_transport_unix.py