- Add ed25519_public_key[32] to NODEINFO struct for pubkey distribution - Add ed25519_public_key[32] to ROUTE_BGP (derived from X25519 privkey at init) - Add ROUTER_FLAG_SIGNED (0x08) to SVC_ROUTE_HDR flags byte - router_send_one_flags: when is_signed, sign [hdr][payload] and append 64-byte sig - etcp_router_recv_cb: verify Ed25519 signature when ROUTER_FLAG_SIGNED set - New API: etcp_router_conn_send_signed() - Drop signed packets if sender node not in routing table or no Ed25519 key - 5 unit tests in test_etcp_router_unit.c covering OK/tampered/unknown/no-key/short
21 lines
715 B
Plaintext
21 lines
715 B
Plaintext
Copyright 2011-2021 Howard Chu, Symas Corp.
|
|
All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted only as authorized by the OpenLDAP
|
|
Public License.
|
|
|
|
A copy of this license is available in the file LICENSE in the
|
|
top-level directory of the distribution or, alternatively, at
|
|
<http://www.OpenLDAP.org/license.html>.
|
|
|
|
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
|
|
|
Individual files and/or contributed packages may be copyright by
|
|
other parties and/or subject to additional restrictions.
|
|
|
|
This work also contains materials derived from public sources.
|
|
|
|
Additional information about OpenLDAP can be obtained at
|
|
<http://www.openldap.org/>.
|