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

Add session resumption through seeds #17

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add session resumption through seeds #17

wants to merge 3 commits into from

Conversation

piegamesde
Copy link
Member

Closes #2.

I integrated part of the feedback by focusing more on the client protocol API. Implementation notes have now been moved to a separate sub-section.


```python
password = hex(derive(seed, "wormhole:seed:password"))
nameplate = hex(derive(seed, "wormhole:seed:nameplate"))
Copy link
Member Author

@piegamesde piegamesde Mar 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a high entropy nameplate instead of connecting to a mailbox directly solves a lot of the connection issues that I previously had. Notably, multiple concurrent independent connections are possible using the same seed because they will end up in a different mailbox. Also, for the same reason, the error recovery when a mailbox gets "crowded" is a lot quicker.

The current rendezvous server implementation supports this without issues, but nevertheless it may be a good idea to codify this in the protocol that we now rely on this possibility. Edit: added a new commit specifying "high entropy nameplates".

Revert "Client: Add session resumption through seeds"

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

Successfully merging this pull request may close these issues.

Wormhole Seeds
1 participant