Replace subprocess calls to wg genkey/pubkey with cryptography library's X25519PrivateKey. This eliminates the wg CLI dependency for key generation, fixes device creation on machines without wireguard-tools, and removes the event loop blocking that caused WebSocket disconnects during device creation. Also fix E2E test teardown to use a fresh engine for cleanup, avoiding cross-event-loop issues with asyncpg connection pools. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| crypto.py | ||
| network.py | ||
| server_key.py | ||
| time.py | ||
| wg_conf.py | ||