[Pcsclite-muscle] Directly using RSA key of a smartcard

Wiktor Kwapisiewicz wiktor at metacode.biz
Thu Jun 22 02:49:22 PDT 2023


Hi,

On 22.06.2023 11:21, Jakub Jelen wrote:
> Indeed, you need a PKCS#11 module in between your application and the 
> card and for that OpenSC can be used, which should work with the OpenPGP 
> cards or most of the other common card types in the wild:
> 
> https://github.com/OpenSC/OpenSC/

OpenSC is great but for the record (since the original poster mentioned 
Yubikey) Yubico has their own PKCS#11 library that's also open-source:

https://developers.yubico.com/yubico-piv-tool/YKCS11/

Note that IMO PKCS#11 is no "more direct" than using libraries that 
target OpenPGP Card spec such as:

https://crates.io/crates/openpgp-card-pcsc

Both of these are just applets on the card which then manage keys.

Kind regards,
Wiktor



More information about the pcsclite-muscle mailing list