Skip to content

Private file Sharing workflow appears to be broken with v0.37 #575

Description

@SinisterLight

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions