MCPcopy Index your code
hub / github.com/OpenSC/OpenSC

github.com/OpenSC/OpenSC @0.27.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.27.1 ↗ · + Follow
7,107 symbols 23,239 edges 365 files 942 documented · 13%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

OpenSC documentation

Manual pages for the OpenSC command line tools as well as for the OpenSC configuration files are available online and typically distributed along with your installation.

The OpenSC Wiki includes, among others, information for: * Windows Quick Start * macOS Quick Start * Compiling and Installing on Unix flavors * Frequently Asked Questions * More user and developer provided documentation

Downloads

Latest release

The latest stable version of OpenSC is available on Github. It is available as

  • Windows installer for Intel 64 bit and 32 bit programs (OpenSC*_x64.msi and OpenSC*_x86.msi) and Arm (OpenSC*_arm64.msi)
  • macOS installer (OpenSC*.dmg)
  • Source code distribution (opensc*.tar.gz)

Nightly build

The latest source code is available through GitHub. Nightly builds are available by their git hash in branches of OpenSC/Nightly.

Build and testing status

Linux build Windows build OSX build AppVeyor CI Build Status Coverity Scan Status CodeQL Fuzzing Status CII Best Practices

Build and test status of specific cards:

Cards Status
CAC CAC
virt_CACard virt_CACard
Coolkey Coolkey
PivApplet PIV
OpenPGP Applet OpenPGP
GidsApplet GIDS
IsoApplet IsoApplet
OsEID (MyEID) OsEID (MyEID)
SmartCardHSM SmartCardHSM
ePass2003 ePass2003

Core symbols most depended-on inside this repo

sc_format_asn1_entry
called by 570
src/libopensc/asn1.c
sc_file_free
called by 474
src/libopensc/sc.c
sc_transmit_apdu
called by 472
src/libopensc/apdu.c
sc_format_apdu
called by 442
src/libopensc/card.c
logprintf
called by 430
src/minidriver/minidriver.c
sc_check_sw
called by 393
src/libopensc/card.c
sc_strerror
called by 363
src/libopensc/errors.c
util_fatal
called by 308
src/tools/util.c

Shape

Function 4,571
Class 2,499
Enum 37

Languages

C89%
C++11%

Modules by API surface

src/pkcs11/framework-pkcs15.c182 symbols
src/minidriver/minidriver.c153 symbols
src/tools/pkcs11-tool.c128 symbols
src/pkcs15init/pkcs15-lib.c128 symbols
src/pkcs15init/profile.c127 symbols
src/pkcs11/pkcs11-spy.c122 symbols
src/libopensc/pkcs15.h117 symbols
src/libopensc/pkcs15.c108 symbols
src/libopensc/card-iasecc.c101 symbols
src/pkcs11/pd-pkcs11.h100 symbols
src/libopensc/card-epass2003.c90 symbols
src/pkcs11/pkcs11-object.c89 symbols

For agents

$ claude mcp add OpenSC \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page