Skip to content

Refactor encryption#23

Merged
cowlicks merged 3 commits intodatrs:masterfrom
cowlicks:refactor-encryption
Feb 19, 2026
Merged

Refactor encryption#23
cowlicks merged 3 commits intodatrs:masterfrom
cowlicks:refactor-encryption

Conversation

@cowlicks
Copy link
Member

@cowlicks cowlicks commented Apr 2, 2025

BIG CHANGES.

  • Encryption and framing of streams has been moved out of this crate into hypercore_handshake and uint24le_framing respectively. This had big impacts on the public API. Now Protocol::new just takes a impl CipherTrait argument. This was done because setting up encrypted connection should be handled by peer-discovery.
  • Remove dependence on hypercore instead we use hypercore_schema.
  • Bumped to edition 2024, added new formatting.

@cowlicks cowlicks force-pushed the refactor-encryption branch from 90f081c to 8ef2e2f Compare May 23, 2025 00:05
@cowlicks cowlicks force-pushed the refactor-encryption branch from e257fce to 6658eb7 Compare August 5, 2025 03:59
@cowlicks cowlicks marked this pull request as ready for review February 18, 2026 23:52
@cowlicks cowlicks force-pushed the refactor-encryption branch 2 times, most recently from 88481d8 to c429d8d Compare February 19, 2026 06:24
@cowlicks cowlicks force-pushed the refactor-encryption branch from 3fdbce5 to fb8b344 Compare February 19, 2026 19:28
it's handled in hypercore handshake
@cowlicks cowlicks merged commit c56b924 into datrs:master Feb 19, 2026
4 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.

1 participant