mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-07 22:44:07 -05:00
Nits
This commit is contained in:
@@ -161,6 +161,14 @@ your domain, you may be vulnerable to a mitm attack.
|
||||
|
||||
## Complete Example Handshake
|
||||
|
||||
The following is a complete and reproducible handshake. Generated by the current
|
||||
implementation of this spec in go-libp2p.
|
||||
|
||||
Understanding the opaque value is not necessary in order to understand this
|
||||
spec. Servers are free to do whatever they want with the opaque field. The
|
||||
opaque value represents encoded server state authenticated with an HMAC. The
|
||||
details can be found in the go-libp2p source.
|
||||
|
||||
### Parameters
|
||||
| Parameter | Value |
|
||||
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
@@ -170,7 +178,7 @@ your domain, you may be vulnerable to a mitm attack.
|
||||
| Challenge Client | ERERERERERERERERERERERERERERERERERERERERERE= |
|
||||
| Client Private Key (pb encoded as hex) | 0801124002020202020202020202020202020202020202020202020202020202020202028139770ea87d175f56a35466c34c7ecccb8d8a91b4ee37a25df60f5b8fc9b394 |
|
||||
| Challenge Server | MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMz |
|
||||
| "Now" time | 1969-12-31 16:00:00 -0800 PST |
|
||||
| "Now" time | 1970-01-01 00:00:00 +0000 UTC |
|
||||
|
||||
### Handshake Diagram
|
||||
```mermaid
|
||||
|
||||
Reference in New Issue
Block a user