-
Notifications
You must be signed in to change notification settings - Fork 27
Attempt to clarify intro text about key attestations #524
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
base: main
Are you sure you want to change the base?
Conversation
The singular "key" was being used in a way that could be confusing given a single key attestation can be used to attest multiple keys. closes #463
@@ -919,10 +919,10 @@ This specification defines the following proof types: | |||
|
|||
There are two ways to convey key attestations (as defined in (#keyattestation)) of the cryptographic key material during Credential issuance: | |||
|
|||
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession of the key and adds the key attestation in the JOSE header. | |||
- The Wallet uses the `attestation` proof type in the Credential Request with the key attestation without a proof of possession of the key itself. | |||
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession for one of the attested keys and adds the key attestation in the JOSE header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this is super important
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession for one of the attested keys and adds the key attestation in the JOSE header. | |
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession for one of the attested keys and adds the key attestation with all of the attested keys in the JOSE header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too keen on this wording, I think it becomes a bit ambiguous and could be read as saying to add the JWKs to the JOSE header in addition to the attestation. I do think it's important to make clear that the key attestation can contain multiple keys though - would adding that just before the list, or in the paragraph below the list work for you? I've made a suggestion for adding it below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @jogu, that suggestion is clearer than this proposed language.
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession of the key and adds the key attestation in the JOSE header. | ||
- The Wallet uses the `attestation` proof type in the Credential Request with the key attestation without a proof of possession of the key itself. | ||
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession for one of the attested keys and adds the key attestation in the JOSE header. | ||
- The Wallet uses the `attestation` proof type in the Credential Request to provide a key attestation without a proof of possession of any of the keys. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The Wallet uses the `attestation` proof type in the Credential Request to provide a key attestation without a proof of possession of any of the keys. | |
- The Wallet uses the `attestation` proof type in the Credential Request to provide a key attestation for all of the attested keys without a proof of possession of any of those keys. |
Co-authored-by: Kristina <[email protected]>
|
||
Depending on the Wallet's implementation, the `attestation` may avoid unnecessary End-User interaction during Credential issuance, as the key itself does not necessarily need to perform signature operations. | ||
Depending on the Wallet's implementation, the `attestation` may avoid unnecessary End-User interaction during Credential issuance, as the key to which the Credential will be bound does not necessarily need to perform signature operations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on the Wallet's implementation, the `attestation` may avoid unnecessary End-User interaction during Credential issuance, as the key to which the Credential will be bound does not necessarily need to perform signature operations. | |
Depending on the Wallet's implementation, the `attestation` may avoid unnecessary End-User interaction during Credential issuance, as the key(s) to which the Credential(s) will be bound does not necessarily need to perform signature operations, and one key attestation can be used to attest multiple keys. |
@@ -919,10 +919,10 @@ This specification defines the following proof types: | |||
|
|||
There are two ways to convey key attestations (as defined in (#keyattestation)) of the cryptographic key material during Credential issuance: | |||
|
|||
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession of the key and adds the key attestation in the JOSE header. | |||
- The Wallet uses the `attestation` proof type in the Credential Request with the key attestation without a proof of possession of the key itself. | |||
- The Wallet uses the `jwt` proof type in the Credential Request to create a proof of possession for one of the attested keys and adds the key attestation in the JOSE header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too keen on this wording, I think it becomes a bit ambiguous and could be read as saying to add the JWKs to the JOSE header in addition to the attestation. I do think it's important to make clear that the key attestation can contain multiple keys though - would adding that just before the list, or in the paragraph below the list work for you? I've made a suggestion for adding it below.
The singular "key" was being used in a way that could be confusing given a single key attestation can be used to attest multiple keys.
closes #463