Commit Graph

396 Commits

Author SHA1 Message Date
turnoffthiscomputer
51718b387e add try/catch statement around getDgPaddingBytes 2025-01-09 15:15:26 +01:00
turnoffthiscomputer
1b0293dad1 add DG padding bytes to passport metadata 2025-01-09 14:55:23 +01:00
turnoffthiscomputer
8574020fff fix app build 2025-01-08 16:52:15 +01:00
turnoffthiscomputer
9a55c4ba37 merge dev into feat/brutforce-sigalg 2025-01-07 15:44:11 +01:00
turnoffthiscomputer
c3ef0245cc add brutforcing for dsc/csca certificate chain 2025-01-07 12:38:22 +01:00
turnoffthiscomputer
c7f37ab18c update brainpoolP256r1 certificates 2025-01-07 12:29:34 +01:00
ayman
17240f5d9f fix: working tests 2025-01-07 16:50:52 +05:30
turnoffthiscomputer
4cf355af4a add rsapss txt format 2025-01-06 16:46:33 +01:00
turnoffthiscomputer
339302e5fd small clean 2025-01-06 16:46:13 +01:00
turnoffthiscomputer
b816b759d8 refactor and fix corner cases 2025-01-06 16:38:32 +01:00
turnoffthiscomputer
ec161c8478 brutForce signatureAlgorithm and hashfunction for passportData 2025-01-06 16:23:59 +01:00
ayman
6a8cd77740 Merge branch 'dev' into feat/other-ecdsa-circuits 2025-01-06 16:30:51 +05:30
turnoffthiscomputer
027889e322 switch CSCA with SKI to WRN 2025-01-06 11:37:19 +01:00
turnoffthiscomputer
b04b94146f remove error loging when CSCA not found 2025-01-06 11:36:01 +01:00
ayman
06e366d2ec merge dev 2025-01-06 12:52:59 +05:30
ayman
80caa3223c feat: support sha512 brainpoolP512r1 2025-01-06 12:34:35 +05:30
turnoffthiscomputer
8b0d06aa49 update signedAttr and eContent max size 2025-01-06 00:55:06 +01:00
turnoffthiscomputer
6300793720 update n,k for 3072 rsa key 2025-01-06 00:35:28 +01:00
turnoffthiscomputer
cb51b7440c yarn format 2025-01-05 23:46:42 +01:00
turnoffthiscomputer
f8dda528c9 bring back hashAlgorithm and fix dsc tests 2025-01-05 23:46:12 +01:00
turnoffthiscomputer
0c8957081c update dsc/passportData parsing 2025-01-05 18:15:47 +01:00
turnoffthiscomputer
19a53b2960 create init_elliptic function 2025-01-05 16:48:20 +01:00
turnoffthiscomputer
6b351ab9db export const hashAlgos 2025-01-05 16:47:55 +01:00
turnoffthiscomputer
fd94b5b3c0 rename certificate folder 2025-01-05 16:46:57 +01:00
turnoffthiscomputer
de18b2fd45 add sha256_secp384r1_sha1_rsa_65537_4096 certificate 2025-01-05 16:46:13 +01:00
turnoffthiscomputer
18a8efe65c remove ABI and ski_modulus from constants.ts 2025-01-05 14:36:29 +01:00
turnoffthiscomputer
478b3d604e implement multi-hash circuits for passport verification 2025-01-03 14:34:46 +01:00
ayman
c9d56364a0 fix: sha384 and sha512 2025-01-03 13:22:35 +05:30
turnoffthiscomputer
7acf4b9032 fix generate inputs prove 2025-01-01 17:04:50 +01:00
turnoffthiscomputer
7ee31e0557 fix getLeaf function 2025-01-01 16:59:01 +01:00
turnoffthiscomputer
dd25996b57 clean certificate parsing library 2025-01-01 16:49:49 +01:00
turnoffthiscomputer
ae3bc6884e fix genMockPassportData for ecdsa 2025-01-01 15:39:48 +01:00
turnoffthiscomputer
2ddc12f441 fix ecdsa certificate parsing for non explicits parameters certificates 2025-01-01 15:04:40 +01:00
ayman
164baf46c2 feat: support sha256 brainpoolP224r1 2024-12-30 19:52:01 +05:30
ayman
dbdeef8d3b feat: support sha1 brainpool224r1 2024-12-30 19:38:23 +05:30
turnoffthiscomputer
667c993ee3 fix build issues - improve amplitude logs 2024-12-29 23:00:33 +01:00
turnoffthiscomputer
89b533d6a7 split parseCertificateSimple.ts 2024-12-28 13:05:19 +01:00
turnoffthiscomputer
9a0330a4c7 add passportMetaData feature 2024-12-28 12:49:59 +01:00
ayman
9504103a7b feat: support sha512 brainpoolP384r1 2024-12-28 16:13:12 +05:30
ayman
6e4a72f90d feat: support sha512 brainpoolP256r1 2024-12-28 15:26:42 +05:30
ayman
b71b6113ce feat: support sha384 brainpool256r1 2024-12-28 14:27:49 +05:30
ayman
a133cb4235 feat: add sha256 secp384r1 support 2024-12-28 11:41:06 +05:30
ayman
5e90bd988a fix: helper utils 2024-12-28 10:30:40 +05:30
motemotech
ea6c8d4683 pass tests 2024-12-28 01:07:12 +09:00
turnoffthiscomputer
f79a14af9d remove dummy inputs 2024-12-18 16:29:48 +01:00
motemotech
039f1220ad add test cases 2024-12-18 00:41:37 +09:00
turnoffthiscomputer
f6ce4bcd56 remove dummy from dsc circuit inputs and remove uncessary logs 2024-12-16 13:55:03 +01:00
turnoffthiscomputer
065374afd0 uncomment tests, clean code and remove dummy from circuit inputs 2024-12-16 13:41:45 +01:00
turnoffthiscomputer
b58d2f7c96 fix n,k for ecdsa circuits 2024-12-16 13:26:28 +01:00
ayman
57d094dcc5 chore: change n and k params for ecdsa 2024-12-16 15:16:08 +05:30