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

Improve time bounds violation error messasge #24

Open
bgins opened this issue Mar 4, 2022 · 0 comments
Open

Improve time bounds violation error messasge #24

bgins opened this issue Mar 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bgins
Copy link
Collaborator

bgins commented Mar 4, 2022

Summary

Problem

Each delegated UCAN must have an nbf and exp that fall within the time bounds of its proofs. In some cases where this is violated, the validator incorrectly displays an expired message.

Impact

Confusing error message that leads to deep UCAN inspection.

Solution

Improve the error message. One possible error message: "Invalid time bounds in proof chain. Each delegate must fall within the time bounds of its proofs."

@bgins bgins added the bug Something isn't working label Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant