Skip to content

Commit

Permalink
mandate base64 encoding for initiator selection integers
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Sep 24, 2019
1 parent 682894e commit 21be08c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connections/simopen.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ If both peers believe they are the initiator, then they both send
phase, where one of the peers is selected to act as the initiator. In
order to do so, they both generate a random 256-bit integer and send
it as response to the `iamclient` directive, prefixed with the
`select:` string. The peer with the highest integer is selected to act
`select:` string. The integer is in big-endian format, encoded in base64.
The peer with the highest integer is selected to act
as the initator and sends an `initiator` message. The peer with the
lowest integer responds with `responder` message and both peers
transition to protocol negotiation with a distinct initiator.
Expand Down

0 comments on commit 21be08c

Please sign in to comment.