Add the key used to PKI decrypt to MeshPacket

pull/557/head
Jonathan Bennett 2024-08-05 12:04:21 -05:00
rodzic e9b83744e2
commit bc465e6522
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -1127,6 +1127,16 @@ message MeshPacket {
* When receiving a packet, the difference between hop_start and hop_limit gives how many hops it traveled.
*/
uint32 hop_start = 15;
/*
* Records the public key the packet was encrypted with, if applicable.
*/
bytes public_key = 16;
/*
* Indicates whether the packet was en/decrypted using PKI
*/
bool pki_encrypted = 17;
}
/*