Skip to content

miohtama/desfire

Repository files navigation

MIFARE DESFire for Python

image

image

Documentation Status

This package provides MIFARE DESFire native communication protocol for NFC cards.

Source code: https://github.com/miohtama/desfire

Documentation: https://desfire.readthedocs.org

image

In photo: MIFARE DESFire EV1 8kB blank card with Identive CLOUD 4500 F Dual Interface Reader

Features

  • Compatibile with USB-based NFC readers via PCSC interface. PCSC API is available on Linux, OSX and Windows. Linux support includes support for Raspberry Pi.
  • Compatibile with Android mobile phones and their built-in NFC readers. This is done using Kivy cross application Python framework and native Android APIs via pyjnius Python to Java bridging.
  • Only some of the commands are implemented in the current alpha quality version, please feel free to add more.
  • Compatible with Python 2 and Python 3
  • Currently supports only PLAIN DESFire communication mode (see this error 6E 00)

Background

The communication protocol specification is not public. The work is based on reverse engineering existing open source DESFire projects, namely Android host card emulation for DESFire and MIFARE SDK.

Author

Mikko Ohtamaa.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

MIFARE DESFire NFC communication protocol for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published