Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miohtama/desfire

MIFARE DESFire NFC communication protocol for Python
https://github.com/miohtama/desfire

Last synced: 3 months ago
JSON representation

MIFARE DESFire NFC communication protocol for Python

Awesome Lists containing this project

README

        

=========================
MIFARE DESFire for Python
=========================

.. image:: https://img.shields.io/pypi/v/desfire.svg
:target: https://pypi.python.org/pypi/desfire

.. image:: https://img.shields.io/travis/miohtama/desfire.svg
:target: https://travis-ci.org/miohtama/desfire

.. image:: https://readthedocs.org/projects/desfire/badge/?version=latest
:target: https://readthedocs.org/projects/desfire/?badge=latest
:alt: 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:: https://raw.githubusercontent.com/miohtama/desfire/master/docs/desfire.jpg

*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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage