To list the existing GPG keys:
gpg --list-secret-keys --keyid-format=long
gpg --list-signatures
gpg -k --keyid-format long
To generate gpg keys(Will ask for pass phrase), these commands will generate the pair of keys i.e. public and private keys
wit...