Is the last line here (emphasis mine), meant to imply that only base64 encoding is valid in delivery message attachments (as opposed to json/links defined in attachment rfc)?
It is unclear if the final line there implies a recommendation/compulsion of the protocol RFC to use the shown encoding, or is simply a comment for the particular example.
Source partially quoted below for convenience.
The ONLY valid type of attachment for this message is a DIDComm Message in encrypted form.
The recipient_key attribute is only included when responding to a delivery-request message that indicates a recipient_key.
{
"@id": "123456781",
"~thread": {
"thid": "<message id of delivery-request message>"
},
"@type": "https://didcomm.org/messagepickup/2.0/delivery",
"recipient_key": "<key for messages>",
"~attach": [{
"@id": "<messageid>",
"data": {
"base64": ""
}
}]
}
This method of delivery does incur an encoding cost, but is much simpler to implement and a more robust interaction.
Is the last line here (emphasis mine), meant to imply that only base64 encoding is valid in delivery message attachments (as opposed to json/links defined in attachment rfc)?
It is unclear if the final line there implies a recommendation/compulsion of the protocol RFC to use the shown encoding, or is simply a comment for the particular example.
Source partially quoted below for convenience.