[recipe_wrapper] Use attestation repo structs from protos

This change modifies the internal handling of the input data to the attestation tool to use a struct generated from the official in-toto repository. This should help ensure that the specification is truly matched. Unfortunately, the predicate struct itself (which contains the SLSA build information) is dynamically typed, but all that stuff is basically metadata which isn't used for attestation, anyway.

Bug: https://fxbug.dev/133350


Change-Id: I730e718c111e7a1ecfa9ece741d2a40666aae47e
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/914392
Commit-Queue: Chris Lewis <cflewis@google.com>
Reviewed-by: Nathan Mulcahey <nmulcahey@google.com>
10 files changed
tree: 83c82178cfcf1f0dcb2d81ad779a4c9d12ccb7c3
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. monorail/
  11. rpcutil/
  12. scripts/
  13. third_party/
  14. vendor/
  15. .gitignore
  16. AUTHORS
  17. go.mod
  18. go.sum
  19. LICENSE
  20. manifest
  21. PATENTS
  22. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.