gpg-card: add page (#11685)

pull/23/head
Lena 2023-12-07 05:19:53 +01:00 committed by GitHub
parent 570393df9b
commit b064cde9cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

37
pages/common/gpg-card.md Normal file
View File

@ -0,0 +1,37 @@
# gpg-card
> Administrate OpenPGP and PIV smart cards.
> Similar to `gpg --card-edit`.
> More information: <https://manned.org/gpg-card>.
- Start in interactive mode:
`gpg-card`
- Invoke one or more commands non-interactively:
`gpg-card {{command1}} -- {{command2}} -- {{command3}}`
- Show information about a smart card:
`gpg-card list`
- Retrieve the public key using the URL stored on an OpenPGP card:
`gpg-card fetch`
- Set the URL used by the `fetch` command:
`gpg-card url`
- Change or unblock PINs (uses the default action for the card in non-interactive mode):
`gpg-card passwd`
- Toggle the forcesig flag of an OpenPGP card (i.e. require entering the user PIN for signing):
`gpg-card forcesig`
- Factory reset a smart card (i.e. delete all data and reset PINs):
`gpg-card factory-reset`