Skip to content

SVArago/Arago-Card-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Arago Card Reader

Arago Card Reader is a daemon that polls a connected NFC-reader for tags, and broadcasts these over a WebSocket. It is inspired by a similar project by Inter-Actief.

Key features

  • Runs on any platform supported by libnfc and Qt, notably Linux and Windows
  • Supports TLS on the websocket server
  • Supports multiple parallel connections to the server

Configuration

Arago Card Reader reads a arago-card-reader.ini configuration file from the same directory as the executable is placed in. It accepts the following settings:

websocket section

  • port: The port to listen on
  • tls: Whether to enable or disable TLS (true/false)
  • certificate: Path to a PEM-encoded TLS certificate
  • key: Path to a PEM-encoded private key

nfc

  • device: libnfc connection string for the NFC reader to use

Protocol format

Arago Card Reader announces each scanned card in a JSON-encoded format on the websocket, with messages like these:

{"atqa":"1234", "uid":"567890ab", "sak":"cd"}

The ATQA, UID and SAK are hexadecimal encoded.

About

Websocket interface to an NFC reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published