Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
cfd2058
remove sdk/tests (#622)
remicolin Jun 13, 2025
095ceeb
fix: add range check on paddedInLength of shaBytesDynamic (#623)
Vishalkulkarni45 Jun 15, 2025
9efe1b0
fix ci (#626)
remicolin Jun 16, 2025
7cab29d
implement self uups upgradeable (#592)
motemotech Jun 16, 2025
aca1474
prettier (#629)
motemotech Jun 16, 2025
498b89c
CAN auth - android (#613)
seshanthS Jun 16, 2025
e99e473
feat: add MRZ correction method to NFCMethodSelectionScreen (#627)
seshanthS Jun 16, 2025
6750848
add npm auth token env (#632)
remicolin Jun 16, 2025
f3f7028
bump sdk version (#633)
remicolin Jun 16, 2025
4e57997
publish npm package when merging on dev
remicolin Jun 16, 2025
2d53b89
bump common sdk version
remicolin Jun 16, 2025
40edfd7
replace yarn publish by npm publish
remicolin Jun 16, 2025
cfed790
update common package version
remicolin Jun 17, 2025
08c1ead
Simplify dev mode gesture (#635)
remicolin Jun 17, 2025
f00b21d
add build smt function to common sdk
remicolin Jun 17, 2025
27990f0
update vc_and_disclose_id test (dev branch) (#641)
Vishalkulkarni45 Jun 18, 2025
93312c0
Show modal on NFC scan error (#642)
remicolin Jun 18, 2025
e4541a8
Bump build v2.5.4: ios 132; android 71 (#631)
transphorm Jun 18, 2025
d89d202
fix: update TD1 and TD3 checks (#643)
seshanthS Jun 19, 2025
63b21a1
bum yarn.lock
remicolin Jun 19, 2025
ae0dca3
Bump build: ios 133; android 72 and build fixes (#654)
transphorm Jun 21, 2025
df13f4e
Update example contracts to include EUID usage (#656)
kevinsslin Jun 22, 2025
2607dac
cherry pick commit from add-test-self-verification...
kevinsslin Jun 21, 2025
ddcaac9
block non-dev pr to main branch
remicolin Jun 22, 2025
a193278
audit fixes (#645)
Nesopie Jun 22, 2025
f769680
Update deployment module for Identity Verification Hub V2 with detail…
kevinsslin Jun 23, 2025
d79563c
publish npm-package (#651)
motemotech Jun 23, 2025
be83be9
merge main
Nesopie Jun 23, 2025
0468719
App/eu id updates (#638)
remicolin Jun 23, 2025
02a0ee3
Hotfix contract compile error (#660)
kevinsslin Jun 23, 2025
72a7f81
Fix/sdk (#652)
Nesopie Jun 23, 2025
42eff71
Update npm-publish workflow and bump core package version to 1.0.0 (#…
Nesopie Jun 23, 2025
aa0cb50
update import
remicolin Jun 23, 2025
b3e4d13
Update get verification config visibility (#664)
kevinsslin Jun 23, 2025
60bfe43
Apply BUSL v1.1 license headers to app (#665)
transphorm Jun 23, 2025
f08cfe1
bump build: android 73 (#659)
seshanthS Jun 23, 2025
dd02d04
Contracts/deploy staging (#668)
remicolin Jun 23, 2025
9e74f11
bump ios build and version (#669)
transphorm Jun 23, 2025
c2e958f
configure coderabbitai (#670)
transphorm Jun 24, 2025
4d4efff
Apply BSL to app codebase (#639)
ericnakagawa Jun 24, 2025
37528f8
SEL-423 apply xcode build suggestions (#671)
transphorm Jun 24, 2025
22681b1
Circuit audit fixes (#644)
Vishalkulkarni45 Jun 24, 2025
6f53872
bump core version
remicolin Jun 24, 2025
0a17717
bump core version and fix ci
Nesopie Jun 24, 2025
5f5eb90
chore: use npm_auth_token in yarnrc
Nesopie Jun 24, 2025
018da75
chroe: rm yarnrc changes
Nesopie Jun 24, 2025
8e5065a
chore: update npm publish
Nesopie Jun 24, 2025
bc486e1
chore: run npm publish manually
Nesopie Jun 24, 2025
12e3598
chore: change hub contract address (#675)
Nesopie Jun 24, 2025
650e9b9
Update npm-publish.yml
Nesopie Jun 24, 2025
ca4a9d5
chore: use proper secret when publishing
Nesopie Jun 24, 2025
a8af8ec
feat: enable publishing if workflow was triggered manually
Nesopie Jun 24, 2025
816e765
Contracts/update verifier (#673)
remicolin Jun 24, 2025
c9d548c
update verifier
remicolin Jun 24, 2025
02fd612
bump sdk version and use new hub address
Nesopie Jun 24, 2025
a3555ee
chore: update zk-kit binary merkle root dep (#674)
Vishalkulkarni45 Jun 24, 2025
e685991
chore: merge main into dev
Nesopie Jun 25, 2025
0a5cabd
refactor deployment scripts (#678)
remicolin Jun 25, 2025
83ad584
feat: add register eu id instances (#682)
Nesopie Jun 25, 2025
8a68880
Merge branch 'main' into dev
remicolin Jun 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
run: |
chmod +x circuits/scripts/build/build_cpp.sh && \
./circuits/scripts/build/build_cpp.sh register &&
./circuits/scripts/build/build_cpp.sh register_id &&
./circuits/scripts/build/build_cpp.sh disclose &&
./circuits/scripts/build/build_cpp.sh dsc

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register.circom";

component main { public [ merkle_root ] } = REGISTER(256, 224, 44, 32, 7, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(160, 160, 27, 32, 7, 384, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(160, 160, 7, 64, 4, 384, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(160, 160, 3, 120, 35, 384, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(160, 256, 1, 120, 35, 384, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(224, 224, 30, 32, 7, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 224, 44, 32, 7, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register.circom";

component main { public [ merkle_root ] } = REGISTER(256, 224, 44, 32, 7, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 21, 64, 4, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 37, 64, 6, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 8, 64, 4, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 23, 64, 6, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 13, 120, 35, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 43, 120, 35, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 4, 120, 35, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 19, 120, 35, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(256, 256, 46, 120, 35, 512, 128);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(384, 384, 22, 64, 6, 768, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(384, 384, 38, 64, 8, 768, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(384, 384, 9, 64, 6, 768, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(384, 384, 45, 120, 35, 768, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(512, 512, 10, 120, 35, 896, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(512, 512, 29, 64, 8, 896, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(512, 512, 41, 66, 8, 896, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(512, 512, 15, 120, 35, 896, 256);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pragma circom 2.1.9;

include "../register_id.circom";

component main { public [ merkle_root ] } = REGISTER_ID(512, 512, 42, 120, 35, 896, 256);
56 changes: 47 additions & 9 deletions circuits/scripts/build/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@

# run from root
# first argument should register | dsc | disclose
if [[ $1 != "register" && $1 != "dsc" && $1 != "disclose" ]]; then
echo "first argument should be register | dsc | disclose"
if [[ $1 != "register" && $1 != "dsc" && $1 != "disclose" && $1 != "register_id" ]]; then
echo "first argument should be register | dsc | disclose | register_id"
exit 1
fi

REGISTER_CIRCUITS=(
# passport
"register_sha1_sha1_sha1_ecdsa_brainpoolP224r1:true"
"register_sha1_sha1_sha1_ecdsa_secp256r1:true"
"register_sha1_sha1_sha1_rsa_65537_4096:true"
"register_sha1_sha256_sha256_rsa_65537_4096:true"
"register_sha224_sha224_sha224_ecdsa_brainpoolP224r1:true"
"register_sha256_sha224_sha224_ecdsa_secp224r1:true"
"register_sha256_sha256_sha224_ecdsa_secp224r1:true"
"register_sha256_sha256_sha256_ecdsa_brainpoolP256r1:true"
"register_sha256_sha256_sha256_ecdsa_brainpoolP384r1:true"
"register_sha256_sha256_sha256_ecdsa_secp256r1:true"
Expand All @@ -35,8 +37,39 @@ REGISTER_CIRCUITS=(
"register_sha512_sha512_sha512_rsapss_65537_64_2048:true"
)

REGISTER_ID_CIRCUITS=(
# eu id
"register_id_sha1_sha1_sha1_ecdsa_brainpoolP224r1:true"
"register_id_sha1_sha1_sha1_ecdsa_secp256r1:true"
"register_id_sha1_sha1_sha1_rsa_65537_4096:true"
"register_id_sha1_sha256_sha256_rsa_65537_4096:true"
"register_id_sha224_sha224_sha224_ecdsa_brainpoolP224r1:true"
"register_id_sha256_sha224_sha224_ecdsa_secp224r1:true"
"register_id_sha256_sha256_sha224_ecdsa_secp224r1:true"
"register_id_sha256_sha256_sha256_ecdsa_brainpoolP256r1:true"
"register_id_sha256_sha256_sha256_ecdsa_brainpoolP384r1:true"
"register_id_sha256_sha256_sha256_ecdsa_secp256r1:true"
"register_id_sha256_sha256_sha256_ecdsa_secp384r1:true"
"register_id_sha256_sha256_sha256_rsa_3_4096:true"
"register_id_sha256_sha256_sha256_rsa_65537_4096:true"
"register_id_sha256_sha256_sha256_rsapss_3_32_2048:true"
"register_id_sha256_sha256_sha256_rsapss_65537_32_2048:true"
"register_id_sha256_sha256_sha256_rsapss_65537_32_3072:true"
"register_id_sha256_sha256_sha256_rsapss_65537_64_2048:true"
"register_id_sha384_sha384_sha384_ecdsa_brainpoolP384r1:true"
"register_id_sha384_sha384_sha384_ecdsa_brainpoolP512r1:true"
"register_id_sha384_sha384_sha384_ecdsa_secp384r1:true"
"register_id_sha384_sha384_sha384_rsapss_65537_48_2048:true"
"register_id_sha512_sha512_sha256_rsa_65537_4096:true"
"register_id_sha512_sha512_sha512_ecdsa_brainpoolP512r1:true"
"register_id_sha512_sha512_sha512_ecdsa_secp521r1:true"
"register_id_sha512_sha512_sha512_rsa_65537_4096:true"
"register_id_sha512_sha512_sha512_rsapss_65537_64_2048:true"
)

DISCLOSE_CIRCUITS=(
"vc_and_disclose:true"
"vc_and_disclose_id:true"
)

DSC_CIRCUITS=(
Expand Down Expand Up @@ -66,6 +99,11 @@ if [[ $1 == "register" ]]; then
output="output/register"
mkdir -p $output
basepath="./circuits/circuits/register/instances"
elif [[ $1 == "register_id" ]]; then
allowed_circuits=("${REGISTER_ID_CIRCUITS[@]}")
output="output/register"
mkdir -p $output
basepath="./circuits/circuits/register_id/instances"
elif [[ $1 == "dsc" ]]; then
allowed_circuits=("${DSC_CIRCUITS[@]}")
output="output/dsc"
Expand All @@ -78,7 +116,7 @@ elif [[ $1 == "disclose" ]]; then
basepath="./circuits/circuits/disclose"
fi

pids=()
pids=()
for item in "${allowed_circuits[@]}"; do
filename=$(echo "$item" | cut -d':' -f1)
allowed=$(echo "$item" | cut -d':' -f2)
Expand All @@ -89,7 +127,7 @@ for item in "${allowed_circuits[@]}"; do
fi

while [[ ${#pids[@]} -ge 5 ]]; do
new_pids=()
new_pids=()
for pid in "${pids[@]}"; do
if kill -0 "$pid" 2>/dev/null; then
new_pids+=("$pid")
Expand All @@ -107,13 +145,13 @@ for item in "${allowed_circuits[@]}"; do
circuit_name="${filename%.*}"
(
circom $filepath \
-l "circuits/node_modules" \
-l "circuits/node_modules/@zk-kit/binary-merkle-root.circom/src" \
-l "circuits/node_modules/circomlib/circuits" \
-l "node_modules" \
-l "node_modules/@zk-kit/binary-merkle-root.circom/src" \
-l "node_modules/circomlib/circuits" \
--O1 -c --output $output && \
cd $output/${circuit_name}_cpp && \
make
) &
make
) &
pids+=($!)
done

Expand Down
Loading
Loading