Add initial protobufs for XEdDSA

XEdDSA
Jonathan Bennett 2025-08-10 23:05:07 -05:00
rodzic e2c0831aa3
commit c7c99efb0d
2 zmienionych plików z 12 dodań i 1 usunięć

Wyświetl plik

@ -19,6 +19,7 @@
# outside of this envelope
*Data.payload max_size:233
*Data.bitfield int_size:8
*Data.xeddsa_signature max_size:64
*NodeInfo.channel int_size:8
*NodeInfo.hops_away int_size:8
@ -89,4 +90,4 @@
*ChunkedPayload.chunk_count int_size:16
*ChunkedPayload.chunk_index int_size:16
*ChunkedPayload.payload_chunk max_size:228
*ChunkedPayload.payload_chunk max_size:228

Wyświetl plik

@ -1071,6 +1071,11 @@ message Data {
* Bitfield for extra flags. First use is to indicate that user approves the packet being uploaded to MQTT.
*/
optional uint32 bitfield = 9;
/*
* XEdDSA signature for the payload
*/
optional bytes xeddsa_signature = 10;
}
/*
@ -1469,6 +1474,11 @@ message MeshPacket {
* Indicates which transport mechanism this packet arrived over
*/
TransportMechanism transport_mechanism = 21;
/*
* Indicates whether the packet has a valid signature
*/
bool xeddsa_signed = 22;
}
/*