aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Inconsistent DID format between connection events and records with didexchange/1.1

Open cl0ete opened this issue 6 months ago • 1 comments

When creating a connection with handshake_protocols = ["https://didcomm.org/didexchange/1.1"], the events for the tenant that creates (initiates) the connection contain the "long-form" of the DIDs for the their_did and my_did fields.

However, the records from the GET /connections endpoint contain the "short-form" of the DIDs, and the events for the tenant that accepts the connection also contain the "short-form" of the DIDs.

The DIDs used for these connections default to did:peer:4.

Not sure if this is because of /didexchange/1.1 since /didexchange/1.0 used did:sov DIDs.

The expected behaviour from my point of view is that the DIDs in the events should be the same as the DIDs in the records.

cl0ete avatar Jun 17 '25 11:06 cl0ete