gpg-card
Administrate OpenPGP and PIV smart cards. tldr-pages
On several platforms
Several platforms
Administrate OpenPGP and PIV smart cards. Similar to gpg --card-edit.
Start in interactive mode
gpg-cardIdentifyInvoke one or more commands non-interactively
gpg-card command1 -- command2 -- command3IdentifyShow information about a smart card
gpg-card listIdentifyRetrieve the public key using the URL stored on an OpenPGP card
gpg-card fetchIdentifySet the URL used by the fetch command
gpg-card urlIdentifyChange or unblock PINs (uses the default action for the card in non-interactive mode)
gpg-card passwdIdentifyToggle the forcesig flag of an OpenPGP card (i.e. require entering the user PIN for signing)
gpg-card forcesigIdentifyFactory reset a smart card (i.e. delete all data and reset PINs)
gpg-card factory-resetIdentify