From 57899b856fbd87d27e0a536e611eea89d644242f Mon Sep 17 00:00:00 2001 From: Elliott Balsley <3991046+llamafilm@users.noreply.github.com> Date: Sat, 25 Apr 2026 15:32:47 -0700 Subject: [PATCH] add PKI_DECRYPT_FAILED error --- meshtastic/mesh.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index b09a15b0a..1bff82ceb 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1167,6 +1167,13 @@ message Routing { * This is different from PKI_UNKNOWN_PUBKEY which indicates a failure upon receiving a packet */ PKI_SEND_FAIL_PUBLIC_KEY = 39; + + /* + * PKI packet could not be decrypted, even though the sender's public key is in NodeDB. + * Typically happens after the sender rotated keys; may also happen due to RF corruption or + * builds without PKI support (MESHTASTIC_EXCLUDE_PKI). + */ + PKI_DECRYPT_FAILED = 40; } oneof variant {