Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #232

Merged
merged 485 commits into from
Oct 28, 2024
Merged

Dev #232

Changes from all commits
Commits
Show all changes
485 commits
Select commit Hold shift + click to select a range
27cb0a8
update circuit path
remicolin Sep 20, 2024
c6aaa1b
update sha1 constants size
remicolin Sep 20, 2024
d6cfa17
optimize rsapss signature verification for 65537 exponent
remicolin Sep 20, 2024
4ad5371
add contract verifier generation to build_prove_circuits.sh
remicolin Sep 20, 2024
adb18f7
clean .sh
remicolin Sep 20, 2024
5f1b0ff
update witnesscalc with new zkeys
remicolin Sep 21, 2024
ccf2534
adapt script to zip and upload dat and zkeys to aws
remicolin Sep 21, 2024
27645f7
implement new proof generation in app
remicolin Sep 21, 2024
64ac277
fix test web-app qrcode gen
remicolin Sep 21, 2024
0b67347
assert selector_older_than is == 1 | 0
remicolin Sep 23, 2024
93a4817
fix nfcScanner.ts
remicolin Sep 23, 2024
35a697b
add curve to ecdsa circuits name
remicolin Sep 23, 2024
dbc4dee
add ecdsa to mobile proving (attempt)
remicolin Sep 24, 2024
294d9f7
add witnessgen to android (attempt)
remicolin Sep 24, 2024
6e00350
update circuits
remicolin Sep 25, 2024
7e9ddba
Revert "add ecdsa to mobile proving (attempt)"
remicolin Sep 25, 2024
ddd7e72
update witness gen
remicolin Sep 25, 2024
0a78f58
add new attestation format
remicolin Sep 25, 2024
b9e5da2
implement new dsc circuits and tests
remicolin Sep 27, 2024
947e031
add new dsc verifier contracts
remicolin Sep 27, 2024
2f74347
update prover
remicolin Sep 27, 2024
64b46bc
update witnesscalc on android
remicolin Sep 27, 2024
0c0c6dc
update build_csca_merkle_tree.ts
remicolin Sep 27, 2024
b68d510
update sdk
remicolin Sep 27, 2024
0a7ce44
implement new flow in app
remicolin Sep 27, 2024
17a0a5e
add empty vkey to attestation standard
remicolin Sep 27, 2024
3ed0392
update sdk
remicolin Sep 27, 2024
0837d10
implement mainFields in webpack config
remicolin Sep 27, 2024
e84466f
merge 'ashpect/latest' into merge-175
remicolin Sep 27, 2024
3b2dd28
Merge pull request #205 from zk-passport/attestation-format
remicolin Sep 27, 2024
8c40f7e
fix merge
remicolin Sep 30, 2024
3a6c68a
refactor ofac and sanctionCountry circuits
remicolin Oct 2, 2024
ba4e994
update smt check to return 0 instead of creating a constraint
remicolin Oct 2, 2024
38983ca
update ofacVerification for ofacCheckResult
remicolin Oct 2, 2024
421372e
add variable first and lastname size
remicolin Oct 2, 2024
43eb86a
update function names
remicolin Oct 2, 2024
36028da
add ofac name check to prove circuit
remicolin Oct 2, 2024
81f7b0b
add new proveCountryIsNotInlist circuit and add it to prove
remicolin Oct 3, 2024
d0d5d64
yarn format
remicolin Oct 3, 2024
032eb02
add remaining attributes to attestation
0xturboblitz Oct 3, 2024
b696bbc
fix typos
0xturboblitz Oct 3, 2024
a85c75a
improve selector management and update proveCountryIsNotInList
remicolin Oct 3, 2024
0ba2430
update vkey.ts
remicolin Oct 3, 2024
25e21ad
update verifier contracts
remicolin Oct 3, 2024
754d02e
add brainpool certificates
remicolin Oct 3, 2024
d347fad
fix build_prove_circuits.sh
remicolin Oct 3, 2024
1f08d6c
add brainpool to genMockPassportData.ts and mockCertificates.ts
remicolin Oct 3, 2024
36951d2
yarn format
remicolin Oct 3, 2024
312b74a
merge dev into merge-175
remicolin Oct 3, 2024
700e100
solve vkey merge issue
remicolin Oct 3, 2024
7e32230
fix other_circuits circuits tests
remicolin Oct 3, 2024
22c81f1
yarn format
remicolin Oct 3, 2024
aa1f831
remove passport expiry test of disclose.test.ts
remicolin Oct 4, 2024
807316d
Merge pull request #206 from zk-passport/merge-175
remicolin Oct 4, 2024
bf1aa7d
add prove circuits details to README
remicolin Oct 4, 2024
a432d2e
fix hardhat config and .env file
motemotech Oct 6, 2024
d60e749
Merge pull request #208 from zk-passport/fix/hardhat-config
remicolin Oct 6, 2024
1a18dd7
fix script for build-dsc-circuit
motemotech Oct 6, 2024
b7c69d6
lint
motemotech Oct 6, 2024
c49215b
add build script for dislose circuits
motemotech Oct 6, 2024
72fde0e
fix readme
motemotech Oct 6, 2024
727abb8
fix lint
motemotech Oct 6, 2024
d0ee747
build witnesscalc
remicolin Oct 6, 2024
d46b11a
fix app imports
remicolin Oct 6, 2024
0dfa2b7
Merge branch 'dev' of https://github.com/zk-passport/openpassport int…
remicolin Oct 6, 2024
0b2dbfa
add OneTimeSBT.sol and VerifiersManager.sol
motemotech Oct 7, 2024
3ae600f
Merge branch 'dev' into feat/build-scripts-for-circuit
motemotech Oct 7, 2024
729985e
add build_disclose_circuit.sh and fix each build scripts
motemotech Oct 7, 2024
ef9956e
delete not ideal files
motemotech Oct 7, 2024
8c9b302
delete verifiers under contracts and move them to under contracts/ver…
motemotech Oct 7, 2024
5f5269a
change verifier contract inside SBT.sol
motemotech Oct 7, 2024
f50e7ee
delete attributePositions and made library to get attribute from pass…
motemotech Oct 7, 2024
bb0054f
update require to custom errors
motemotech Oct 7, 2024
d088fc7
Merge pull request #212 from zk-passport/fix/sbt-for-new-disclose-cir…
remicolin Oct 7, 2024
fb77493
change circuit list for build_disclose
motemotech Oct 7, 2024
bfb0a42
delete all dsc 2048
motemotech Oct 7, 2024
f5e2a43
Merge branch 'dev' into feat/build-scripts-for-circuit
motemotech Oct 7, 2024
038b76a
delte dsc 2048 instances after merge dev
motemotech Oct 7, 2024
7a297aa
Merge pull request #211 from zk-passport/feat/build-scripts-for-circuit
remicolin Oct 7, 2024
a9fe0d1
Merge pull request #214 from zk-passport/feat/one-time-sbt-contract
remicolin Oct 7, 2024
a161a72
implement country list verification
remicolin Oct 8, 2024
6e8d134
add test for mint validations
motemotech Oct 8, 2024
ca2d7bc
add test when you successfuly mint sbt
motemotech Oct 8, 2024
7c07018
delete comment
motemotech Oct 8, 2024
34eb3f5
add test for transfer and coverage check tool
motemotech Oct 8, 2024
3a7e1d5
move into unit test
motemotech Oct 8, 2024
e7dabf4
add integration dir and integration test
motemotech Oct 8, 2024
ddf1360
delete unused imports
motemotech Oct 8, 2024
47fb8b6
fix age verification
remicolin Oct 8, 2024
a8ed20b
dg2Hash in passportData on iOS
0xturboblitz Oct 8, 2024
be2d293
fix age verification
remicolin Oct 8, 2024
df08107
Merge pull request #217 from zk-passport/feat/test-for-OneTimeSBT.sol
remicolin Oct 9, 2024
42b2fb9
add OneTimeVerification.ts. this is integration test for one time min…
motemotech Oct 9, 2024
5e215ef
Merge branch 'dev' into feat/integration-test-for-one-time-verification
motemotech Oct 9, 2024
946d4c5
preparation for OneTimeVerification.ts
motemotech Oct 9, 2024
c881b77
fix local commentout
motemotech Oct 9, 2024
1c371b2
change to magic value to constant
motemotech Oct 9, 2024
0a8713b
fix build dsc 4096 script
motemotech Oct 9, 2024
859302d
Merge branch 'feat/integration-test-for-one-time-verification' of htt…
motemotech Oct 9, 2024
387a4c7
try proof gen in test code, but seems not working.
motemotech Oct 9, 2024
42b5257
fix inputs for prove proof gen
motemotech Oct 9, 2024
649cba8
update snarkjs version
motemotech Oct 9, 2024
9a8a6da
Merge branch 'feat/integration-test-for-one-time-verification' of htt…
motemotech Oct 9, 2024
8c46ade
remove commentout from dsc proof generation
motemotech Oct 9, 2024
d1d3a5c
update sdk
remicolin Oct 10, 2024
c1e3b74
add countryNames and new appTypes
remicolin Oct 10, 2024
0c77f5a
add paco and msgpack-lite to app
remicolin Oct 10, 2024
cbfe45c
update sdk and app
remicolin Oct 10, 2024
f9d3756
add test:prod command and change dsc to be able to get env val
motemotech Oct 10, 2024
2822070
add integration test for mint function
motemotech Oct 10, 2024
e63c2ca
delete unused function in utils.ts
motemotech Oct 10, 2024
0936ede
delete unused imports
motemotech Oct 10, 2024
2151495
update readme
motemotech Oct 10, 2024
458e7ac
update readme
motemotech Oct 10, 2024
3077e9a
fix package-lock.json
motemotech Oct 10, 2024
ac6e8fb
checked the flow writtein in readme
motemotech Oct 10, 2024
8d1cc18
Merge pull request #218 from zk-passport/feat/integration-test-for-on…
remicolin Oct 10, 2024
de0e407
implement AttestationVerifier.ts
remicolin Oct 10, 2024
bab737b
add signatureAlgorithm, hash function and mode to openpassportAttesta…
remicolin Oct 10, 2024
070e40b
add prove_onchain support
remicolin Oct 10, 2024
c7b1b31
filter '\u0000' from unpacked data
remicolin Oct 10, 2024
dcdba58
add url to vkey
remicolin Oct 10, 2024
afd887a
add blinded_dsc_commitment to credentialSubject in openpassport attes…
remicolin Oct 10, 2024
1c39dd2
set merkle_root as public input
remicolin Oct 12, 2024
bb0aaa2
fix build dsc circuits script
remicolin Oct 13, 2024
aa315b2
add circuitNameFromMode in constants.ts
remicolin Oct 13, 2024
f68086d
update repo with new dsc circuits
remicolin Oct 13, 2024
3495430
enable mock certificates on modal.test.ts
remicolin Oct 13, 2024
d470b2a
implement public inputs semantics verification
remicolin Oct 14, 2024
be02ddd
clean code
remicolin Oct 14, 2024
8d4441e
implement vc_and_disclose circuit in iOS app
remicolin Oct 14, 2024
3a96f37
import qrcode component dynamically
remicolin Oct 14, 2024
2e281bb
add commitmentMerkleTree parameter to register appType
remicolin Oct 14, 2024
e4bb0e4
add new methods in openPassportDynamicAttestation
remicolin Oct 15, 2024
73b5467
implement fallback to register on proofofpassport-merkle-tree.xyz
remicolin Oct 15, 2024
1c39248
fix CMakeLists.txt
remicolin Oct 16, 2024
5361cdb
download vc_and_disclose zkey
remicolin Oct 16, 2024
6a004b5
add vc_and_disclose to generateInputsnApp
remicolin Oct 16, 2024
ece975e
update PASSPORT_ATTESTATION_ID and COMMITMENT_TREE_TRACKER_URL
remicolin Oct 16, 2024
d6d6f11
update generateInputsDisclose
remicolin Oct 16, 2024
1698ddb
add vc_and_disclose proof gen support
remicolin Oct 16, 2024
c95bb83
clean common package.json
remicolin Oct 16, 2024
b7784ba
update sdk to support vc_and_disclose circuit
remicolin Oct 16, 2024
8994e9a
check commitment generation in LeafHasher.test.ts
remicolin Oct 16, 2024
fa1e0eb
fix test code
motemotech Oct 16, 2024
7453b48
add vkey of vc_and_disclose circuit
remicolin Oct 16, 2024
da752c0
add ofac and forbidden countries list check in vc_and_disclose.circom
remicolin Oct 16, 2024
e783e51
build witnesscalc
remicolin Oct 16, 2024
6a333f8
update disclose generateInputs function
remicolin Oct 16, 2024
2dce3f3
add fetchTreeFromUrl in utils.ts
remicolin Oct 16, 2024
0953fec
update vc_and_disclose vkey
remicolin Oct 16, 2024
74c157e
add break statement in ProveScreen
remicolin Oct 16, 2024
270f385
implement vc_and_disclose proof/semantic verification in sdk
remicolin Oct 16, 2024
2d9aed5
separate regsiter and disclose on 2 different pages
remicolin Oct 16, 2024
34eba4c
yarn format
remicolin Oct 16, 2024
d1f46b9
Merge pull request #220 from zk-passport/update-sdk
remicolin Oct 16, 2024
758be53
update verifier and openpassport verifier
motemotech Oct 17, 2024
101464b
fix package.json for npm
motemotech Oct 17, 2024
dcf54e1
write deploy codes
motemotech Oct 17, 2024
20b5247
add deploy scripts and verifier setting scripts
motemotech Oct 17, 2024
afc2337
remove ecdsa builds from android app
0xturboblitz Oct 17, 2024
abfff50
bump to react native 75
0xturboblitz Oct 18, 2024
7bfd0b6
fix ios
0xturboblitz Oct 18, 2024
b4933da
Merge pull request #221 from zk-passport/fix/timestamp-in-integration…
remicolin Oct 18, 2024
66748c5
Merge branch 'dev' into feat/npm-package
motemotech Oct 18, 2024
73e2e46
add single disclose function, bit like selector mechanism and helper …
motemotech Oct 19, 2024
3e27178
delete pubkey reveal
motemotech Oct 19, 2024
b49cdf8
fix app
remicolin Oct 19, 2024
51f701c
fix offchain proving and display error when csca not found
remicolin Oct 19, 2024
f4de23a
udpate prove/page.tsx
remicolin Oct 19, 2024
cadaa3f
Merge pull request #223 from zk-passport/fix-app
remicolin Oct 19, 2024
fda3917
rename sdk function for clarity
remicolin Oct 19, 2024
19722c3
Merge branch 'dev' into feat/npm-package
motemotech Oct 20, 2024
c895d2e
update function name and function to extract forbidden countries
motemotech Oct 20, 2024
873bbb0
down grade solidity version for fully hardhat support
motemotech Oct 20, 2024
34158c9
pass compilation
motemotech Oct 20, 2024
3251b28
delete unused consolelog
motemotech Oct 20, 2024
c4b37cd
fix index specification
motemotech Oct 20, 2024
95f2881
update read me
motemotech Oct 20, 2024
37b36d6
delete old verifier id
motemotech Oct 20, 2024
9cff012
update readme
motemotech Oct 20, 2024
f9d9c5b
add verifier id constants
motemotech Oct 21, 2024
fdcc7ac
add open passport attestation struct
motemotech Oct 21, 2024
7646dc6
update solidity version and move extract functions to handler lib
motemotech Oct 21, 2024
901cc4e
update extractUserIdentifier function
motemotech Oct 21, 2024
4e95082
delete register screen
remicolin Oct 21, 2024
f6189b4
revert yarn.lock file in common repo
motemotech Oct 21, 2024
73de3c0
clean/refactor fix devmode
remicolin Oct 21, 2024
2395877
implement iOS deeplink
remicolin Oct 21, 2024
db1d702
Merge branch 'dev' of https://github.com/zk-passport/openpassport int…
remicolin Oct 21, 2024
4aee5fc
update java version in readme
remicolin Oct 21, 2024
f1c5856
Merge pull request #225 from zk-passport/fix-android
remicolin Oct 21, 2024
0a70d30
Merge branch 'dev' of https://github.com/zk-passport/openpassport int…
remicolin Oct 21, 2024
c65b7eb
Merge pull request #224 from zk-passport/deeplink
remicolin Oct 22, 2024
08e124f
delete archive
motemotech Oct 22, 2024
9869e12
Merge branch 'dev' into feat/npm-package
remicolin Oct 22, 2024
458c75d
Merge pull request #222 from zk-passport/feat/npm-package
remicolin Oct 22, 2024
1d50369
update .lock files
remicolin Oct 23, 2024
2a9b4ba
delete bundle configs file in sdk
remicolin Oct 23, 2024
827e875
add mrz reading animation
remicolin Oct 23, 2024
acc8f19
improve UI on start and camera screen
remicolin Oct 23, 2024
bdb4896
update tamagui version
remicolin Oct 24, 2024
00af49b
remove phone case indication from carousel
remicolin Oct 24, 2024
e8a19ce
clean AppScreenUI
remicolin Oct 24, 2024
0de8ec3
replace calendar search by buttons on mockdatascreen
remicolin Oct 24, 2024
8d1f95a
minor UI clean
remicolin Oct 24, 2024
aa12416
update user default profile picture
remicolin Oct 25, 2024
0f4f7a7
fix decrementStep
remicolin Oct 25, 2024
8f8f0c8
fix decrement step in Android
remicolin Oct 25, 2024
8dfc85e
improve UI in MockDataScreen and NextScreen
remicolin Oct 25, 2024
5abc980
fix build_dsc_circuits and update dsc verifiers contracts
remicolin Oct 25, 2024
b190b6a
import lean imt form imt lib
remicolin Oct 25, 2024
6d5680e
use a stable version of tamagui
remicolin Oct 25, 2024
3ebb98a
implement new screens on decrement step
remicolin Oct 25, 2024
a507f0a
update dependecies of sdk
remicolin Oct 25, 2024
a364da7
implement new qrcode parsing on android
remicolin Oct 26, 2024
7be44d8
handle InvalidMRZKey
remicolin Oct 26, 2024
4117d13
build witness calcs on android and add vc_and_disclose circuit
remicolin Oct 26, 2024
78f1038
read files from filesystem in proverModule.kt
remicolin Oct 26, 2024
792a1a4
minor changes in project.pbxproj
remicolin Oct 26, 2024
a739e87
Merge pull request #226 from zk-passport/devcon-app-release
remicolin Oct 26, 2024
2cb868c
update fields to check on wrongProof Screen
remicolin Oct 26, 2024
f4b830b
adapt splashScreen on passportData detection
remicolin Oct 26, 2024
33fae7e
disable chevron left button on splashscreen
remicolin Oct 26, 2024
b05b21a
minor clean
remicolin Oct 26, 2024
ced1eb7
Merge pull request #227 from zk-passport/small-fix
remicolin Oct 26, 2024
ebfe4eb
update common dir to openpassport zk kit
motemotech Oct 26, 2024
bbc06ff
delete unused function
motemotech Oct 26, 2024
93f6179
fix android reading
0xturboblitz Oct 26, 2024
05ab1c2
mock instead of fake passport in ui
0xturboblitz Oct 26, 2024
b2b0a59
fix import
0xturboblitz Oct 26, 2024
a644145
make sure to set passportData before switching screen
0xturboblitz Oct 26, 2024
648969f
Merge branch 'dev' into update/openpassport-zk-kit
remicolin Oct 27, 2024
5865032
Merge pull request #228 from zk-passport/update/openpassport-zk-kit
remicolin Oct 27, 2024
ba28099
Revert "Update/openpassport zk kit"
remicolin Oct 27, 2024
e3c5302
Merge pull request #229 from zk-passport/revert-228-update/openpasspo…
remicolin Oct 27, 2024
75dd587
import @openpassport/zk-kit in other repos
remicolin Oct 27, 2024
f9c37a2
update lean imt ver and yarn.lock
motemotech Oct 27, 2024
a093f3b
handle when users come from deeplink without registering before
remicolin Oct 27, 2024
3c7eb5e
divide web-sdk in two parts
remicolin Oct 27, 2024
61592f1
Merge pull request #230 from zk-passport/divided-sdk
remicolin Oct 27, 2024
7966723
update openpassport zk-kit version
motemotech Oct 28, 2024
bf54241
Merge branch 'dev' into update/openpassport-zk-kit
motemotech Oct 28, 2024
1344377
lint
motemotech Oct 28, 2024
031a088
update imports in common dir
motemotech Oct 28, 2024
eeca423
update @openpassport sdk dependencies
remicolin Oct 28, 2024
5cddc9d
merge README
remicolin Oct 28, 2024
07c4a0f
Merge branch 'dev' of https://github.com/zk-passport/openpassport int…
remicolin Oct 28, 2024
91e0747
Merge pull request #231 from zk-passport/update/openpassport-zk-kit
remicolin Oct 28, 2024
6da1ae0
format README
remicolin Oct 28, 2024

Sorry, this diff is taking too long to generate.

It may be too large to display on GitHub.