feat(ssi): Establish a trusted connection with yourself
This MR builds on top of !8 (merged) so that should be merged first.
- Restructured the events a bit so that usage from other services will be easier.
- Noticed a minor bug that instances are being lost when received as an event, so there now is an
Event.instance
method which will convert it back to a class
- Noticed a minor bug that instances are being lost when received as an event, so there now is an
- Added a new event which sets up a connection with yourself and mark it as
trusted
within the metadata of the connection- Since within DIDComm it is not really possible to securely know if the connection is established with yourself, in the current scenario at least, it has been chosen to make it a separate event instead of integrating it with a more general
createConnection
event.
- Since within DIDComm it is not really possible to securely know if the connection is established with yourself, in the current scenario at least, it has been chosen to make it a separate event instead of integrating it with a more general