How to list all installed PGP certificates in your system
You can list all the keys in currently installed in your system by running:
gpg --list-secret-keys
where --list-secret-keys
lists specified secret keys, and if no keys are specified, then it will return all known secret keys.