turnoffthiscomputer
081bc04689
update MAX_PADDED_SIGNED_ATTR_LEN
2024-09-17 16:29:14 +02:00
turnoffthiscomputer
8eb1115e9a
hash data in generateInputs correctly
2024-09-16 17:00:05 +02:00
turnoffthiscomputer
448732b08c
hardcode bits key length for ecdsa certificates
2024-09-16 16:59:37 +02:00
turnoffthiscomputer
4702d3cde3
rename LeafHashing functions
2024-09-16 16:57:15 +02:00
turnoffthiscomputer
f443a146d4
fix typo in utils.ts
2024-09-16 16:49:12 +02:00
turnoffthiscomputer
ce48d1d96a
refactor openpassport register circuits templates, correction of variable names eContent and signAttr
2024-09-16 13:03:09 +02:00
turnoffthiscomputer
4778b20043
use parseCertificate instead of parseDsc
2024-09-14 19:05:11 +02:00
turnoffthiscomputer
fd34bc0d29
fix ofac/dislose tests
2024-09-14 12:52:41 +02:00
turnoffthiscomputer
f3c904e0fb
add sigAlg in csca leaf
2024-09-14 12:45:57 +02:00
turnoffthiscomputer
7383fd0f20
implement new leaf hasher, add special leafhashECDSA in circuits
2024-09-14 12:12:50 +02:00
turnoffthiscomputer
f567535ea2
merge branch 'dev' into register-circuits
2024-09-14 10:33:38 +02:00
0xturboblitz
29929d818a
add prettier to common, not running it to avoid bad merge
2024-09-14 15:11: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
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
a8640a3e2c
computeLeafFromPubKey in getCSCAInputs
2024-09-13 17:32:21 +02:00
turnoffthiscomputer
2a707f159d
add sha1 and rsapss to signatureOidToName
2024-09-13 14:32:24 +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
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
c7519529d0
quick implementation of register verification in sdk
2024-09-11 15:51:29 +02:00
turnoffthiscomputer
ef68691f88
add register vkeys to sdk
2024-09-09 20:37:23 +02:00
turnoffthiscomputer
9477557fa8
import n_dsc and k_dsc from constants
2024-09-09 19:45:14 +02:00
turnoffthiscomputer
842f5817ca
add attestationId as qrCode parameter and parse AppType correctly
2024-09-09 16:09:45 +02:00
turnoffthiscomputer
4a401b6fe8
refactor ws and uuid default value
2024-09-03 13:00:47 +02:00
turnoffthiscomputer
bcd001c00e
add userIDType
2024-09-03 12:36:45 +02:00
turnoffthiscomputer
5aae274355
fix scope parsing issue
2024-08-29 19:13:50 +02:00
turnoffthiscomputer
291f700a0b
allow better scope/user_identifier type handling
2024-08-29 18:52:18 +02:00
0xturboblitz
8a813c577d
use mock DSC for sha256-ecdsa, pubkey now optional on PassportData
2024-08-29 12:29:39 +09:00
0xturboblitz
d47fb632d0
import same sampleDataHashes everywhere
2024-08-29 12:14:57 +09:00
0xturboblitz
9127e41d84
delete empty script
2024-08-29 12:09:49 +09:00
turnoffthiscomputer
06e36ae1d7
update apptype
2024-08-28 15:48:30 +02:00
turnoffthiscomputer
867aba66ea
add mockUser in passportData type
2024-08-28 12:18:47 +02:00
turnoffthiscomputer
e82a8c0ffb
implement getDisclosureOptions method
2024-08-28 11:32:42 +02:00
turnoffthiscomputer
5a45b938f2
update new appType in app
2024-08-27 19:02:11 +02:00
turnoffthiscomputer
70f1a19c1b
import ws server url
2024-08-27 17:40:00 +02:00
turnoffthiscomputer
172db18093
update AppTypes
2024-08-27 17:36:34 +02:00
turnoffthiscomputer
dd5d020252
update genMockPassportData signature type
2024-08-27 14:57:29 +02:00