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

New protocol version #3

Merged
merged 9 commits into from
Sep 17, 2023
Merged

Conversation

hoytech
Copy link
Contributor

@hoytech hoytech commented Sep 17, 2023

Hi Yuki,

I have made some significant changes to the protocol. In order to protect against malicious input, I have changed the fingerprint function to SHA-256. I also added a protocol version negotiation mechanism.

This PR brings the Rust version up to compatibility with the latest negentropy master branch, and is byte-wise identical to the C++ and JS implementations.

I plan to roll out a new version of strfry that uses this ASAP.

Happy to answer any questions.

Thanks!

Copy link
Member

@yukibtc yukibtc left a comment

Choose a reason for hiding this comment

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

Thanks!

tACK 83c92ac

@yukibtc yukibtc merged commit 4bc7797 into rust-nostr:master Sep 17, 2023
0 of 7 checks passed
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.

2 participants