Evgeny e39979bfac Config: Added [allowed_keys] section for client public key authorization on server
- Added CFG_ALLOWED_KEY struct with binary key storage (64 bytes) for fast memcmp comparison
- Implemented parsing of [allowed_keys] section with allow_all flag and per-key entries
- Added key validation in etcp_connections.c server handler (errorcode=8 for rejected keys)
- Default behavior: deny all if [allowed_keys] section is missing or allow_all=0 with no keys
- Added proper memory cleanup and debug logging for allowed_keys configuration
- Updated all test configs to include [allowed_keys] allow_all=1 for backward compatibility
2026-04-24 00:16:30 +03:00
1
2026-03-07 20:47:15 +03:00
1
2026-03-14 16:44:34 +03:00
1
2026-04-21 16:14:03 +00:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 18:52:53 +03:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 19:59:42 +03:00
2026-03-06 15:55:16 +03:00
1
2026-03-31 16:24:50 +03:00
S
Description
No description provided
GPL-3.0
162 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 83.6%
C++ 11.9%
Kotlin 3.2%
Python 0.4%
Shell 0.3%
Other 0.4%