openwallet-foundation / acapy

ACA-Py is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://aca-py.org
Apache License 2.0
412 stars 512 forks source link

Define how to align did:peer usage for DID Exchange with Aries RFCs and AFJ #2156

Closed swcurran closed 10 months ago

swcurran commented 1 year ago

We want ACA-Py to work seemlessly in the use of DIDs with AFJ. The following adjustments to ACA-Py have been noted in accomplishing this. This issue will be used to track the overall issues and a design for moving forward. Existing and new issues in ACA-Py will be used to track specific activities once the design has been developed. The following notes come from a meeting held with @andrewwhitehead @shaangill025 @ianco and @swcurran about this task (2023.03.03).

A background activity to this work is an effort by the Aries Working Group to eliminate unqualified Peer DIDs that are currently used in Aries implementations. The ACA-Py community is participating in that discussion and will work to implement the decisions that come out of that effort.

For DID Exchange, AFJ supports did:peer method 1. Since the did:peer specification lacks precise details on Method 1, the AFJ implementation will be taken as the definitive implementation, including the use of the test vectors within AFJ. A document (HackMD or just a comment on this issue) should be added to summarize the details of the implementation. We will then consider submitting a PR to update the did:peer specification.

Notes about this:

The plan is for @shaangill025 to create the document for this and for others in the community to review.

shaangill025 commented 1 year ago

First draft design document outlining high level ACA-Py changes needed for this implemented. https://hackmd.io/@gbeoESqjRxm7oQacVc_3OQ/SylWqdwkn/edit

swcurran commented 1 year ago

A new direction on this issue. Per the presentation and recording from today’s ACA-Pug meeting, we want to look at updating PR #2174 to replace (or supplement?) Peer DID 1 with Peer DID 2/3 support.

As per the presentation/recording:

In the interest of keeping the PRs smaller, we can stop here with this issue and have a separate issue for dealing with the addition of the use of Peer DID 3. However, we will do the issues/PRs together in a single release.

swcurran commented 10 months ago

Approach is now defined as:

Closing this issue as the definition part is completed, and the doing is defined elsewhere.