-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement PoWeb handshake messages (#14)
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
syntax = "proto3"; | ||
|
||
option java_multiple_files = true; | ||
option java_package = "tech.relaycorp.poweb.messages.handshake"; | ||
|
||
package relaynet.poweb.handshake; | ||
|
||
message Challenge { | ||
// Sent by the gateway at the start of the connection | ||
|
||
string gateway_nonce = 1; | ||
} | ||
|
||
message Response { | ||
// Sent by the endpoint in response to Challenge | ||
|
||
// The gateway's nonce signed by each endpoint certificate. | ||
repeated bytes gateway_nonce_signatures = 1; | ||
} |