-
Notifications
You must be signed in to change notification settings - Fork 217
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
Sign Attachment Protocol #586
Conversation
Signed-off-by: Sam Curren <[email protected]>
Signed-off-by: Sam Curren <[email protected]>
|
||
### Signature Request | ||
|
||
This message represents a request from a "coordinator" to a "signer" to provide a signature for the attachment(s) included in the request. The request will indicate the attached message type as well as the requested signature type, and "goal codes" will be included to indicate the "goal" of the coordinator, and stated goal of the signer. |
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 stated goal of the coordinator" for balance maybe?
I feel like maybe there should be only one goal - ie. the goal of the coordinator. The goal (or action) of the signer seems like it would always be implied by that goal.
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've adjusted the language to reflect that this is from the opinion of the coordinator. The one goal discussion is a good one, but I didn't want to hold up the other changes for that discussion.
"signature_type": "<requested signature type>", | ||
"signature": { ... structure determined by signature type ... } | ||
}], | ||
"messages~attach": [{ |
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.
Shouldn't this be ~attach
to match the request? Although I would prefer just calling it messages
.
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 moved to the attachment append method (as opposed to inline) partially as an experiment to see what it would look like. We are considering only appended attachments in DIDComm V2.
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.
But - I did make it consistent.
Signed-off-by: Sam Curren <[email protected]>
@andrewwhitehead small adjustments made. Larger points are good ones, and I've left those open. |
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.
LGTM
I would note, however, that I think "Please Sign This" is a better name than "Sign Attachment." My reasoning is that "Sign Attachment" makes me want to assume that the signed artifact is intended to be an attachment (a false assumption). On the other hand, "Please Sign This" makes it clear that what's being signed is an attachment to the message in this protocol -- and expresses no opinion whatsoever about how whether the signed artifact will eventually become an attachment on another message.
Change the name or leave it alone; I'm okay with either choice.
is this change related to signed attachment in DIDComm? I'm asking because this PR is about to remove the signing wording of attachments in DIDComm (ie recipientKeys only used for envelope encryption). If they're related, then we have a conflict. Or if they're related and both needed, then this PR must specify where the signing key comes from. It cannot be stored in DIDComm's |
Can someone point me to where I can find some further info / guidance on the purpose and allowed values for the For a bit of context, I am trying to figure out if the protocol defined in this RFC can be used (perhaps in combination with the attachment formats defined in Aries RFC 0593) to request / produce Linked Data Proof signatures. Thank you! |
Hello, Motivation Proposed solution In case of Related discussions / issues
If my proposal is accepted, I'm happy to make the necessary changes in the document. |
I think this question would be resolved with some guidance on how to define / register application specific protocols based on this RFC document (e.g. for usage with Linked Data Documents / Linked Data Proofs). The RFC currently states:
I am curious if examples of such application specific specs already exist (I was so far only able to find this document), or if any are being developed. It might of course be early to ask such questions, given the RFC document is not yet merged in. Thank you. |
I am sensitive to the pending questions in this conversation -- but I don't feel like I can answer them. I think @TelegramSam or one of the folks on the BCGov team needs to speak to the intent and to whether the problem domain of the protocol overlaps with collecting Linked Data Proof signatures enough to justify solving that problem this way. |
Discussed 20241009 Close. This is both too general and not specific enough to be useful since for signing an indy txn, a specific protocol needs to be followed to sign it correctly. |
This protocol is based off earlier work, and simplifies several things and adds a mechanism to present gathered signatures.
Signed-off-by: Sam Curren [email protected]