gpg --list-keys lists all keys from the configured public keyrings. You don't need to specify an input file, so it is easier than --show-keys.
gpg --list-keys
--show-keys