From 8a11244539ee6f46b72f4b277c65ca6daf949aae Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Thu, 1 Jan 2026 22:26:59 -0600 Subject: [PATCH] Add PKI_SEND_FAIL_PUBLIC_KEY error code Add new error code for PKI encryption failure due to missing public key. --- meshtastic/mesh.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 72989df..8775d6e 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1050,6 +1050,12 @@ message Routing { * This typically enforced per portnum and is used to prevent a single node from monopolizing airtime */ RATE_LIMIT_EXCEEDED = 38; + + /* + * PKI encryption failed, due to no public key for the remote node + * This is different from PKI_UNKNOWN_PUBKEY which indicates a failure upon receiving a packet + */ + PKI_SEND_FAIL_PUBLIC_KEY = 39; } oneof variant {