private-attribution / ipa

A raw implementation of Interoperable Private Attribution
MIT License
41 stars 23 forks source link

Improve validator hygiene #1209

Closed andyleiserson closed 5 days ago

andyleiserson commented 1 month ago

Previously, validators were not Clone. This made it safer and easier to keep track of when and where the validator was outstanding. For malicious security protocols with batched verification (rather than verifying once at the conclusion of the entire protocol), we have relaxed this, but we should try to improve it, which will probably involve something like moving the validate_record method from the validator to the context, and various changes to how/where malicious protocol state is accessed and used to support that.

andyleiserson commented 5 days ago

This was addressed in #1250 by moving the validate_record API to the context.