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

e2e-crypto #1

Merged
merged 54 commits into from May 7, 2024
Merged

e2e-crypto #1

merged 54 commits into from May 7, 2024

Conversation

neonphog
Copy link
Collaborator

@neonphog neonphog commented Apr 22, 2024

DEPENDS ON: #2
RESOLVES: #19

Adds a libsodium secretstream-based p2p-e2e encryption wrapper for the sbd client.

@neonphog neonphog changed the base branch from old-main to initial April 22, 2024 17:17
@neonphog neonphog marked this pull request as ready for review April 26, 2024 20:47
@neonphog neonphog changed the title e2e-crypto [NO MERGE: DEPENDENCY] e2e-crypto Apr 26, 2024

// Mutex strategy in this file is built on the assumption that this will
// largely be network bound. Since we only have the one rate-limited connection
// to the sbd server, it is okay to wrap it with a tokio Mutex and do the
Copy link
Contributor

Choose a reason for hiding this comment

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

std mutex?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I do use a std mutex in the sodoken_crypto module, but in this case I'm talking about the tokio mutexes around the inner and receiver because they need to be held across awaits.

Base automatically changed from initial to main May 7, 2024 19:23
@neonphog neonphog changed the title [NO MERGE: DEPENDENCY] e2e-crypto e2e-crypto May 7, 2024
@neonphog neonphog merged commit c4f3024 into main May 7, 2024
5 checks passed
@neonphog neonphog deleted the e2e-crypto branch May 7, 2024 19:45
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.

SBD: Libsodium secret stream-based e2e encryption wrapper for sbd client
2 participants