-
Notifications
You must be signed in to change notification settings - Fork 3
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
External document refs should have a SHA1 instead of a SHA256 #8
Comments
There is also a missing space between the algorithm and algorithm value. Again, this is a bit hard to read in the spec, but the Java tools use the space as a delimiter between the tag/value fields. If we decide the space isn't needed, we should raise an issue for the Java tools. |
…256 to SHA1 Signed-off-by: Gary O'Neall <[email protected]>
Thanks for this @goneall. From our separate conversation on this, understood about changing this from SHA256 to SHA1. On the spacing comment, apologies for nitpicking :) but I'm not sure I gathered this from just reading the spec. Section 4.4.5 describes the separator as being I do see though that the examples show one space between the colon and the actual hash value. Is it assumed that it should be a single whitespace? If so, I'll update it here and we may want to update the text in the spec to make that explicit as well. |
@swinslow Good point on the spec - I agree that there should not be a space required. I'll open an issue for the Java tools that does the verification and creates the examples in the spec repo. |
It is admittedly a bit hard to follow in the spec, but my reading is the external document references must use SHA1.
This is based on section 2.6 subsection 2.6.4:
In section 4.4 subsection 4.4.3:
The text was updated successfully, but these errors were encountered: