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

Proof Value Language #8

Closed
Tracked by #53
quartzjer opened this issue Sep 1, 2021 · 2 comments
Closed
Tracked by #53

Proof Value Language #8

quartzjer opened this issue Sep 1, 2021 · 2 comments
Assignees
Labels
JPA JSON Proof Algorithms JWP JSON Web Proof

Comments

@quartzjer
Copy link
Collaborator

quartzjer commented Sep 1, 2021

As with JWS's signature value, the format of the proof value is opaque to the application. The proof algorithm defines the format and any encoding is unique to that algorithm.

Of note, for proof algorithms that support proofs of knowledge or predicate proofs of the values in individual payload slots, each of those proofs uniquely generated during derivation must also be encoded/stored in the overall proof value.

These proof algorithms must also provide a programmable interface to applications such that they can request the generation and validation of a proof for each payload. These interfaces will be unique to the algorithm and its proofing capabilities and may vary significantly from one algorithm to another depending on the underlying cryptographic primitives.

Since some proof algorithms will require the predicate statement during derivation, applications must take care to limit or require consent on multiple derivations such that a hostile party cannot simply continue to refine the predicate request in order to gain more knowledge of the hidden value.

The format of any predicate requests are inherently algorithm and application/protocol context specific, these formats are out of scope of the JWP specification.

@quartzjer
Copy link
Collaborator Author

quartzjer commented Oct 5, 2021

See discussion thread here: #10 (comment) and #10 (comment)

@quartzjer quartzjer added JPA JSON Proof Algorithms JWP JSON Web Proof labels Oct 21, 2021
@quartzjer quartzjer self-assigned this Dec 14, 2021
@quartzjer quartzjer changed the title Proof Value Proof Value Language Dec 14, 2021
@dwaite
Copy link
Collaborator

dwaite commented Nov 10, 2023

Closing as this was a todo for initial publication. Currently defining a signature/proof format is out of scope. However, we may provide for commonality when wanting to structure proofs, e.g. an array of binary parts.

@dwaite dwaite closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JPA JSON Proof Algorithms JWP JSON Web Proof
Projects
None yet
Development

No branches or pull requests

2 participants