Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SinisterLight opened this issue Nov 2, 2023 · 0 comments
Open

Comments

@SinisterLight
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant