{"repo":"ZeroPass/pymrtd","free":true,"listed":false,"github":"https://github.com/ZeroPass/pymrtd","clone":"git clone https://github.com/ZeroPass/pymrtd.git","description":"Python implementation of ICAO 9303 biometric passport standard","language":"Python","stars":24,"topics":["python","biometric-passport","passport","icao-9303","mrtd","emrtd"],"license":null,"category":"auth-billing-email","readme_excerpt":"Python library for ICAO Machine Readable Travel Documents standard - Biometric Passport The PyMRTD is python implementation of ICAO 9303 standard. It implements only parts of standard needed for Port server. That is, parsing (re-serializing) some of MRTD logical data structures (LDS) files and verifying eMRTD trustchain including verification of signature made by MRTD (AA signature). This library doesn't provide APIs and functionalities needed to send commands to and extract data from MRTD. Library structure Library is divided into two modules: ef - Elementary file. This module defines LDS data structures e.g.: MRZ, EF.SOD, EF.DG1, EF.DG14 and EF.DG15. pki - eMRTD Public Key Infrastructure: - eMRTD trustchain public key certificates e.g.: CSCA, DSC and master list signer certificate - Certificate revocation list (CRL) - CSCA master list - Functions and procedures to verify digital signatures including RSA ISO9796-2 DSS1 Dependencies Python 3.9 or higher. Check this website for installation guidelines. asn1crypto cryptography Usage Parsing and serializing data stuctures All data structures that can be parsed from raw byte array (SOD, DG1, CscaCertificate etc...) have defined static member function load and member function dump to serialize data back to byte array (following the interface of library asn1crypto ). Example of loading CscaCertificate from file: Verifying and validating All certificate classes (Certificate, CscaCertificate, DocumentSignerCertificate, MasterListSign","default_branch":null,"files":null,"tree":[],"storefront":"/r/ZeroPass","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ZeroPass/pymrtd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}