ssbc / ssb-ws

ssb-ws & http server for ssb
MIT License
10 stars 9 forks source link

support encrypted blobs #9

Closed dominictarr closed 6 years ago

dominictarr commented 6 years ago

this adds support for decrypting private blobs. I had originally wanted to do the decryption key inside the # fragment, because it's not actually sent to the server, but then my thinking for the whole websbot/lite client changed. I don't think we can do private groups (or any interesting private stuff) without having private indexes - necessitating a sbot server that is in the know... turns out, this also means private blobs become very easy to implement...

merging this: https://github.com/ssbc/ssb-markdown/pull/21 and possibly making the markdown renderer in your favorite ssb client more permissive and you will be able to render private blobs!

dominictarr commented 6 years ago

I think we shouldn't merge this right away, we should have a bit of discussion first...

dominictarr commented 6 years ago

hmm, maybe this should only be exposed over localhost?

dominictarr commented 6 years ago

merged into 2.1.0