decentralized-identity / didcomm-messaging

https://identity.foundation/didcomm-messaging/spec/
Apache License 2.0
161 stars 56 forks source link

Should attachments be required on OOB Invitations? #397

Closed dbluhm closed 2 years ago

dbluhm commented 2 years ago

The current text for the attachments attribute reads:

attachments - REQUIRED for OOB usage. An array of attachments that will contain the invitation messages in order of preference that the receiver can use in responding to the message...

After some discussion with Sam, it seems the intent for OOB invitations is that instead of always having an attachment with an explicit message or set of messages, it should be possible to just specify a goal code that initiates some flow of messages. To support that use case, attachments should be marked as "OPTIONAL" rather than "REQUIRED."

cc @TelegramSam