
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
.. 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 <https://en.wikipedia.org/wiki/MIFARE>
_ 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
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 <https://kivy.org/>
_ cross application Python framework and native Android APIs via pyjnius <https://github.com/kivy/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
The communication protocol specification is not public <http://stackoverflow.com/a/24069446/315168>
. The work is based on reverse engineering existing open source DESFire projects, namely Android host card emulation for DESFire <https://github.com/jekkos/android-hce-desfire>
and MIFARE SDK <https://www.mifare.net/en/products/tools/mifare-sdk/>
_.
Mikko Ohtamaa <https://opensourcehacker.com>
_.
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
FAQs
MIFARE DESFire NFC card communication protocol
We found that desfire demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.