0xturboblitz
29929d818a
add prettier to common, not running it to avoid bad merge
2024-09-14 15:11:47 +09:00
0xturboblitz
9bbaf7d4ce
yarn format
2024-09-14 15:08:47 +09:00
0xturboblitz
12d42800bc
fix ofac tests
2024-09-14 15:04:37 +09:00
0xturboblitz
9d33ae84a3
remove static mockPassportData
...
- can add them back if necessary, have to regenerate them so they have dscs
2024-09-14 14:05:38 +09:00
0xturboblitz
de8cacb48d
remove comments
2024-09-14 14:03:27 +09:00
0xturboblitz
cc0a0ea4a2
use n_dsc_ecdsa everywhere when ecdsa
2024-09-14 13:50:23 +09:00
0xturboblitz
544aa78d12
add /common tests to github workflow
2024-09-14 13:44:03 +09:00
0xturboblitz
6c40783d5d
move SignatureAlgorithm to types.ts
2024-09-14 13:38:42 +09:00
0xturboblitz
8e2dd94554
get SignatureAlgorithmIndex back in accordance with circuits
2024-09-14 13:33:35 +09:00
0xturboblitz
aa01c8e85c
rename getSignatureAlgorithm to parseDSC
2024-09-14 13:25:00 +09:00
0xturboblitz
4bc2afcfa7
remove signatureAlgorithm and pubKey from PassportData
2024-09-14 13:11:58 +09:00
0xturboblitz
82cd1005d8
remove signatureOidToName
2024-09-14 12:59:40 +09:00
0xturboblitz
5a95fa9f51
fix disclose test
2024-09-14 12:52:22 +09:00
0xturboblitz
fb15c9427c
update getLeaf to use DSC and SignatureAlgorithmIndex to use new names
2024-09-14 12:39:51 +09:00
0xturboblitz
7288bab526
simplify splitToWords, remove BigintToArray
2024-09-14 12:05:25 +09:00
0xturboblitz
f99f54e35b
factor register tests
2024-09-14 11:55:21 +09:00
0xturboblitz
7e5c337a50
fix ecdsa
2024-09-14 11:37:44 +09:00
turnoffthiscomputer
1d80387ae7
update csca merkle tree
2024-09-13 20:32:38 +02:00
0xturboblitz
8522682f2a
refactor mockPassportData generation
...
- Now using only genMockPassportData.ts
- Tests in `/common` verify them
- Mock DSCs for ecdsa
- Factor tests into unique files
- Broke register ecdsa sig verif, will fix
2024-09-14 01:29:04 +09:00
turnoffthiscomputer
0aa3fb9f40
yarn format
2024-09-13 18:27:33 +02:00
turnoffthiscomputer
ad5fa3ecb5
add rsapss to modal server
2024-09-13 18:15:10 +02:00
turnoffthiscomputer
cad4f37088
implement new rsapss template
2024-09-13 18:12:22 +02:00
turnoffthiscomputer
128cab0f70
fix rsapss when n*k != modulus_length
2024-09-13 18:07:20 +02:00
turnoffthiscomputer
66a5884cb3
add SplitSignalsToWordsUnsafe
2024-09-13 18:06:33 +02:00
turnoffthiscomputer
6aa414e323
add rsapss repo
2024-09-13 17:57:23 +02:00
turnoffthiscomputer
a8640a3e2c
computeLeafFromPubKey in getCSCAInputs
2024-09-13 17:32:21 +02:00
turnoffthiscomputer
d29726762d
add sha2 repo to circuits/utils
2024-09-13 17:29:23 +02:00
turnoffthiscomputer
2a707f159d
add sha1 and rsapss to signatureOidToName
2024-09-13 14:32:24 +02:00
turnoffthiscomputer
15f0bfd1a9
change .crt to .pem
2024-09-13 14:31:35 +02:00
0xturboblitz
01a21866c8
remove nested array from ecdsa circuit inputs
...
- they are not supported by swift bindings
2024-09-13 20:30:34 +09:00
turnoffthiscomputer
48d7729300
allow more RAM in build_dsc_4096_circuits.sh
2024-09-12 18:37:33 +02:00
turnoffthiscomputer
0c0ea4bf52
change from LeafHasher to LeafHasherLight
2024-09-12 18:36:52 +02:00
turnoffthiscomputer
6b8182d68b
add leafHasherLight and improve leafHasher
2024-09-12 17:47:58 +02:00
turnoffthiscomputer
7fb391f828
update n_csca and k_csca for 120, 35
2024-09-12 17:41:55 +02:00
turnoffthiscomputer
b4b520172e
remove comments
2024-09-12 12:49:02 +02:00
turnoffthiscomputer
f233542b2d
refactor test sheet
2024-09-12 12:48:27 +02:00
turnoffthiscomputer
3ebf159b4a
refactor verifyDsc into a function
2024-09-12 12:46:05 +02:00
turboblitz
536e5a2a78
Update /circuits README.md
2024-09-12 13:04:22 +09:00
0xturboblitz
f236930932
remove app clip target
...
- those circuits will make it too large
2024-09-12 12:26:41 +09:00
turnoffthiscomputer
f32f5821b5
add register proof support and refactor
2024-09-11 18:08:41 +02:00
0xturboblitz
7069a4ce60
fix register rsa sha2 circuit
2024-09-11 23:41:55 +09:00
0xturboblitz
d0c8b7d26b
remove .dat files from app bundles
2024-09-11 23:06:53 +09:00
turnoffthiscomputer
c7519529d0
quick implementation of register verification in sdk
2024-09-11 15:51:29 +02:00
turnoffthiscomputer
8d6ebda748
remove and add again .a files to xcode
2024-09-11 15:50:52 +02:00
turnoffthiscomputer
e41149feb6
delete old artifacts
2024-09-11 15:50:17 +02:00
turnoffthiscomputer
2a0024be69
don't download zkey after generating mockPassportData in app
2024-09-11 15:47:41 +02:00
turnoffthiscomputer
c382e4c54c
update download_circuits.sh
2024-09-11 15:47:07 +02:00
turnoffthiscomputer
06712e7fd2
add register rsa sha1 and rsapss sha256
2024-09-11 14:13:03 +02:00
turnoffthiscomputer
4a8df0d059
update register verifier contracts
2024-09-11 12:33:01 +02:00
turnoffthiscomputer
e4ca433a48
improve build circuits scripts
2024-09-11 12:32:51 +02:00