You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reuse oob invitation keys also for multiuse invitation (?)
@TimoGlastra Currently, I'm still creating new keys when it's multiuse invitation. I assume we don't want to do that, right?
Add oob record state and role checks
feat(api): store more from receiveInvitation config into a record and allow override in acceptInvitation
refactor(core): Change did to unqualifiedSovDid or maybe unqualifiedIndyDid
refactor(core): Extract connection protocol methods from service to protocol class
Throw an error if there is more then one rule resolved by state machine
But I actually didn’t find beneficial the way how I implemented the did exchange state machine
Fix naming caused by DecryptedMessageContext vs. UnpackedMessageContext
🚧 OOB state should be set to done once we send or receive the first non-oob message (so after sending or receiving the didexchange / connection request message)
We can probably remove some props from the connection record over time? E.g. multiUseInvitation (in oob record) and mediatorId (in oob record)
associating out of band recor with session and finding it based on that can maybe be insecure, as there's multiple entities that can act on the same oob record when using multi use invitations. Is this true?
differentiate between stored and resolved version of peer did document
🚧 connectionless should be integrated with oob, also we should allow for connection reuse when doing connectionless.
the oob offer/request will not have a connection id when we receive the first reply. we must set it on the record
creating an out of band offer/request will currently create keys, and the oob invitation will also create keys. I propose the following flow:
create oob offer/request no keys will be created, no ~service is present
call oob.createInvitation to create oob invitation containing the offer/request
OR call oob.createLegacyConnectionlessInvitation (naming not final yet, but you get the idea) that will generate a key and set the ~service decorator. This makes the process two steps, but I think the api is nice enough to do that.
rename outOfBand to outOfBandRecord
Think of ways to not require ConnectionsModule. acceptOutOfBandInvitation to be public
connectionRecord.threadId = message.threadId || message.id (message.id is redundant)
Change the defaults of autoAcceptConnection and autoAcceptInvitation?
Update connection complete listener to event listener so it survives agent shutdown
resolveDidDocument vs resolve in dids module
use ReferencedAuthentication instead of embeddedAuthentication (@jakubkoci specific reason you changed this?) we now include the same key object twice which I'm not sure if that's allowed
Tasks left from PR review:
the oob offer/request will not have a connection id when we receive the first reply. we must set it on the record
ConnectionsModule. acceptOutOfBandInvitation
to be publicrecipientKeyFingerprints
ConnectionInvitationMessage
The text was updated successfully, but these errors were encountered: