python-gnupg icon indicating copy to clipboard operation
python-gnupg copied to clipboard

Support --card-status

Open MorningLightMountain713 opened this issue 1 year ago • 1 comments

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

MorningLightMountain713 avatar Feb 26 '25 12:02 MorningLightMountain713

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.

vsajip avatar Feb 26 '25 16:02 vsajip