macOS
brew install libfreefarelocal Homebrew formula metadata
brew
API for MIFARE card manipulations. Version 0.4.0 via Homebrew; verified 2026-06-19.
install
brew install libfreefarelocal Homebrew formula metadata
sudo apt install libfreefare-binDebian stable package indexes · libfreefare-bin · source: deb.debian.org
nix profile install nixpkgs#libfreefarenixpkgs package indexes · pkgs/by-name/li/libfreefare/package.nix · source: api.github.com
sudo zypper install libfreefare-developenSUSE Tumbleweed package metadata · libfreefare-devel · source: download.opensuse.org
overview
API for MIFARE card manipulations
history
libfreefare is the nfc-tools library that raises libnfc from raw NFC reader access to convenience APIs and command-line tools for MIFARE and related RFID/NFC tags.
The project sits in the nfc-tools family and is described by its project page as an API for RFID card manipulation on top of libnfc. Its README narrows that role to MIFARE card manipulation and lists libnfc, autotools, and OpenSSL as build dependencies for Unix-like systems.
The public feature matrix documents support for common card families including FeliCa Lite, MIFARE Classic, MIFARE DESFire, MIFARE Ultralight, NTAG21x, and MIFARE Application Directory specifications. GitHub release metadata records libfreefare-0.4.0 on 2015-05-13.
libfreefare became useful where libnfc users wanted reusable C calls and bundled utilities instead of writing card-format details directly against the lower-level NFC stack. Its packaging across Homebrew, Debian, Ubuntu, Nix, and openSUSE reflects a small but durable audience around NFC labs, access-card tooling, and embedded experiments.
The package installs a C library plus utilities for formatting, inspecting, and reading or writing NDEF data on MIFARE Classic, DESFire, and Ultralight cards. It is typically used with NFC readers supported by libnfc.
For package maintainers, libfreefare is a good example of a narrow hardware-adjacent library whose value comes from keeping protocol-specific card operations out of downstream applications. It also exposes the usual packaging concerns around libnfc ABI compatibility, OpenSSL linkage, and shipping command-line helpers with the library.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mifare-classic-format | cli | global executable | |
mifare-classic-read-ndef | cli | global executable | |
mifare-classic-write-ndef | cli | global executable | |
mifare-desfire-access | cli | global executable | |
mifare-desfire-create-ndef | cli | global executable | |
mifare-desfire-ev1-configure-ats | cli | global executable | |
mifare-desfire-ev1-configure-default-key | cli | global executable | |
mifare-desfire-ev1-configure-random-uid | cli | global executable | |
mifare-desfire-format | cli | global executable | |
mifare-desfire-info | cli | global executable | |
mifare-desfire-read-ndef | cli | global executable | |
mifare-desfire-write-ndef | cli | global executable | |
mifare-ultralight-info | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nfc-tools/libfreefare
install metadata
| Package key | brew:libfreefare |
|---|---|
| Version | 0.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libfreefare |
| Homepage | https://github.com/nfc-tools/libfreefare |
| Repository | https://github.com/nfc-tools/libfreefare |
| Upstream docs | https://github.com/nfc-tools/libfreefare#readme |
| License | LGPL-3.0-or-later |
| Source archive | https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-0.4.0/libfreefare-0.4.0.tar.bz2 |
| Last updated | 2026-06-19T12:31:50-07:00 |
| Pulse | updated |
| Dependencies | libnfc, libusb-compat, openssl@3 |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libfreefare |
| Version Scheme | 0 |
| Revision | 4 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libfreefare-bin 0.4.0-2.3+b1
MIFARE card manipulations binaries
https://code.google.com/p/libfreefare/
sudo apt install libfreefare-binlibfreefare-dev 0.4.0-2.3+b1
MIFARE card manipulations library (development files)
https://code.google.com/p/libfreefare/
sudo apt install libfreefare-devlibfreefare-doc 0.4.0-2.3
documentation for libfreefare
https://code.google.com/p/libfreefare/
sudo apt install libfreefare-doclibfreefare0t64 0.4.0-2.3+b1
MIFARE card manipulations library
https://code.google.com/p/libfreefare/
sudo apt install libfreefare0t64libfreefare
nix profile install nixpkgs#libfreefarelibfreefare-bin 0.4.0-2.3build2
MIFARE card manipulations binaries
https://code.google.com/p/libfreefare/
sudo apt install libfreefare-binlibfreefare-dev 0.4.0-2.3build2
MIFARE card manipulations library (development files)
https://code.google.com/p/libfreefare/
sudo apt install libfreefare-devlibfreefare-doc 0.4.0-2.3build2
documentation for libfreefare
https://code.google.com/p/libfreefare/
sudo apt install libfreefare-doclibfreefare0t64 0.4.0-2.3build2
MIFARE card manipulations library
https://code.google.com/p/libfreefare/
sudo apt install libfreefare0t64libfreefare-devel 0.4.0-5.5
Development files for the Mifare card manipulation library
https://github.com/nfc-tools/libfreefare/
sudo zypper install libfreefare-devellibfreefare-tools 0.4.0-5.5
Tools for Mifare cards
https://github.com/nfc-tools/libfreefare/
sudo zypper install libfreefare-toolslibfreefare0 0.4.0-5.5
Library for Mifare card manipulations
https://github.com/nfc-tools/libfreefare/
sudo zypper install libfreefare0source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.