sq-keyring-list1
List keys in a keyring
Usage
sq keyring
list
[OPTIONS]
FILE
Overview
List keys in a keyring.
Prints the fingerprint as well as the primary userid for every certificate encountered in the keyring.
Options
Subcommand options
-
--all-userids -
List all user IDs
-
Include user IDs that are expired, revoked, or not valid under the standard policy.
- FILE
-
Read from FILE or stdin if FILE is '-'
-
[default:
-]
Global options
See sq(1) for a description of the global options.
Examples
List all certificates.
sq keyring list certs.pgp
List all certificates with a user ID on example.org.
sq keyring filter --experimental --domain=example.org \ certs.pgp \ | sq keyring list
Version
1.4.1
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.
--all-userids since Debian 12 (Bookworm).
--help until Debian 12 (Bookworm);
-h until Debian 12 (Bookworm).