cloudflare / zkp-ecdsa

Proves knowledge of an ECDSA-P256 signature under one of many public keys that are stored in a list.

Home Page:https://research.cloudflare.com/publications/Faz-Hernandez2021/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how could I use this practically?

darkedges opened this issue · comments

Reading throught the example it seems that I need to have access to the list of publickeys so that I can generate a proof of the signature.

So here is my thinking

  1. Generate KeyPair
  2. Submit public key to an endpoint that adds it to the list
  3. generate Signature and submit to an endpoint that generates the proof
  4. give the proof to the requester
  5. requester submits proof to an endpoint that validates the proof.

This now adds some complexity, as I need to keep the list of Public Keys in memory / data store and reference that list each time. So I would need a mechanism that would scale. Or am i wrong in that thinking and there is a short cut to keeping the generated proofs valid whilst not maintaining the list.

Please close if there is a better forum for this.

Regards
Nicholas