-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iroh-base): remove automatic key caching (#3051)
## Description - remove automatic caching of public key material - move `crypto_box` based shared secret into `iroh` behind a private API ## Breaking Changes - remove `iroh_base::SharedSecret` - remove `iroh_base::DecryptionError`, `iroh::DecryptionError` - remove `iroh_base::SecretKey::shared` ## Notes I removed the benchmark for this, because it would require keeping this API public. This needs a follow up PR adding an explicit key cache for the relay protocol, which needs to check keys on a per packet basis.
- Loading branch information
1 parent
a6f502c
commit 58df1d8
Showing
10 changed files
with
99 additions
and
300 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.