Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

zk-passport/modulus-extractooor

Repository files navigation

⚠️ Moved to proof-of-passport/registry ⚠️

modulus-extractooor

This script takes a ICAO DSC & CRL list in ldif format and extracts the public keys that country authorities use to sign passports.

Install

yarn

Extract certificates from ldif file:

ts-node src/extract_certificates.ts

Extract public keys:

ts-node src/extract_pubkeys.ts

Visualize the signature algorithms of each countries, run:

ts-node src/extract_sig_algs.ts

More info: ICAO website

publicKeysParsed.json contains all the public keys

signature_algorithms.json contains the signature algorithms used by each country authority

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published