OpenSC 开源项目教程

OpenSC 开源项目教程

OpenSCOpen source smart card tools and middleware. PKCS#11/MiniDriver/Tokend项目地址:https://gitcode.com/gh_mirrors/op/OpenSC

1. 项目的目录结构及介绍

OpenSC 项目的目录结构如下:

OpenSC/
├── AUTHORS
├── COPYING
├── ChangeLog
├── Makefile.am
├── NEWS
├── README
├── bootstrap
├── configure.ac
├── doc/
├── etc/
├── include/
├── libopensc/
├── src/
├── win32/
└── tools/

主要目录介绍:

  • doc/: 包含项目的文档文件。
  • etc/: 包含配置文件。
  • include/: 包含头文件。
  • libopensc/: 包含核心库文件。
  • src/: 包含源代码文件。
  • tools/: 包含辅助工具。

2. 项目的启动文件介绍

OpenSC 项目的启动文件主要位于 src/ 目录下。以下是一些关键的启动文件:

  • src/opensc-tool.c: 主要的命令行工具。
  • src/pkcs11-tool.c: PKCS#11 工具。
  • src/sc-hsm-tool.c: SC-HSM 工具。

这些文件是项目的主要入口点,负责初始化和启动相应的功能。

3. 项目的配置文件介绍

OpenSC 项目的配置文件主要位于 etc/ 目录下。以下是一些关键的配置文件:

  • etc/opensc.conf: 主配置文件,包含各种配置选项,如卡片的类型、日志级别等。
  • etc/opensc-pkcs11.conf: PKCS#11 模块的配置文件。

这些配置文件允许用户自定义项目的运行行为,例如设置日志级别、指定卡片类型等。

通过以上介绍,您可以更好地理解和使用 OpenSC 开源项目。

OpenSCOpen source smart card tools and middleware. PKCS#11/MiniDriver/Tokend项目地址:https://gitcode.com/gh_mirrors/op/OpenSC

NEWS for OpenSC -- History of user visible changes Complete change history is available online: http://www.opensc-project.org/opensc/timeline New in 0.12.0; 2010-12-22 * OpenSC uses a single reader driver, specified at compile time. * New card driver: Italian eID (CNS) by Emanuele Pucciarelli. * New card driver: Portuguese eID by Jo茫o Poupino. * New card driver: westcos by Fran莽ois Leblanc. * pkcs11-tool can use a slot based on ID, label or index in the slot list. * PIN flags are updated from supported cards when C_GetTokenInfo is called. * Support for CardOS 4.4 cards added. * Fature to exclude readers from OpenSC PKCS#11 via "ignored_readers" configuration file entry. * #229: Support semi-automatic fixes to cards personalized with older and broken OpenSC versions. * Software keys removed from pkcs15-init and the PKCS#11 module. OpenSC can either generate keys on card or import plaintext keys to the card, but will never generate plaintext key material in software by itself. All traces of a software token (PKCS#15 Section 7) shall be removed. * Updates to PC/SC driver to build with pcsc-lite >= 1.6.2 * Build script for a binary Mac OS X installer for 10.5 and 10.6 systems. Binary installer includes OpenSC.tokend for platform integration. 10.6 installer includes engine_pkcs11. * Modify Rutoken S binary interfaces by Aktiv Co. * Support GOST R 34.10-2001 and GOST R 34.11-94 by Aktiv Co. * CardOS driver now emulates sign on rsa keys with sign+decrypt usage with padding and decrypt(). This is compatible with old cards and card initialized by Siemens software. Removed "--split-key" option, as it is no longer needed. * Improved debugging support: debug level 3 will show everything except of ASN1 and card matching debugging (usualy not needed). * Massive changes to libopensc. This library is now internal, only used by opensc-pkcs11.so and command line tools. Header files are no longer installed, library should not be used by other applications.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

潘妙霞

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值