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 fallback modifier #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SnowyCoder
Copy link

Closes #24

I have yet to test this deeply (I intend to build a PoC Noise Channel), this is tested with XXfallback and it seems to work correctly.

This is implemented by transferring the first message pattern into Alice pre-message (if empty), then reversing the patterns to be Bob-initialized. The other implementation option would be to have something track whether the connection is Alice or Bob initialized, but this seems like the simpler way.

In my github fork I'm working on other changes (Elligator2 support and message overhead/simulation), but this seems like the simplest one to upstream as it does not add any strange API.

@mcginty
Copy link
Owner

mcginty commented Jun 29, 2023

Thanks for the PR! Will check out when I have a free moment, just got back from a trip.

@SnowyCoder
Copy link
Author

Don't worry! I'm also quite occupied with exams and vacations so I might be quite slow to answer.

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.

Support fallback modifier
2 participants