Side quest day: Apparently the support for card readers with a pin pad in https://codeberg.org/openpgp-card/openpgp-card does not work correctly with SCM SPR532 devices.

#OpenPGP #HSM #OpenPGPcard

Error: Smartcard(Error("pcsc Error: NotTransacted")) when pin should be entered

Hallo Heiko! It has been a while! How are things? So, I'm finally trying to make the switch to `sq`. I've made it past the chameleon hurdle and sequoia seems to be working fine, but I would like to move my key material onto a smart card, and here the problems unfortunately begin immediately...

Codeberg.org

Turns out that the relevant code is over 4 years old, already 😵‍💫

https://codeberg.org/openpgp-card/openpgp-card/blame/commit/3f0b88cf749599f74a69619ed0c96a84425d96ef/pcsc/src/lib.rs#L218-L311

Time clearly does fly when you're having fun.

openpgp-card

An OpenPGP card client library, written in Rust

Codeberg.org
Alright, I think this side quest is concluded. Card readers are a pretty weird trip: https://codeberg.org/openpgp-card/openpgp-card/issues/126#issuecomment-11304112
Error: Smartcard(Error("pcsc Error: NotTransacted")) when pin should be entered

Hallo Heiko! It has been a while! How are things? So, I'm finally trying to make the switch to `sq`. I've made it past the chameleon hurdle and sequoia seems to be working fine, but I would like to move my key material onto a smart card, and here the problems unfortunately begin immediately...

Codeberg.org