Created
June 10, 2022 10:36
-
-
Save joshuagl/ed30b2ae86a4c02ad9bc9ad9f7394ec8 to your computer and use it in GitHub Desktop.
pretty-print-provenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A simple shell function to pretty-print the payload of an in-toto attestation on the command-line (requires jq) | |
ppp() { | |
less "$1" | jq .payload | sed 's/"//g' | base64 -i - -d | jq | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment