feat: add OHTTP (NUT-26) support#2021
Draft
crodas wants to merge 1 commit into
Draft
Conversation
23bdf17 to
e1d77bf
Compare
Add Oblivious HTTP support for enhanced privacy between wallets and mints. - Add ohttp-gateway crate: OHTTP gateway server that can be embedded in cdk-mintd or run standalone, handling BHTTP encapsulation/decapsulation and key management - Add ohttp-client crate: client library for OHTTP key discovery and request encapsulation - Add OHTTP transport layer in cdk wallet for routing requests through an OHTTP relay - Add OhttpSettings (NUT-26) to MintInfo for advertising OHTTP support - Add MintBuilder::with_ohttp() for configuring OHTTP on the mint side - Add ohttp_gateway config section to cdk-mintd - Add --ohttp-relay CLI flag to cdk-cli - Wire OHTTP gateway router into cdk-mintd when enabled
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2021 +/- ##
==========================================
- Coverage 69.03% 68.58% -0.45%
==========================================
Files 352 358 +6
Lines 69470 70112 +642
==========================================
+ Hits 47956 48088 +132
- Misses 21514 22024 +510 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add Oblivious HTTP support for enhanced privacy between wallets and mints.
This is a follow up of #1067
Notes to the reviewers
Suggested CHANGELOG Updates
CHANGED
ADDED
REMOVED
FIXED
Checklist
just quick-checkbefore committingcrates/cdk-ffi)