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

Payloads can be predicates - not just claims #27

Closed
selfissued opened this issue Nov 13, 2021 · 4 comments · Fixed by #58
Closed

Payloads can be predicates - not just claims #27

selfissued opened this issue Nov 13, 2021 · 4 comments · Fixed by #58
Assignees
Labels
PR-ready Ready for anyone to create a PR

Comments

@selfissued
Copy link
Collaborator

There are a number of places in the current drafts where we say that predicates represent claims but we fail to say that they can also represent predicates. We should develop consistent language for describing both and uniformly use it.

@quartzjer
Copy link
Collaborator

There are a number of places in the current drafts where we say that predicates represent claims

I think you mean where we say that payloads represent claims?

Regardless, there definitely needs to be consistent language around how predicate proofs are expected to be done.

@selfissued
Copy link
Collaborator Author

Yes, I we need to say that payloads can represent claims or predicate proofs.

@quartzjer
Copy link
Collaborator

that payloads can represent claims or predicate proofs.

Technically, payloads can represent claims, but they do not represent predicate proofs (unless the claim itself is a form of a predicate proof from the issuer, such as a hashchain, which are just integrity protected as any other claim would be).

Any predicate proofs generated during a prove operation are combined into the singular resulting proof value.

We touched on this during the meeting today: predicate proof representations are specific to the underlying JPA and are never understandable or useful directly to the application. Only the JPA implementation can properly encode/decode and verify them along with how it binds them to a particular slot.

@quartzjer
Copy link
Collaborator

I think the language can be made more consistent in all three drafts around exactly what a payload represents separate from proofs. Marking this as a TODO.

@quartzjer quartzjer added the PR-ready Ready for anyone to create a PR label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-ready Ready for anyone to create a PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants