It's not, but I need to identify if it's valid automatically. I needed to be able to reference what the main key id was so that multiple subkeys could be verified (expired + active)
However, soon after posting this a simple answer came to me (as always)
This should be true if 7B1F325C keyid is relevant to primarykeyid
Code:
$ gpg --list-keys 7B1F325C | grep -q primarykeyid
Quote:
You could use gpgv, with the --keyring option pointing to a keyring file containing only your own key.
|
I didn't know about this tool, I will have to keep it in mind, thank you! The problem is the same service checking the key will also issue signatures.
But this could be used in a more secure method of it..