TBD54566975 / dap-registry-static

1 stars 2 forks source link

using register generates an invalid file in daps #9

Open aparkersquare opened 4 months ago

aparkersquare commented 4 months ago

Generated file does not have the did, and the proof fields are generated at the top-level.

This was generated for thejoker

{
  "id": "reg_01j16qe18yf10a1153kp9446bb",
  "handle": "thejoker",
  "did": "did:web:didpay.me:thejoker",
  "domain": "didpay.me",
  "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6ZGlkcGF5Lm1lOnRoZWpva2VyIzAifQ..E3p0Z3c37aUI-l_ZNU79bGDDl3V-TRhho-8ivxk7_bFlY90nOFXjtekVMGiDNhWONgIS6d-UmzLbNzjvfF3GCg"
}

Compared to moegrammer

{
  "did": "did:web:didpay.me:moegrammer",
  "proof": {
    "id": "reg_01j13n944betnsesdve4ewc9c7",
    "handle": "moegrammer",
    "did": "did:web:didpay.me:moegrammer",
    "domain": "didpay.me",
    "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6ZGlkcGF5Lm1lOm1vZWdyYW1tZXIjMCJ9..jD38MMEGR4q9mtupJZ_kNEI3RoqKhhBh3fpdkRUskhLIm0Mr3-5Egm0XflSxkFxyby3Mq8DhL71QImojWJQZCw"
  }
}