No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 17:44:03 +00:00
ansible init ansible with an setup playbook 2026-12-02 01:57:03 +00:00
.gitignore fixed a typo 2026-12-01 12:33:15 +00:00
authenticate.py fixed authentication error while reading the uid 2026-12-02 17:44:03 +00:00
keylist.py revert d30bf25776 2026-12-01 03:07:58 +00:00
README.md added a install and user guide to the README 2026-12-02 01:23:26 +00:00
requirements.txt init commit 2026-12-01 02:58:54 +00:00
setup-key.py init commit 2026-12-01 02:58:54 +00:00

Desfire Key System

This is a key system using Desfire RFID Tags to trigger a Rapberry Pi GPIO Pin.

Install

pre install (for linux)

install ccid and pcsc-tools make shure the drivers rmmod, pn533_usb and nfc are deactivated. start the pcscd service

for more information see https://wiki.archlinux.org/title/Touchatag_RFID_Reader

install

clone the repo git clone https://git.hannover.ccc.de/bton/desfire-key-system

initiate a virutal enviorment inside the repo directory python -m venv venv

get into the virtual enviorment source venv/bin/activate

install requirements pip install -r requirements.txt

User Guide

Configuring the tags

start the setup-key.py and put the tags infront of the RFID-reader. If necesary copy the uid into a table to trak wich tag is wich.

Authenticate keys

start the authenticate.py if a tag existing in the key_list.csv is put infront of the reader the script will call the funktion door.open()

good prectise

make backups of the key_list.csv if the file is manipulated in a wrong way, keys can be lost leading to the tag getting unusable.

To-Do

  • writing a setup guide for a linux system (maybe using ansible)
    • wich drivers to enable or disable
  • fixing the authenticater
  • writing a script to work with rapberry pi GPIO pins
  • writing more documentation
  • write a script to merge key lists