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

Adding support for using timestamp authority and CA certificates for verifying policy #124

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

ChaosInTheCRD
Copy link
Collaborator

@ChaosInTheCRD ChaosInTheCRD commented Jan 12, 2024

After discovering that the policy-ca flag in github.com/in-toto/witness was not wired up correctly, I noticed that some change was required in go-witness to feed it into the verification function for the policy DSSE envelope. I also noticed that there was no way of specifying a timestamp authority CA certificate for the policy. Given that Sign supports specifying said timestamp authority, it seemed clear that adding support in Verify would be worthwhile.

Note that currently, the way that we are verifying the policy is different from how we verify attestations. It seems that said disparity does not need to be there and I will therefore create another Issue to track the need to refactor this.

See Github issue here: #125

@ChaosInTheCRD ChaosInTheCRD changed the title fixing a couple of things Adding support for using timestamp authority and CA certificates for verifying policy Jan 12, 2024
@ChaosInTheCRD ChaosInTheCRD marked this pull request as ready for review January 12, 2024 11:58
Copy link
Member

@jkjell jkjell left a comment

Choose a reason for hiding this comment

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

Looks good!

Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
@jkjell jkjell merged commit 0b28c0f into in-toto:main Jan 17, 2024
10 checks passed
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.

None yet

2 participants