-
Notifications
You must be signed in to change notification settings - Fork 64
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
Testing: extended tests in the certificates helper tool #2542
Comments
1.1 What
User will expect it calculates checksum of given file, but it expects something different:
?! |
|
|
|
tmux.2023-06-14.21-20-35.mp4 |
Helper should at least trim values to not sign docs with 'empty' fields. |
EDIT |
I generates the fingerprint of the signed part of a certificate or node-descriptor. Used it for testing, you can make it hidden as it has not much use for general users. |
Yeah this happens in the certificate/node-descriptor editor because as of now those cannot scroll and the cursor is out of screen. |
Unfortunately JSON schema cannot define logical connections between properties and the format property is optionally supported. Even x509 spec does not specify that the So these rely on common sense of the user. For protocol, this is exactly the case with manifests, anything that can be parsed into an URL is accepted, the GAP does not restrict the URL format either. When reading up the URLs the validator will ignore unknown protocols, or other malformed urls that it cannot resolve to IPs. (The examples in the GAP even contain path parts which is completely ignored by the IP filtering.) |
Great findings! I think 5 and 6 are something that should be addressed sooner rather than later. The others are nice to haves. I think these should go to a 'known bugs' list and not block merging. |
Yes, it does. Still I created an issue for this |
Yes @evik42 , but there is nothing stopping us from trimming fields when generating/signing new certificate.
Same case. Maybe we should pass |
Have another person (not author / reviewer) look at the code of the helper tool and try to find new ways to break it.
The text was updated successfully, but these errors were encountered: