Skip to main content

Describe GPG keypair

Describe GPG keypair commands begin with:

smctl gpg keypair describe <gpg keypair alias or ID>

or

smctl gpg kp desc <gpg keypair alias or ID>

Output sample:

GPG keypair ID: 3cf3f4d1-005c-464f-be84-909d87d0ff
GPG keypair alias: gpg-subkey
GPG type: Subkey
Fingerprint: 02B6E92EF6C54EB6D9B8B5EFC4EF32B364FA2485
Key algorithm: ECDSA - P256
Keypair status: ONLINE
Keypair category: PRODUCTION
Key storage: HSM
GPG Public key:
        -----BEGIN PGP MESSAGE-----
Version: BCPG v1.70

uFIEYpewPRMIKoZIzj0DAQcCAwQ4ZZI661fEMwDSTY001erSlGMbjqvIBGe+t3Tt
CjGc38spiwVWX8WTjbzpgixrXoVB3fwcy2PQ81VZubC0j341iQH/BBgBCABpBQJi
l7A9ApsCXyAEGRMIAAYFAmKXsD0ACgkQxO8ys2T6FFmAxAEA6KPVsHpyqz1bHH3K
BVJwNeTr3rTdKd3cmyZdw9bAFBwBALuoODYOlrLSXtYEVDGn+FQCx8YldK2yUw/R
2XBwbxYSAAoJEAG1hDNMsWDi9SsL/2cbih6a2hm63hKT4LiITv19QF/MiFyNGqkA
00rBHTeMGREIPsb9ySXezmqFhcRLVXiSfz1uhXavT1UZqN999MFqEk1AVNNZBBth
RMpsLxVRqZMvtw0nSEmM/0aTgvrQ9UcteX3MJXSEvlTS3ccrGuFs5Y3tVGEtXlCd
9/Y81jRlhXVMnYV0JVEUFatkRxqTRuSWhuM3H4FRV4d7tH71J+tar2NLfPW7qQRH
aM0G7vbZ0qxlkbQmWtDhtdFBv90Il6x2yEWWaayxGuedJktEk8IWsoh9LB11cr7B
iN45F+lVgkdi/zt1Dj372/Cq/ZodNr4s9yG9U/yJGvEod6A/75RW/xmQ6UpGCeXP
OnYkqxFFfW2eezWmXG5uymkC8eVcGB+YD9erHvhcJXigp2sETgasZJuBnbw1CDA8
om+ddh/mqKslo7dcpu3/9CLZcUOLgIBghVgw2Sgt+B/6ccO8Wk33FX2yZ/nMQAV/
t2Qf3PSwRnMRXypzWFOk6kgSu9qd3L==
=N/wZ
-----END PGP MESSAGE-----

Users:
        7931a0e9-969a-486f-9e98-71e7f55c2957    Rosemary Thomas
Groups: []
Restricted to team: -
GPG master key ID: 0f2d963d-ebf4-1ca3-7aa2-98dd72fc1db8
Can sign: Yes
Keygrip: FF40107969B86E5A2993DC57HCE5AB9E0A414436
UserIDs:
        UID1 () john.doe@example.com
        UID2 () jane.doe@example.com

HSM Partition ID: 62648FB1BE6DBD91D96D2CC6CDA2A9D9
HSM Partition Name: Primary SoftHSM Partition
HSM Provider: SoftHSM
HSM Security Level: level_1

Example 1:

Description: Describe the GPG keypair referred to by the GPG keypair alias.

Command:

smctl gpg keypair describe <keypair alias>

Command sample:

smctl gpg kp descg pg-subkey

Example 2:

Description: Describe the GPG keypair with the keypair ID:

Command:

smctl gpg keypair describe <keypair ID>

Command sample:

smctl gpg keypair desc 3cf3f4d1-005c-464f-be84-909d87d0ff77