4 ms·
it‘s not builtin, but possible to integrate with @wiktor-k is working on a tool to use rpgp to provide a simple solution to work with smartcards
by dignifiedquire 2y ago
it‘s not builtin, but possible to integrate with
@wiktor-k is working on a tool to use rpgp to provide a simple solution to work with smartcards
- wiktor-k 2y agoYep. 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 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 https://github.com/wiktor-k/monkeybagel (excuse the silly name ;).
- rendaw 2y agoHow 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.
- wiktor-k 2y agoIt uses this crate: https://crates.io/crates/pcsc 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.