- SC_PUBKEY_SIZE: 64 -> 32 bytes, SC_PUBKEY_ENC_SIZE: 72 -> 40 - sc_set_peer_public_key uses EVP_PKEY_derive with X25519 - sc_generate_keypair via EVP_PKEY_keygen(EVP_PKEY_X25519) - sc_compute_public_key_from_private via EVP_PKEY_new_raw_private_key - sc_validate_key: check non-zero (X25519 has no invalid keys) - sc_obfuscate_pubkey: XOR now 32 bytes - Remove all TinyCrypt code (~860 lines), always use OpenSSL - Remove TinyCrypt from build system, drop test_crypto/test_ecc_encrypt - Update all test keys (128 hex -> 64 hex) - Fix bbr_integration.c split-line pubkeys
30 lines
615 B
Plaintext
30 lines
615 B
Plaintext
[global]
|
|
my_node_id=0xAAAA000000000002
|
|
my_private_key=704f2e012c8fa8768130cb0f988a997dccb628372bc5ceccacc78dcbfec5916f
|
|
my_public_key=b3193173def895bd0fcea6f86af077c7d77216f10395275f627ac18242ec0f01
|
|
tun_ip=10.200.20.1/24
|
|
tun_ifname=tun_test_cli
|
|
debug_level=error
|
|
|
|
[server: s1]
|
|
addr=127.0.0.1:15002
|
|
type=public
|
|
|
|
[client: c1]
|
|
keepalive=1
|
|
link=s1:127.0.0.1:15001
|
|
peer_public_key=ce8871f07fa056c636d297115f231b08c29cdf94e0d440fce83a07c34416d36a
|
|
|
|
[tcp_proxy_client]
|
|
enabled=yes
|
|
tun_name=tun_test_proxy
|
|
tun_ip=10.200.30.1
|
|
via_node=0xAAAA000000000001
|
|
|
|
[debug]
|
|
connection=info
|
|
socket=info
|
|
general=info
|
|
traffic=info
|
|
tun=info
|