From a13488312502b3f12c549040b529091be78e8f82 Mon Sep 17 00:00:00 2001 From: moon Date: Mon, 15 Sep 2025 03:15:42 +0330 Subject: remove auth for querying by author --- src/common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/common.c') diff --git a/src/common.c b/src/common.c index 0cc0240..c85d166 100644 --- a/src/common.c +++ b/src/common.c @@ -50,12 +50,7 @@ enum client_input { register_neighbor = 0x15, // query packets for a specific author - // note: to prevent DoS, you must provide a signature by the requested author to be approved. - // the signature needs to be from a struct shaped `public_key + pub_sign_key + u16 count + u64 - // offset`. - // server must verify the signing key is of the author's pubkey and signing key by looking at - // the packet's metadata. - // (input public_key, input pub_sign_key, signature, u16 count, u64 offset) + // (input public_key, pub_sign_key, u16 count, u64 offset) // (responds with queried_author_packets) query_packets = 0x16, -- cgit v1.2.3