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

Catch step env/job env edge case #2340

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Catch step env/job env edge case #2340

merged 1 commit into from
Aug 31, 2023

Conversation

DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Aug 31, 2023

#2339 opened a possible edge case where if a job includes a step with an env var, but that env wasn't copied to the job, then the job could verify successfully with a different env than was intended during signing.

Even without #2339, this seems like a good defensive check to add anyway.

@DrJosh9000 DrJosh9000 requested a review from triarius August 31, 2023 01:19
@DrJosh9000 DrJosh9000 enabled auto-merge August 31, 2023 01:23
Copy link
Contributor

@triarius triarius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIce catch!

@DrJosh9000 DrJosh9000 force-pushed the why-verification-failed branch from a0c1a15 to b714ca2 Compare August 31, 2023 01:28
@DrJosh9000 DrJosh9000 force-pushed the why-verification-failed branch from b714ca2 to 242c4b7 Compare August 31, 2023 01:29
@DrJosh9000 DrJosh9000 merged commit 87bfa9b into main Aug 31, 2023
@DrJosh9000 DrJosh9000 deleted the why-verification-failed branch August 31, 2023 01:42
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.

2 participants