LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gpg-card

OpenPGP and PIV smartcard management

TLDR

List available smartcards
$ gpg-card list
copy
Display card information
$ gpg-card info
copy
Change PIN
$ gpg-card passwd
copy
Set cardholder name
$ gpg-card name
copy
Fetch public key from card URL
$ gpg-card fetch
copy
Generate keys on card
$ gpg-card generate
copy
Reset card to factory defaults
$ gpg-card factory-reset
copy

SYNOPSIS

gpg-card [options] [command [args]]

DESCRIPTION

gpg-card is a GnuPG tool for managing OpenPGP and PIV smartcards. It provides an interactive interface for configuring cards, managing PINs, generating keys, and transferring keys to smartcards.Introduced in GnuPG 2.3 as a replacement for the older gpg --card-edit workflow, it offers a more streamlined command-line experience for smartcard operations.

SUBCOMMANDS

list

List available cards and readers.
info
Display card information.
name
Set cardholder name.
lang
Set language preference.
url
Set public key URL.
fetch
Fetch key from URL on card.
passwd
Change PIN, Admin PIN, or Reset Code.
generate
Generate keys on card.
keytocard
Transfer key to card.
forcesig
Toggle signature PIN requirement.
factory-reset
Reset card to factory defaults.

INSTALL

sudo apt install scdaemon
copy
sudo apk add gnupg-utils
copy

SEE ALSO

gpg(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid