Crate openpgp_card_rpgp

source ·
Expand description

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.

Structs§

  • An individual OpenPGP card key slot, which can be used for private key operations.
  • Private key material that can be uploaded to a card slot.

Enums§

  • Enum wrapper for the error types of this crate

Functions§