#helper #communicating #utilities #emrtd #epassports #mrtd

mrtd1

Helper utilities for communicating with eMRTDs / ePassports

2 releases

0.1.2 Dec 8, 2022
0.1.1 Dec 7, 2022
0.1.0 Dec 7, 2022

#20 in #communicating

Download history 40/week @ 2024-02-09 4/week @ 2024-02-16 21/week @ 2024-02-23 12/week @ 2024-03-01 42/week @ 2024-03-29 15/week @ 2024-04-05

57 downloads per month
Used in nfc1

MIT license

71KB
1.5K SLoC

mrtd

Helper utilities for communicating with eMRTDs / ePassports

Warning This library is not currently intended for any production use. You have been warned.

Usage

See https://github.com/alexrsagen/rs-nfc example read_mrtd for example usage.

TODO

Feel free to submit a PR for any of these tasks:

  • Improve error reporting
    • Remove all use of format!() or static strings for errors.
    • Replace all use of BoxError/BoxResult with a better error type (like src/mrz/error.rs)
  • Add tests
    • Specifically test use of DO'85' in apdu::command::borrowed::ApduCommand::to_protected and apdu::response::owned::ApduResponse::from_protected. Not sure if this is working or done correctly.
  • Add fuzzing
  • Make more use of external crates, where suitable (improved code quality, readability, functionality, etc)

Dependencies

~1.8–2.7MB
~47K SLoC