python-gnupg
python-gnupg copied to clipboard
Support --card-status
Is your feature request related to a problem? Please describe. I need to be able to validate that a private key is in fact present on a plugged in smart card
Describe the solution you'd like
Parse the output (or error) from gpg --card-status --with-colons
Additional context I'm partially doing this with subprocess
I'd find it hard to implement and test this as I don't have a smart card setup, but I'll look at a PR to add this functionality.