Python 3 script to decode ICAO ldif file and CSCA MasterList published by countries. A masterlist contains Certificate Signing Certificate Authority (CSCA) certificate used to verify ePassport integrity.
The script exports a masterlist into a single PEM encoded file and each certificate into a PEM encoded separate file.
Usage : python3 MLextract.py [masterlist .ml file | icao .ldif file]
Available masterlists are: