-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subKey signature for unknown key gives NullPointer #72
Comments
If I add this test:
And change the main code from
to
it works. |
I've added a pull request, but cannot seem to link it to this issue |
PR: #73 |
NullPointer occurs because SubKey for this key is signed by someone more, and in key ring we don't have all keys. For SubKey we should verify only "Binding Signature" not all signature. thx for test, I will do some more fix. |
Key is ok |
slawekjaranowski
changed the title
Invalid Public Key gives NullPointer
subKey signature for unknown key gives NullPointer
Feb 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of my dependencies is DerbyClient 10.10.1.1.
It's key is: https://hkps.pool.sks-keyservers.net/pks/lookup?op=get&options=mr&search=0x3D8B00E198E21827
3D8B00E198E21827.zip
I've attached the key(ring) it downloads from the keyserver.
It fails with the following stacktrace:
The text was updated successfully, but these errors were encountered: