-
Notifications
You must be signed in to change notification settings - Fork 25
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
Differentiate between empty or no fingerprint #558
Conversation
7f0041f
to
9037574
Compare
Is the case "no fingerprint is given for this key" differentiated from "an empty fingerprint is given for this key"? |
No, in this implementation, both cases are handled the same. To separate both cases, |
In future versions, we should differentiate that. |
Then we should not implement it for 3.x as we would need to go to version 4 if we change the public API. @koplas can you implement a version that just gives more details for 3.x? (Please do not put in unrelated whitespace changes.) @tschmidtb51 wrote:
If I understand the schema correctly there is a |
this has been improved
(@s-l-teichmann sorry for the back and forth of your review. It has been addressed and I am trying to remove you as a requested reviewer, which somehow does not work.) |
* improve comment phrasing
If the fingerprint is empty, the
Using the
No additional error messages are printed with this branch and the schema validation prevents the check for empty fingerprints. For invalid fingerprints the
And the
|
As discussed in #555 we won't be using this approach. |
This pull request introduces an API change, which allows for a better diagnosis of fingerprint errors.