threefoldtech / rfs

A fuse filesystem in rust
Apache License 2.0
1 stars 1 forks source link

passwords are in the route url #32

Closed muhamadazmy closed 10 months ago

muhamadazmy commented 11 months ago

normally, when doing a pack command to upload and create an fl, a store url is provided but of course during the creation a password is needed to be able to write to this store. A store like zdb usually support a public namespace which means writing requires a password but reading is open to public with no password.

Right now the url used to store is stored in the fl and then shipped. we need to provide an option so the password is stripped from the url before it's stored in the fl

we can introduce --strip-password flag that is is optional to pack command that makes sure passowrds are dropped from the urls before. then the unpack and the mount can work with the the url that has no password which makes them read-only