From 06334638da0b561eb94df89f890cc62f16299249 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 237a2610..6c49883b 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1109,6 +1109,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 {