Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine characteristics of channel identifiers #32

Open
jrconlin opened this issue Oct 17, 2018 · 1 comment
Open

Determine characteristics of channel identifiers #32

jrconlin opened this issue Oct 17, 2018 · 1 comment
Labels

Comments

@jrconlin
Copy link
Member

  1. Currently channel identifiers are unique UUID4 values, which are too long for many reasons. We need to determine the proper size of the entropy pool and what characters we can use to derive a valid channel ID designate.

  2. For scaling, we may want to divvy things up based on endpoint pathing, (e.g. use the first character of the channel path to determine which pool/machine receives the connection). This would ensure that a given connection request returns to the same machine holding state for both sides.

@jrconlin jrconlin added the question Further information is requested label Oct 17, 2018
@rfk
Copy link
Contributor

rfk commented Oct 23, 2018

We discussed this a little in the meeting today and decided on the following:

  • Clients should not expect channel-ids to be any particular length. Rather they should expect to receive a b64url-encoded string which, when decoded, will be more than one and less than 32 bytes in length.
  • We'll keep the channel ids as 32-bytes for initial version, but look at making them shorter as we come to implement the "phase 2" PAKE-based flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants