Skip to content
Snippets Groups Projects
Unverified Commit fb545de2 authored by Bob Callaway's avatar Bob Callaway Committed by GitHub
Browse files

Fix intoto index keys (#889)


* Fix intoto index keys

Ensure we include all appropriate index keys including:
- entire DSSE envelope SHA256 digest
- envelope (base64 decoded) SHA256 digest
- entire X509 signing certificate
- any relevant keys extracted from X509 signing certificate

Fixes: #872

Signed-off-by: default avatarBob Callaway <bcallaway@google.com>

* consistently decode payload

Signed-off-by: default avatarBob Callaway <bcallaway@google.com>

* rework error flows to be non-fatal

Signed-off-by: default avatarBob Callaway <bcallaway@google.com>

* use canonicalized key, consistent sprintf

Signed-off-by: default avatarBob Callaway <bcallaway@google.com>
parent 3936e03a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment