Hacker News new | ask | show | jobs
by wiktor-k 808 days ago
Yep. We've got it working with OpenPGP Card devices (Yubikeys, Nitorkeys, etc.). The signing part was actually pretty easy and the decryption required a bit more work but the maintainer was super responsive (https://github.com/rpgp/rpgp/pull/315).

Overall I'm pretty happy with the codebase.

The PoC for using cards in git is in https://github.com/wiktor-k/monkeybagel (excuse the silly name ;).

1 comments

How does it interface with the cards? IIRC the rust pcsc library used by Sequoia needed C libraries. I've been doing some NFC stuff too and was looking for a pure-rust solution if there was one.
It uses this crate: https://crates.io/crates/pcsc

On Windows and Mac it binds to system libraries. On Linux it works with pcsclite.

Btw I'm not aware of any tooling that's used by Sequoia, rather wrappers that use Sequoia and pcsc crate.