Skip to main content

card-cli is a command line utility for reading smartcards and magnetic stripe cards.

Project description

Card reader command-line utility

Configured Readers

  • ACS ACR122U (rfid)

  • HP IDRA-334133 (msr)

  • pcProx (rfid)

Local Install

Requirements

  • pcscd - smartcard.pcsc.PCSCExceptions.EstablishContextException: Failure to establish context: Service not available.

– see https://manpages.ubuntu.com/manpages/bionic/man8/pcscd.8.html

  • udev rules (for msr) - usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

– cd /etc/udev/rules.d – open 70-snap.core.rules or other file where usb rules are defined – add in file: ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2724", ENV{ID_MM_ERICSSON_MBM}="1" MODE="0666", GROUP="plugdev"

  • modprobe PN533 (for rfid) - Script won’t recognize smartcard reader.

– see https://stackoverflow.com/questions/31131569/unable-to-claim-usb-interface-device-or-resource-busy

Usage

via command line: :: card-cli –device-vendor-id 0x03f0 –device-product-id 0x2724

card-cli is a command line utility for reading smartcards and magnetic stripe cards.

–device-vendor-id (-dvid) and –device-product-id (-dpid) is only required to connect msr device.

Project details


Download files

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

Source Distribution

card-cli-1.0.4.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

card_cli-1.0.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file card-cli-1.0.4.tar.gz.

File metadata

  • Download URL: card-cli-1.0.4.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for card-cli-1.0.4.tar.gz
Algorithm Hash digest
SHA256 e741e6f3618da0bba8bad3e71881d4897c3563344b9a77aed8b438436e4e67ee
MD5 0fb8f4c935f1816e4b5aebdca71d5211
BLAKE2b-256 6f50a287e3fde79bd95d3445de20e83ed2f3c665136af271632f9db1ff178406

See more details on using hashes here.

File details

Details for the file card_cli-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: card_cli-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for card_cli-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3e377216d0f915b54d59adcb1e2c8e1f6581f0a671e8ed01ebfb2c4eb4df6fae
MD5 de09c3c2a1a01481de316e0c5efaca0e
BLAKE2b-256 c5cbffcf619452de880ce1612f7f838d315b11a5fd81eda2e951ac26c47ab055

See more details on using hashes here.

Supported by

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