A small interface to read and check a smartcard and use it as an Identification in a Webservice
python connector.py --url=URL (--resource=RESOURCE)
python connector.py -U URL (-R RESOURCE)
python connector.py --help
- URL is the URL the Card-Id will be send to
- RESOURCE is used as an universal Parameter (e.g. to tell from which checkpoint somone authenticates)
You'll need this stuff in order to be able to use this script.
Python:
- pyscard -> Library for Python to use PC/CS
- docopt
Global:
- pcsc
- A Cardreader (for obvious Reasons)
- A SmartCard (e.g. Mifare-Cards like Classic / Ultralight)