<div dir="ltr">Please see <a href="https://github.com/jam-awake/gpg-verify-bug" target="_blank">https://github.com/jam-awake/gpg-verify-bug</a><div><br></div><div>It provides a reproducible repo. It demonstrates 4 RSA freshly-generated keys (public and private) that are not expired, not revoked, and have varying levels of key length which reproduce this issue.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 23, 2026 at 6:30 PM NIIBE Yutaka <<a href="mailto:gniibe@fsij.org" target="_blank">gniibe@fsij.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Jordan Martinez wrote:<br>
> Using 2.5.17, I tried verifying the same signature 100 times via a script<br>
> and got a bad signature on each attempt. Here's how I ran such a test. Let<br>
> me know whether or not this is a valid test run.<br>
<br>
It is a valid test run.<br>
<br>
My debug showed that the key used for signature validation was wrong for<br>
some reason.  I was not possible to determine why wrong key was selected.<br>
<br>
If it is possible to share the public key in question (6E628CC4145FD2ED)<br>
and the signature (a single signature is enough) with input, please send<br>
me those.  ** Please never send the private key. **<br>
<br>
# I tried to find the key on public keyservers and WKD, but it's not<br>
# available.<br>
<br>
<br>
If it is not possible, please investigate the public key.<br>
<br>
* Is the subkey expired?<br>
* Is the subkey revoked?<br>
* Is the subkey qualified for modern use cases?<br>
  (For example, it's possible to have short key length in current standard.)<br>
<br>
I think that one of those could be a reason why wrong key was selected.<br>
There might be other possibilities.<br>
-- <br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Blessings,</div><div>Jordan<br></div></div></div>