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

Raise error on invalid pcrs #73

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Conversation

hanneary
Copy link
Member

Why

Its more helpful to see the error then return a log and bool

How

Raise error instead of false

@hanneary hanneary changed the title Hannah/raise error on invalid pcrs Raise error on invalid pcrs Sep 20, 2023
Copy link
Member

@lfarrel6 lfarrel6 left a comment

Choose a reason for hiding this comment

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

lgtm, just one q on versioning

@@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "evervault_attestation_bindings"
version = "0.3.0"
version = "0.3.1"
Copy link
Member

Choose a reason for hiding this comment

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

Does this need to be breaking change if it now raises an error instead of returning?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah fair point I'll bump it now

Copy link
Member Author

@hanneary hanneary Sep 20, 2023

Choose a reason for hiding this comment

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

discussed offline it's find for 0.y.z

@hanneary hanneary merged commit 9cbe9b1 into main Sep 20, 2023
@hanneary hanneary deleted the hannah/raise-error-on-invalid-pcrs branch September 20, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants