Patchwork Dev Diary # 2
Here is the dev diary for my April 2018 grant #ssbc-grants
Patchwork Development April/May 2018
My previous dev diary can be found here: %DxQpzCl...
2018-04-13
I spent a lot of today working on adding full secret blob support to patchwork private messages.
Originally this stuff was just hacked in but I decided to try keep some consistency and made a PR to update ssb-ref to be able to handle secret blobs. I also added a parseBlob
method that gives you the id and the key. This also needed a PR on ssb-mentions as it didn't know how to handle the key field.
So from the next release, all blobs added to private messages will actually be encrypted (right now, the message is encrypted, but the blobs themselves can be read if someone browses their blobs folder).
Also (inspired by this issue), I spent some time experimenting with embedding audio and video directly into the markdown posts. Experimental support is on the latest master and will probably be in the next version!
The screenshot above is a twofa' -- that is, it's encrypted and embedded audio/video in a private message thread.
The embedding is super basic right now, but it's a great start I think! It depends on getting a PR to ssb-markdown accepted.