maidsafe-archive / safe_examples

examples showcasing various features of the SAFE Network
BSD 3-Clause "New" or "Revised" License
82 stars 50 forks source link

WHM 0.4.4 - does not encrypt the keys or values in _publicNames #373

Closed happybeing closed 6 years ago

happybeing commented 6 years ago

On a new alpha2 account I used WHM to create one public name with service 'www', and then upload files to it including some subdirectories which were uploaded individually.

Listing the entries in my _publicNames MD (see the listing below) I see they have not been enctyped, because my listing code prints both encrypted and decrypted versions if the decrypted value is NOT the same as the plain value.

This may mean that WHM will not understand properly formed (ie encrypted) _publicNames entries created by other apps, although I have not checked this.

safe:test listContainer(_publicNames)... +0ms
 safe:test _publicNames ----------- start ---------------- +1ms
 safe:test Key            :  +5ms _public/solidpoc5/root-www
 safe:test Value            : +1ms <a byte buffer value>
 safe:test Version:  +1ms 0
 safe:test Key            :  +1ms _public/solidpoc5/root-www/app
 safe:test Value            : +1ms <a byte buffer value>
 safe:test Version:  +1ms 0
 safe:test Key            :  +1ms _public/solidpoc5/root-www/js
 safe:test Value            : +1ms <a byte buffer value>
 safe:test Version:  +1ms 0
happybeing commented 6 years ago

Oops! It does... permissions issue with my code I think.