[rw] Attest packages in deferred steps
This change can take deferred steps, analyze them for package
registrations, then perform a BCID attestation on them. This is
basically the workflow required for L1 attestation.
Once deferred steps have a known file location, this function can be
placed into main.go and start logging out attestations. Once we are
happy we can move on to uploading the attestations to the BCID silo.
Bug: b/295932544
Change-Id: I1eeefe6135b1453bbbeb4585b93aa62e8a8e3819
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/915356
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: Chris Lewis <cflewis@google.com>
4 files changed