- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| ansible | ||
| .gitignore | ||
| authenticate.py | ||
| keylist.py | ||
| README.md | ||
| requirements.txt | ||
| setup-key.py | ||
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