15 unstable releases (4 breaking)

new 0.4.0-alpha.1 Apr 10, 2025
0.3.0 Jan 30, 2025
0.2.0 Sep 25, 2024
0.1.1 Jun 18, 2024

#2022 in Cryptography

Download history 31/week @ 2024-12-18 16/week @ 2024-12-25 27/week @ 2025-01-01 42/week @ 2025-01-08 180/week @ 2025-01-15 5/week @ 2025-01-22 182/week @ 2025-01-29 36/week @ 2025-02-05 36/week @ 2025-02-12 14/week @ 2025-02-19 20/week @ 2025-02-26 17/week @ 2025-03-05 29/week @ 2025-03-12 5/week @ 2025-03-19 14/week @ 2025-03-26 86/week @ 2025-04-02

137 downloads per month
Used in 3 crates

MIT/Apache

80KB
1K SLoC

This is a crate for using OpenPGP card devices with the rPGP OpenPGP library.

In fact, this crate is a supplement for the openpgp-card crate. This crate, openpgp-card-rpgp, enables performing OpenPGP-specific operations on cards, by leveraging both the rPGP library and openpgp-card. If you want to use this crate, you will probably also want to use openpgp-card itself:

Much of the functionality of an OpenPGP card device doesn't actually involve the OpenPGP format. All of that functionality is available in openpgp-card, without requiring support for the OpenPGP format.

This crate implements additional support for operations that do require handling the OpenPGP format:

  • Creating OpenPGP signatures
  • Decryption of OpenPGP data
  • Import of OpenPGP private key material

See this project's "examples" for some pointers on how to use this crate.


OpenPGP card client library for use with rPGP

This crate implements OpenPGP card support for use with rPGP.

This is a convenience layer on top of the implementation-agnostic OpenPGP card client library https://crates.io/crates/openpgp-card.

flowchart TD
    OCR["openpgp-card-rpgp"] --> OC["openpgp-card <br/> (OpenPGP card client library)"]
    OCR --> RPGP["rPGP <br/> (OpenPGP implementation)"]
    OC --> PCSC["card-backend-pcsc <br/> (access cards via PC/SC)"]

Dependencies

~25MB
~420K SLoC