-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
apidocumentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
Request creation using ohttp_encapsulate require a &mut OhttpKeys. I believe HpkeS that's created in ohttp::ClientRequest::from_config(ohttp_keys)?, where ohttp_keys is &mut, incorporates randomness so that this mutation does not need to be saved each time a request is created. If it does need to be saved, we need to make sure we're saving it.
Write a test to confirm that distinct calls to ClientRequest::from_config are different (indistinguishable, really) so that subsequent requests, especially requests between persisted resumption, are not able to be correlated.
Document the result, and potentially allow those state machine create request methods to take an immutable self or &self that clones OhttpKeys to make this design obvious.
Metadata
Metadata
Assignees
Labels
apidocumentationImprovements or additions to documentationImprovements or additions to documentation