Skip to content

Commit

Permalink
Rename session data to nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
madninja committed Jul 30, 2023
1 parent 8d25bfd commit f473e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/service/packet_router.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ message packet_router_register_v1 {
//
// This message is sent by packet router after the register command is sent by
// the gateway.
message packet_router_session_offer_v1 { bytes data = 1; }
message packet_router_session_offer_v1 { bytes nonce = 1; }

// Initializes a session key with the packet router. The data in this init
// message has to be from the latest session offer the gateway has received, the
Expand All @@ -74,7 +74,7 @@ message packet_router_session_offer_v1 { bytes data = 1; }
// not pass verification with the active verifier key are dropped.
message packet_router_session_init_v1 {
bytes gateway = 1;
bytes data = 2;
bytes nonce = 2;
bytes session_key = 3;
bytes signature = 4;
}
Expand Down

0 comments on commit f473e3e

Please sign in to comment.