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 language/examples around test suite API. #134

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

BigBlueHat
Copy link
Member

No description provided.

Copy link
Collaborator

@PatStLouis PatStLouis left a comment

Choose a reason for hiding this comment

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

We might want to change the requirements from verifying an eddsa-rdfc-2022 to processing, this will ensure jose folks can just process the payload without having to verify the proof (which isn't tested here anyways)

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member Author

@BigBlueHat BigBlueHat left a comment

Choose a reason for hiding this comment

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

@aljones15 would love your thought here on API variations.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@BigBlueHat
Copy link
Member Author

@PatStLouis GitHub seems to think I didn't satisfy your requested change. Could you re-review this one?

Thanks!
🎩

Copy link
Collaborator

@PatStLouis PatStLouis left a comment

Choose a reason for hiding this comment

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

Might as well align with the problemDetails as defined in the specifications

"errors": ["invalid proof"]
"verified": true,
"results": {},
"error": ["invalid proof"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"error": ["invalid proof"]
"problemDetails": []

Comment on lines 256 to 257
"warnings": ["invalid-uri"],
"errors": ["invalid proof"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"warnings": ["invalid-uri"],
"errors": ["invalid proof"]
"problemDetails": []

@BigBlueHat
Copy link
Member Author

Might as well align with the problemDetails as defined in the specifications

We can do that in the README, but does any of the code handle that yet?

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.

4 participants