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

Added improved error reporting for ArcVerifier #593

Merged
merged 2 commits into from
Jul 25, 2020

Conversation

jstedfast
Copy link
Owner

Fixes issue #591

Copy link

@The-Nutty The-Nutty left a comment

Choose a reason for hiding this comment

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

Changes look really good and should perfectly address my use case.

One un related comment currently ArcSignAsync will fail if any cv=fail i can foresee a use case where just because a one item in the chain has failed validation does not mean you dont want to continue the chain. Im bring it up as its something i have seen is i=1 cv=none i=2 cv=fail i=3 cv=pass where i=2 recalculates the authentication and does not trust the auth passed by i=1 but continues the chain, its not something i have a use case for but though it was worth bringing up.

@jstedfast
Copy link
Owner Author

That's always been the case, but I get what you are saying. I'll change that if/when someone needs it. I believe the spec says not to sign when that's the case, but it's been a while since I looked, so I could be wrong. Not sure why I would have added that logic otherwise.

@jstedfast jstedfast merged commit 7368395 into master Jul 25, 2020
@jstedfast jstedfast deleted the arc-verify-error-reporting branch July 25, 2020 23:10
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