zk-passport / proof-of-passport

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

Generate mock passport data from new signature algorithms #107

Open 0xturboblitz opened 1 month ago

0xturboblitz commented 1 month ago

To add support for new signature algorithms, see https://github.com/zk-passport/proof-of-passport/issues/38, we need corresponding signed passport data. If you are not comfortable with sending us your passport data, you can always do the following:

  1. Build the app and read your passport
  2. Write the passport data that has been logged in your console to a new json file, following mockPassportData.ts.
  3. Adapt circuits/scripts/genMockPassportData.ts to generate a passport data file that is compliant with your signature algorithm.

If your sig alg is not sha256WithRSAEncryption or sha1WithRSAEncryption, which we already have, we'll be happy to award you a bounty.

juandiegocv27 commented 1 month ago

Hi, @0xturboblitz

I would love to contribute to the task "Generate mock passport data from new signature algorithms #107" starting on May 23, 2024, with a completion date of June 1, 2024. I'm Juan Diego Carballo, a full-stack developer with a software engineering degree. I have already contributed to other projects and am currently creating an on-chain game. I have experience with Cairo and blockchain development, including implementing and optimizing encoding algorithms.

To complete this issue, I will:

  1. Build the app and read my passport data.
  2. Write the logged passport data to a new JSON file following the format in mockPassportData.ts.
  3. Adapt the script in circuits/scripts/genMockPassportData.ts to generate a passport data file compliant with the new signature algorithm.
  4. Ensure compatibility with signature algorithms beyond sha256WithRSAEncryption and sha1WithRSAEncryption.

Thank you for the opportunity.

DevPelz commented 1 month ago

I would like to work on this I believe my passport data hashing algorithm might be different

remicolin commented 1 month ago

Hi @juandiegocv27, @DevPelz, you can work on this. First step is to scan your passport to know which hash/sig set-up is used. Please let-us know when you got the information of you got any trouble building the app.

DevPelz commented 1 month ago

hi @remicolin I'm having issues building the app, how can I contact you?

0xturboblitz commented 1 month ago

You can contact us on telegram at @colinremi and @FlorentTavernier

DevPelz commented 1 month ago

unable to dm, says i can only send messages to mutual contacts, do you mind sending me a dm @Devpelzz