The openpgp-card-state crate has gained support for a new flavor of "ephemeral" backend, based on "git credential-cache" in v0.4.2.
See https://codeberg.org/openpgp-card/state/#ephemeral-interactive-input-with-persistence-and-expiry for more.
This is great news for everyone who is on non-Linux systems, including *BSD and Mac users.
Many thanks to @neverpanic for the idea and implementation!
New releases of https://crates.io/crates/openpgp-card-ssh-agent, https://crates.io/crates/openpgp-card-tool-git and https://crates.io/crates/rsop-oct support this new #OpenPGP card PIN storage backend.