Describe the bug
Attestations that are too large will throw the following error during verification.
Error: bundles could not be loaded from JSON lines file: bufio.Scanner: token too long
Steps to reproduce the behavior
gh attestation verify oci://ghcr.io/forrin/in-toto-workflows:15f5ca8c47ad7ffca1d7cc7e9996c57010b024e7 -o Forrin --bundle sha256:05efdf15a77731613ea7f9267c2f0ca4543d8d5763f22d90f994bb5f52a48368.jsonl
Expected vs actual behavior
Expected to pass verification. Actual is an error due to bufio scanner buffer limits.
Logs
Loaded digest sha256:05efdf15a77731613ea7f9267c2f0ca4543d8d5763f22d90f994bb5f52a48368 for oci://ghcr.io/forrin/in-toto-workflows:15f5ca8c47ad7ffca1d7cc7e9996c57010b024e7
✗ Loading attestations from oci://ghcr.io/forrin/in-toto-workflows:15f5ca8c47ad7ffca1d7cc7e9996c57010b024e7 failed
Error: bundles could not be loaded from JSON lines file: bufio.Scanner: token too long
Describe the bug
Attestations that are too large will throw the following error during verification.
Steps to reproduce the behavior
gh attestation verify oci://ghcr.io/forrin/in-toto-workflows:15f5ca8c47ad7ffca1d7cc7e9996c57010b024e7 -o Forrin --bundle sha256:05efdf15a77731613ea7f9267c2f0ca4543d8d5763f22d90f994bb5f52a48368.jsonlExpected vs actual behavior
Expected to pass verification. Actual is an error due to bufio scanner buffer limits.
Logs