zk-passport / proof-of-passport

Proof of passport protocol using zk-SNARKs
https://proofofpassport.com
245 stars 32 forks source link

Adapt RSA to 3072 and 4096 bit keys #132

Closed 0xturboblitz closed 3 weeks ago

0xturboblitz commented 3 weeks ago

The implementation of RSA in circom we use supports 2048 bit keys.

One of the things we will need to validate certificate chains is adapting it to support 3072 and 4096 bit keys, as keys of those sizes are used by CSCAs to sign DSCs.

remicolin commented 3 weeks ago

I already implemented certificated chain verification with 2048 bits rsa dsc and 4096 bits csca key on csca branch, working well. proving time is slow but i think n and k parameters can be optimized.