Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support large subjects file in generic generator #2365

Merged
merged 28 commits into from
Jul 18, 2023

Conversation

laurentsimon
Copy link
Collaborator

closes #845

@laurentsimon laurentsimon changed the title feat: Support large subjects file inn generic generator feat: Support large subjects file in generic generator Jul 10, 2023
.github/workflows/generator_generic_slsa3.yml Show resolved Hide resolved
.github/workflows/generator_generic_slsa3.yml Outdated Show resolved Hide resolved
internal/builders/generic/attest.go Outdated Show resolved Hide resolved
internal/builders/generic/attest.go Outdated Show resolved Hide resolved
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: laurentsimon <laurentsimon@google.com>
@laurentsimon
Copy link
Collaborator Author

ptal, I addressed the comments

@laurentsimon laurentsimon merged commit 4933d7f into slsa-framework:main Jul 18, 2023
74 checks passed
laurentsimon added a commit to laurentsimon/slsa-github-generator that referenced this pull request Jul 18, 2023
…k#2365)

closes
slsa-framework#845

---------

Signed-off-by: laurentsimon <laurentsimon@google.com>
laurentsimon added a commit that referenced this pull request Jul 21, 2023
As part of
#2365, we
added support for large files.

We forgot to update the "success" computation. This means that even
though the sha256 may differ from the expected, the job continues and we
never record the failure status.

I fix this in the PR. I also delete the downloaded folder / artifact if
the sha256 don't match, to avoid a similar problem in he future

---------

Signed-off-by: laurentsimon <laurentsimon@google.com>
enteraga6 pushed a commit to enteraga6/slsa-github-generator that referenced this pull request Aug 8, 2023
…k#2365)

closes
slsa-framework#845

---------

Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: Noah Elzner <elzner@google.com>
enteraga6 pushed a commit to enteraga6/slsa-github-generator that referenced this pull request Aug 8, 2023
As part of
slsa-framework#2365, we
added support for large files.

We forgot to update the "success" computation. This means that even
though the sha256 may differ from the expected, the job continues and we
never record the failure status.

I fix this in the PR. I also delete the downloaded folder / artifact if
the sha256 don't match, to avoid a similar problem in he future

---------

Signed-off-by: laurentsimon <laurentsimon@google.com>
Signed-off-by: Noah Elzner <elzner@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Alternative ways required to pass large attestation subjects
2 participants