bunsenbrowser / bunsen

🔥 Bunsen Browser provides easy to use offline P2P application and file distribution that is verifiable on Android devices. https://bunsenbrowser.github.io/
117 stars 7 forks source link

DatArchiveInfo.isOwner should be true for archives you DatArchive.create() #73

Closed rjcorwin closed 5 years ago

rjcorwin commented 5 years ago

Running the tests, for an archive that you create, you should be the owner. This is how an app knows whether or not it can write to an Archive.

screen shot 2018-11-26 at 6 11 45 am
chrisekelley commented 5 years ago

So - I was assuming that getInfo was a function similar to readFile, where you don't necessarily need to use the secret_keys. But you've identified that getInfo needs to access them in order to populateisOwner correctly (and not have it simply be false). Thanks!