Skip to main content

Download GPG keyring

Download GPG keyring commands begin with:

smctl gpg keyring download

or

smctl gpg kr save

Flags

Use one of the following flags to set parameters when using the download certificate subcommand:

tabla 1. Flags for downloading GPG keyring

Shortcut

Flag

Description

-f

--file-path string

Specify keyring file path (default "C:\\Users\\Name\\AppData\\Roaming\\gnupg\\pubring.gpg"). The private key will not be downloaded. Format:

--format="<value>"

-h

--help

Help for download.


Example

Description: Download the keyring with the one or more master key.  All subkeys and user IDs associated to the master keys you have selected will automatically be added to the keyring.

Command:

smctl gpg keyring download <a master key alias> <another master key alias>

Command sample:

smctl gpg keyring download a-master-key1 a-master-key2