Closed 0xturboblitz closed 2 days ago
Hi @0xturboblitz can I work on this?
Hey @Iwueseiter! Thanks for showing interest. We've created an application for you to contribute to Proof of Passport. Go check it out on OnlyDust!
Hi @0xturboblitz can I work on this?
This one is outside the scope of onlydust contributions
We only want to keep
dsc
inPassportData
. This is cleaner and we have nice functions to get the signature algorithm, hash function, hash length, etc from it.Some scripts from
common/scripts/passportData
don't use DSCs but generate pubkeys manually. I added a mock ECDSA DSC generated from here and adaptedsha256_ecdsa.ts
as an example, but this should be done on other scripts. Once this is done, we can removepubKey
andsignatureAlgorithm
and always usegetSignatureAlgorithm
,getCircuitName
, etcAlso, the ecdsa scripts in
common/scripts/passportData
still usenode
specific imports, so can't be added to the mock passport data generator in the app. The adaptation I made above works without node, so it will solve that too.