List GPG keypairs
List GPG keypair commands begin with:
smctl gpg keypair list
or
smctl gpg kp ls
Flags
tabla 1. Flags for listing GPG keypairs
Shortcut | Flag | Description |
---|---|---|
-f | --filter stringToString | Supported fields: --filter="<value>" |
--page int | Page number. Default is –1, which displays all pages. | |
--size int | Page size. Default is 100. | |
--account-id string | Account ID for the user. Format: --account-id="<value>" | |
-h | --help | Help for list keypairs. |
Example
Description: List all GPG public keys.
Command:
smctl gpg kp list <file path to keyring>
Command sample:
smctl gpg kp list /Users/Name/.gnupg/pubring.gpg