AndyQ / NFCPassportReader

NFCPassportReader for iOS 13
MIT License
733 stars 235 forks source link

Master List extract script update #176

Closed Thormeard closed 10 months ago

Thormeard commented 1 year ago

ICAO changed master list structure a little bit, so I updated the script to make it work with the latest ICAO Master List (I tried icaopkd-002-ml-000222.ldif), while also supporting the old "format".

Also added if statement for prints (if you extracting certificates from .ml there is no cns variable and it throws an UnboundLocalError: local variable 'cns' referenced before assignment)

Thanks!

(I have Python 3.10.9)

AndyQ commented 10 months ago

This was merged with a slightly different fix - thanks