-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Summary
I was able to generate shareDetails on User A using sharePrivate, but when I try to acceptShare on User B, nothing really happens
also, as per documentation I am also not able to see any new directories named Shared or Shared with me being created in the root path for either userA or B respectively.
Problem
When I call sharePrivate with shareWith value as username string nothing happens, but when I call it with shareWith value as the rootDID of the recepient then the sharedetails get created fine
when I try to call acceptShare with sender rootdid instead of username it fails as it does a dns query and just accepts username for dns lookup
GET https://cloudflare-dns.com/dns-query?name=_did.did:key:z13V3Sog2YaUKhdGCmgx9UZuW1o1ShFJYc6DvGYe7NTt689NoL2N3ZyqhGr4EbTAaMKAQzCJUBSwJWW5aWcfchLibTS6fWJ5RQsbav8Fnv62BQ3VGhrWEdZ5s6cBSoSLhSgNRJ3JbQ1rxLL7dru978xF9PjkKVzfx4BpV7Td5GoFbbJQtcCvfuHuwBdiH6fyyiYTAfnd95Qv2Cig9kn9noXppS5j29D58B1ZaPjXUbZLWpHo8TY3gBfRp65k7PT4XvNZVA2r9JJNw2dZ99kubL7S336m1CtrSeZyZTyWBg8QgH1yj5uzVH1Y8axaRHXa1QupwKoGJLfAHAFwEqMZb97N1skJzWwkY6rjhUYN95nRjvrPt9WEGxcszG8wCyZce1wUiZXDrmLZuF9YjbjnDQt.fission.name&type=txt
Uncaught Error: Could not locate user DID in DNS.
same is the case with loadShare it also only works with username and just returns a promise which isn't resolving ever