Skip to content
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

Define the data field #826

Merged
merged 7 commits into from
Mar 3, 2022
Merged

Define the data field #826

merged 7 commits into from
Mar 3, 2022

Commits on Jul 12, 2021

  1. Define the data field

    This should contain an embedded representation of the referenced
    content, which is useful for avoiding extra hops to access small pieces
    of content.
    
    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    aaf8045 View commit details
    Browse the repository at this point in the history
  2. Add Embedded Data section

    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    ce281ce View commit details
    Browse the repository at this point in the history
  3. Add note about portability concerns

    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    58c082d View commit details
    Browse the repository at this point in the history
  4. Expand godoc for Data

    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    2596ec0 View commit details
    Browse the repository at this point in the history
  5. Implementations MUST NOT populate data arbitrarily

    Also add a counterexample.
    
    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    fccc435 View commit details
    Browse the repository at this point in the history
  6. Clean up portability considerations

    Also fix typo.
    
    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    83479d4 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. Scope data verification to content consumers

    While registries might want to verify the data field, we shouldn't rely
    on it, as many registries are unaware of this field. On the other hand,
    clients SHOULD verify the content before consuming it.
    
    Signed-off-by: Jon Johnson <jonjohnson@google.com>
    jonjohnsonjr committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    0d98a6c View commit details
    Browse the repository at this point in the history