Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions meshtastic/mesh.options
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
*KeyVerification.hash1 max_size:32
*KeyVerification.hash2 max_size:32

*DifferentPublicKey.public_key max_size:32

# MyMessage.name max_size:40
# or fixed_length or fixed_count, or max_count
Expand Down
28 changes: 28 additions & 0 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,8 @@ message ClientNotification {
KeyVerificationFinal key_verification_final = 13;
DuplicatedPublicKey duplicated_public_key = 14;
LowEntropyKey low_entropy_key = 15;
DifferentPublicKey different_public_key = 16;
PKIDecryptionFailed pki_decryption_failed = 17;
}
}

Expand All @@ -2043,6 +2045,32 @@ message KeyVerificationFinal {
message DuplicatedPublicKey {}
message LowEntropyKey {}

/*
* Client notifcation message for when a different public key than the currently stored one of a remote node has been received.
*/
message DifferentPublicKey {
/*
* Node number of the remote node we received a different public key from.
*/
uint32 node_num = 1;

/*
* The different public key we received from the remote node.
*/
bytes public_key = 2;
}

/*
* Client notification message for when we receive a PKI-encrypted packet from a remote node we couldn't decrypt,
* while we did have a public key for the node.
*/
message PKIDecryptionFailed {
/*
* Node number of the remote node we received an undecryptable PKI packet from.
*/
uint32 node_num = 1;
}

/*
* Individual File info for the device
*/
Expand Down
Loading