I have a file which I have signed with two GPG keys and want to validate that file trough a script. The scripts validates that the signatures are correct by checking the returned status from GPG. If its not zero, the check fails.
The problem is that the machine where I'm running the script on only has one of the keys (and adding the second key to that machine is unfortunately not an solution in this case). So since I don't have both the keys, the validation fails or 2 is returned from GPG.
My question is: Is there some switch that I can give GPG so that I only need one of the public keys on the machine (one or the other) to pass the validation? GPG must of course be able to at least verify one of the keys but not necessary both of them.