Default
This Is How Me Do It!
C. BinKadal --- Sendirian, Berhad


List of current GnuPG keys

The following examples are from 2021 for user cbkadal@cbkadal (Guest).
You are not cbkadal! Replace cbkadal with your user name.


List all keys

gpg --list-keys

(RESULT)

$ gpg --list-key

gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2022-09-11

/home/cbkadal/.gnupg/pubring.kbx
--------------------------------
pub   rsa4096 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid           [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096 2021-09-11 [E] [expires: 2024-08-15]

$


KEYID-FORMAT: full/long/short

gpg --list-key CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
gpg --list-key --keyid-format long
gpg --list-key 60914D29C01C81F1
gpg --list-key --keyid-format short
gpg --list-key C01C81F1

(RESULT)

$ gpg --list-key CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
pub   rsa4096 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid           [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096 2021-09-11 [E] [expires: 2024-08-15]


$ gpg --list-key --keyid-format long
/home/cbkadal/.gnupg/pubring.kbx
--------------------------------
pub   rsa4096/60914D29C01C81F1 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid                 [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096/25EEC92DDE20CA4F 2021-09-11 [E] [expires: 2024-08-15]


$ gpg --list-key 60914D29C01C81F1
pub   rsa4096 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid           [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096 2021-09-11 [E] [expires: 2024-08-15]


$ gpg --list-key --keyid-format short
/home/cbkadal/.gnupg/pubring.kbx
--------------------------------
pub   rsa4096/C01C81F1 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid         [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096/DE20CA4F 2021-09-11 [E] [expires: 2024-08-15]


$ gpg --list-key C01C81F1
pub   rsa4096 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid           [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096 2021-09-11 [E] [expires: 2024-08-15]


$


Email: cbkadal@localhost

gpg --list-key cbkadal@localhost

(RESULT)

$ gpg --list-key cbkadal@localhost
pub   rsa4096 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid           [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096 2021-09-11 [E] [expires: 2024-08-15]


$


Comment: CBK

gpg --list-key CBK

(RESULT)

$ gpg --list-key CBK
pub   rsa4096 2021-09-11 [SC] [expires: 2024-08-15]
      CE17XYZZYXYZZYXYZZYXYYYZ60914D29C01C81F1
uid           [ultimate] Cicak Bin Kadal (CBK) <cbkadal@localhost>
sub   rsa4096 2021-09-11 [E] [expires: 2024-08-15]


$




© 2021-2024 --- C. BinKadal --- About --- Revision: 0177--12-Jul-2024.