-
Notifications
You must be signed in to change notification settings - Fork 147
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
[SRI] Clarification regarding "Parse metadata" algorithm #531
Comments
A related question: If a token parses correctly per the grammar, but doesn't decode correctly as base64 (for example due to wrong padding) is that considered invalid metadata? |
Oops, I just realized that base64 decoding isn't really required. If the the encoded strings don't match then the match fails as per section However, this brings us back to the original question: what are the criteria for validity of metadata? |
I am confused by the wording in section 3.3.3. To quote the algorithm:
Question:
What is the definition of "valid metadata" mentioned in step
3 ii
? Is it just syntactical correctness as per the ABNF grammar or something more? I ask because the parsing step (3 iii
) is mentioned after the check for "valid metadata" which seems to imply that there is more to it than just syntax. But I can't find any other criteria for metadata correctness.Thanks in advance!
The text was updated successfully, but these errors were encountered: