Skip to content

Commit

Permalink
docs/client-protocol: update comment on ordering
Browse files Browse the repository at this point in the history
thanks jml for the catch
  • Loading branch information
warner committed Nov 25, 2017
1 parent c769ff7 commit f03c8bc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/client-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ messages.

Each such message contains a "phase" string, and a hex-encoded binary "body".

Any phase which is purely numeric (`^\d+$`) is reserved for application data,
and will be delivered in numeric order. All other phases are reserved for the
Wormhole client itself. Clients will ignore any phase they do not recognize.
Any phase which is purely numeric (`^\d+$`) is reserved for encrypted
application data. The Rendezvous server may deliver these messages multiple
times, or out-of-order, but the wormhole client will deliver the
corresponding decrypted data to the application in strict numeric order. All
other (non-numeric) phases are reserved for the Wormhole client itself.
Clients will ignore any phase they do not recognize.

Immediately upon opening the mailbox, clients send the `pake` phase, which
contains the binary SPAKE2 message (the one computed as `X+M*pw` or
Expand Down

0 comments on commit f03c8bc

Please sign in to comment.