opensc

Tools and libraries for working with smart cards and cryptographic tokens

brewmacoslinux
Try with needOr install directly
Source

About

Tools and libraries for smart cards

Commands

opensc-toolpkcs15-toolpkcs11-toolcardos-tooleidenvopenpgp-toolpiv-tool

Examples

List all smart cards and tokens connected to the system$ opensc-tool --list-readers
Display information about certificates on a PKCS#15 card$ pkcs15-tool --list-certificates
List all objects (keys, certs, data) on a smart card$ pkcs11-tool --list-objects