Comments (4)
I found out it's related to the version of OpenSSL on MacOS (installed via Homebrew).
This fixed it for me:
# Install older version of OpenSSL (separately)
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/8b9d6d688f483a0f33fcfc93d433de501b9c3513/Formula/openssl.rb
# Add the location to your PATH, I use Fish so it's:
set -g fish_user_paths "/usr/local/opt/openssl/bin"
# Then run the command
python3 extract.py icaopkd-002-ml-000150.ldif
# Victory!
from nfcpassportreader.
I had the exact same error (using openssl 1.1.1g on mac) with the latest list - icaopkd-002-ml-000147.ldif. I commented out line 88 in extract.py (raise Exception( "Verification of Masterlist data failed" )) so it wouldn't crash. There were a total of 10 Masterlists that were looped over and the error showed up only in Masterlist 7. I added the generated pem file to xcode and it worked for me, although I just needed Canada. I wonder what countries may be left out by skipping the 7th loop but since many of them have duplicates, is there a chance none get left out?
from nfcpassportreader.
Same issue here with icaopkd-002-ml-000150.ldif
:
Verifying and extracting MasterList 8
[Verification failure
4327046592:error:04091068:rsa routines:int_rsa_verify:bad signature:crypto/rsa/rsa_sign.c:220:
4327046592:error:2E09809E:CMS routines:CMS_SignerInfo_verify:verification failure:crypto/cms/cms_sd.c:767:
]
from nfcpassportreader.
Yes the version of OpenSSL that comes with the Mac doesn't support the CMS commands required.
Its mentioned in the Readme for the scripts but I'll add the above information to make it clearer!
Thanks!
from nfcpassportreader.
Related Issues (20)
- Unable to read Belarusian Id Card with BAC. HOT 2
- the extract.py has a problem can not get the pem file HOT 2
- Passive Authentication not working with generated PEM file HOT 2
- if there were no tags display error message
- Error identifying Active Authentication Hash Algorithm - Australian ePassport HOT 28
- This isn't working on either pod or spm, tried both! Please fix!
- German passport BAC failed. Referenced data not found HOT 4
- Show Veteran Title in mID full share HOT 1
- Verification failure with .pem list HOT 4
- rsassaPss/SHA512 signature verification error
- Fails on chinese passport HOT 4
- extract.py: Fails for `.ml` files HOT 4
- Exclude OpenSSL HOT 1
- File not found ID Card HOT 2
- TagReader keeps failing on reading DG2 from older dutch passport. HOT 4
- How can i read to German Passport to old fw version ?
- Sample app fails to read German passport HOT 5
- iOS 17.4 nfc popup allows to cancel already failed scanning session
- Getting errors for "Log" and "LogLevel" not being in scope on example_cocoapods HOT 2
- Can not add as SPM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfcpassportreader.