aries-framework-go icon indicating copy to clipboard operation
aries-framework-go copied to clipboard

DID implementation is outdated

Open youngjoon-lee opened this issue 2 years ago • 0 comments

  • Are you filing a proposal? Make sure you follow our guidelines.

  • Are you filing a bug report? Use the following template for your bug report (make sure you follow our guidelines:

What I'm trying to do

As I studied, since 2019, the following fields have been deleted from the DID Document spec.

  • Created
  • Updated
  • Proof

https://www.w3.org/TR/did-core/#revision-history

  • Separation of DID Document metadata, such as created and updated values, from DID Document properties.
  • The removal of embedded proofs in the DID Document.

But still, the aries has those field in the Doc struct. I would like to ask if there is any plan to follow up the latest spec?

Expected result

  • The Created and Updated fields should be moved to the DocumentMetadata struct.
  • Instead of the Proof field (so called embedded proof), we should have any external proof mechanism. Unfortunately, it seems that there is no official mechanism defined yet: https://github.com/w3c-ccg/did-method-web/issues/20.

Actual result

TBD

Sample code / test case

TBD

youngjoon-lee avatar Feb 16 '23 06:02 youngjoon-lee