Skip to main content

GPG keypair commands

This section covers commands that you use in SMCTL to manage GPG keypairs. These commands are: list GPG keypairs, generate GPG keypair, and download GPG keyring. Use flags to specify command parameters.

Commands

To view GPG commands, run:

smctl gpg --help

or

smctl gpg -h

Subcommands

GPG commands begin with:

smctl gpg <subcommand>
Table 1. Subcommands for managing GPG keypairs

Shortcut

Subcommand

Description

kp

keypair

Manage GPG keypairs.

kr

keyring

Manage GPG keyrings.

-h

--help

Help for GPG keypairs.


Manage GPG keypairs

GPG keypair commands begin with:

smctl gpg keypair <subcommand>

or

smctl gpg kp <subcommand>

Subcommands

Table 2. Subcommands for generating a GPG keypair

Shortcut

Subcommand

Description

del

delete

Delete GPG keypairs.

desc

describe

Describe a GPG keypair.

gen

generate

Generate GPG master or subkey.

ls

list

List GPG keypairs.

offline

suspend

Set keypair status to offline.

online

unsuspend

Set keypair status to online.

edit

update

Update GPG keypair.

edit-access

update-access

Update access to GPG keypair.

edit-uids

update-uids

Update user IDs of GPG keypair.

-h

--h

Help for generating GPG keypair.