Skip to main content

Python toolkit for LEIA smartcard reader

Project description

Build Status

SmartLeia

This repository holds the source of the python package used to drive the LEIA smart card reader. With it, you will be able to:

  1. Connect to the LEIA board
  2. Choose parameters for the PSS/PTS negotiation
  3. Send APDUs and receive the corresponding responses
  4. Activate the DFU mode to download new firmware
  5. Start a Virtual SmartCard client to use LEIA as a 'real' smart card reader (through PCSCD relay)

The documentation dedicated to the SmartLeia package can be found here, please check it to have details about the basic usage and the API for advanced development features.

Dependencies

You can install the requirements of the package using:

pip install requirements.txt

If you want to use the Virtual SmartCard PCSCD relay, you will need to install it either from packages (if your distro packages it) or from sources by compiling it.

Installation of smartleia

From git

You may need to use the last version of python builtin's setuptools to install smartleia from git

python3 -m pip install --upgrade pip setuptools wheel
git clone https://github.com/cw-leia/smartleia
cd smartleia
python3 -m pip install .

From pipy

python3 -m pip install smartleia

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

smartleia-1.0.0-py3-none-any.whl (23.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page