kopia lustrzana https://github.com/meshtastic/protobufs
More tweaks
rodzic
e4c22614d6
commit
2373faaaee
|
@ -405,7 +405,7 @@ message AdminMessage {
|
|||
/*
|
||||
* Initiate or respond to a key verification request
|
||||
*/
|
||||
KeyVerification key_verification = 67;
|
||||
KeyVerificationAdmin key_verification_admin = 67;
|
||||
|
||||
/*
|
||||
* Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
|
||||
|
|
|
@ -61,6 +61,10 @@
|
|||
*KeyVerificationRequest.remote_longname max_size:40
|
||||
*KeyVerificationRequest.verification_characters max_size:10
|
||||
|
||||
*KeyVerification.hash1 max_size:32
|
||||
*KeyVerification.hash2 max_size:32
|
||||
|
||||
|
||||
# MyMessage.name max_size:40
|
||||
# or fixed_length or fixed_count, or max_count
|
||||
|
||||
|
|
|
@ -1022,10 +1022,15 @@ message KeyVerification {
|
|||
uint64 nonce = 1;
|
||||
|
||||
/*
|
||||
* Will be omitted on the initial request, and included on the response
|
||||
* The final authoritative hash, only to be sent by NodeA at the end of the handshake
|
||||
*/
|
||||
optional uint32 security_number = 2;
|
||||
bytes hash1 = 2;
|
||||
|
||||
/*
|
||||
* The intermediary hash (actually derived from hash1),
|
||||
* sent from NodeB to NodeA in response to the initial message.
|
||||
*/
|
||||
bytes hash2 = 3;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1834,21 +1839,26 @@ message KeyVerificationRequest {
|
|||
*/
|
||||
enum MessageType {
|
||||
/*
|
||||
* First response sent to the local client, requests the security number
|
||||
* First response sent to ClientA requests the security number
|
||||
*/
|
||||
number_request = 0;
|
||||
|
||||
/*
|
||||
* Message containing the hash to compare and the security number
|
||||
* Indicates this is the node that is receiving the verification request
|
||||
* First message sent to ClientB, informs the user of the chosen security number
|
||||
*/
|
||||
final_receiver = 1;
|
||||
number_inform = 1;
|
||||
|
||||
/*
|
||||
* Message containing the hash to compare and the security number
|
||||
* Message containing the hash to compare
|
||||
* Indicates this is the node that is receiving the verification request
|
||||
*/
|
||||
final_receiver = 2;
|
||||
|
||||
/*
|
||||
* Message containing the hash to compare
|
||||
* Indicates this is the node that is sending the verification request
|
||||
*/
|
||||
final_sender = 2;
|
||||
final_sender = 3;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue