Registry / crypto / openpgp-card

openpgp-card

JSON →
library0.6.1rscratesunverified

A client implementation for the OpenPGP card specification for smart cards.

# Cargo.toml [dependencies] openpgp-card = "0.6.1"
INSTALL
IMPORT
SIG · OPENPGP-CARD
O
openpgp-card
cryptorustv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OpenPgpCard
use openpgp_card::OpenPgpCard;

Connect to an OpenPGP smart card and read its serial number.

use openpgp_card::OpenPgpCard; fn main() -> Result<(), Box<dyn std::error::Error>> { let card = OpenPgpCard::new()?; println!("Card serial: {:?}", card.serial()); Ok(()) }
Debug
Known issues
gotchaRequires a compatible smart card reader and OpenPGP card
fix
Ensure a smart card reader is connected and an OpenPGP card is inserted
affects: >=0.0.0
Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
openpgp-card — cargo add openpgp-card · libregistry