Skip to content

Commit

Permalink
Merge pull request #176 from zk-passport/searchable-registry
Browse files Browse the repository at this point in the history
Searchable registry
  • Loading branch information
remicolin authored Aug 17, 2024
2 parents 40a7ddf + 224560d commit 2c441c9
Show file tree
Hide file tree
Showing 28 changed files with 3,495 additions and 143,939 deletions.
3 changes: 3 additions & 0 deletions registry/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ outputs/unique_cer
outputs/unique_pem
outputs/unique_cscas
outputs/pem_unique_master
outputs/unique_pem_masterlist
outputs/plain_text/*
outputs/plain_text_master/*
outputs/plain_text_unique/*
outputs/unique_txt
outputs/searchable_registry_csca.json
outputs/searchable_registry_dsc.json
outputs/unique_pem_masterlist
src/csca/python scripts/__pycache__
dsc_plain_text
16 changes: 12 additions & 4 deletions registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ yarn

Extract pem certificates from ldif file:
```
ts-node src/dsc/extract_certificates.ts
ts-node src/dsc/extract_masterlist_dsc.ts
```

Extract pem to txt:
Expand All @@ -42,11 +42,11 @@ Visualize the signature algorithms of each country:
ts-node src/dsc/extract_sig_algs.ts
```

### CSCAs (WIP)
### CSCAs

Extract pem certificates from all the masterlists from the ldif file:
```
ts-node src/csca/extract_masterlists.ts
ts-node src/csca/extract_masterlist_csca.ts
```

Visualize the content of a PEM file:
Expand All @@ -59,4 +59,12 @@ Visualize the signature algorithms of each country:
ts-node src/csca/extract_sig_algs.ts
```

More info: [ICAO website](https://www.icao.int/Security/FAL/PKD/Pages/icao-master-list.aspx)

### JSON files

Build the JSON files:
```
ts-node src/buildJson.ts
```

More info: [ICAO website](https://www.icao.int/Security/FAL/PKD/Pages/icao-master-list.aspx)
382 changes: 0 additions & 382 deletions registry/outputs/csca_aki_modulus.json

This file was deleted.

461 changes: 0 additions & 461 deletions registry/outputs/csca_bits_country.json

This file was deleted.

Loading

0 comments on commit 2c441c9

Please sign in to comment.