newlogic / smartscanner-core

ID scanning Android app and library. Supports MRZ, NFC, Barcodes, and ID PASS Lite cards.
Apache License 2.0
72 stars 19 forks source link

Fix/nfc api/read data groups #53

Closed typelogic closed 3 years ago

typelogic commented 3 years ago

Issue

To address this issue Read the important mandatory Data Groups and verify hash match

[49] [Failed to read Data Groups]

Changes

Add the method readEF() to correctly read the contents of Data Groups that matches the computed hash. Other methods of doing it, fails to verify the hash.