-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to enable the backwords compatibility and transitioning to did:peer:2/4 and all qualified DIDs #2857
Labels
Discuss
Issues to be raised for discussion at an ACA-Pug Meeting
Comments
swcurran
added
the
Discuss
Issues to be raised for discussion at an ACA-Pug Meeting
label
Apr 2, 2024
@swcurran I took a stab at updating this text according to what has been implemented in #2862: In looking at the approach that has evolved in release 0.12.0 for handling the transition to the use of qualified DIDs only, we've decided on the following changes to the current implementation:
With these changes, an existing ACA-Py installation using unqualified DIDs can upgrade to use qualified DIDs:
|
dbluhm
added a commit
to dbluhm/aries-cloudagent-python
that referenced
this issue
Apr 4, 2024
As outlined in hyperledger#2857 Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In looking at the approach that has evolved in release 0.12.0 for handling the transition to the use of qualified DIDs only, we've decided on the following changes to the current implementation:
--emit-did-peer-2
and--emit-did-peer-4
.use_did
parameter will be added to theoutofband/create_invitation
that takes eitherdid:peer:2
did:peer:4
) so that a DID of that type is created (if necessary), and used in the invitation. If a DID of the type has to be created, it is flagged as the "invitation" DID and used in all future invitations so that connection reuse is the default behaviour.did:peer:4
.did:peer:4
is created and (re)used.use_did
parameter will be added to thedidexchange/create_request
.didexchange/accept_invitation
that takes eitherdid:peer:2
did:peer:4
) so that a DID of that type is created for use in the connection being established. This is the recommend approach, and we further recommend usingdid:peer:4
did:peer:4
is created.auto-accept
is used with DID Exchange, the an unqualified DID is created if DID Exchange 1.0 is being used, and a DID Peer 4 is used if DID Exchange 1.1 is used.With these changes, an existing ACA-Py installation using unqualified DIDs can upgrade to use qualified DIDs:
use_did
parameter on theoutofband/create_invitation
,didexchange/create_request
. anddidexchange/accept_invitation
endpoints and specifyingdid:peer:2
ordid_peer:4
.auto-accept
the connection.The text was updated successfully, but these errors were encountered: