Skip to content

Conversation

@burdges
Copy link
Collaborator

@burdges burdges commented Nov 28, 2023

We make the EcVrfSinger trait consume self instead of borrow &self, so then in future it can work on preprepared proof types, where the proof should be consumed and destroyed once used.

We have a problem if we want to do this with the proofs generated elsewhere though: How do you ensure deletion of something serializable? We'd maybe compute the blinding factor using a key exchange run before the proof is generated, so then the signer device enforces the limit.

We maybe do not care though since parity vault always runs on fairly hefty devises, like androids or iphones, so then this change alone permits a direct implementation of session types that prevent reuse. It's only maybe kampela that's problematic here.

@burdges burdges requested review from davxy and swasilyev November 28, 2023 12:41
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.

2 participants