News for hackers. Stuff that matters.
Re:Patchwork – Decentralized messaging and sharing app built... by Rhapso on Wednesday January 31, 2018 @09:18AM (#16273965)
Are there plans to implement the ssb protocol in a language other than JS?
Re:Patchwork – Decentralized messaging and sharing app built... by _pferreir_ on Wednesday January 31, 2018 @10:35AM (#16274619)
I actually started working on a Python implementation last year. I have a fully working implementation of the Secret Handshake protocol:

https://github.com/pferreir/pysecrethandshake

I've also implemented packet-stream on top of it (and intend to produce a proof of concept client at some point):

https://github.com/pferreir/pyssb

My time got diverted into other things, but if someone wants to help out, feel free to contact me on SSB (ub|k) or Twitter (@pferreir).

Re:Patchwork – Decentralized messaging and sharing app built... by happynaut on Wednesday January 31, 2018 @09:28AM (#16274047)
There's someone working on a rust implementation at the moment. I can't find a link to the repository just now, but there's plenty of threads on it if you search 'rust' at the top right of patchwork (after installing and adding a pub.)

I'll find the repo and reply to this thread when I'm home later :)

There were some previous efforts towards a Go implementation, but I'm not sure how far along they got: https://github.com/maackle/ssb-igo

By the way, there's some beautiful protocol docs for scuttlebutt here: https://ssbc.github.io/scuttlebutt-protocol-guide/ =]

Re:Patchwork – Decentralized messaging and sharing app built... by hardfire on Wednesday January 31, 2018 @12:14PM (#16275438)
just noticed that the go implementation you linked to [https://github.com/maackle/ssb-igo] is actually "the game of Go on ssb"
Re:Patchwork – Decentralized messaging and sharing app built... by happynaut on Wednesday January 31, 2018 @12:44PM (#16275739)
Haha, woops! I meant https://github.com/andyleap/go-ssb

I guess it was muscle memory since I was looking at the ssb-igo repo earlier.

Re:Patchwork – Decentralized messaging and sharing app built... by maackle on Wednesday January 31, 2018 @06:14PM (#16278429)
A great game, a programming language, and the 49th most common word in the English language walk into a bar...
Re:Patchwork – Decentralized messaging and sharing app built... by Rhapso on Wednesday January 31, 2018 @12:48PM (#16275781)
Thanks, I really like the core ideas of ssb but the nodejs implementation and lack of a security review give me a lot of professional reservations. I'm inclined to fork and use a more off the shelf method of securing p2p connections. The practice of binding a "secure" web-server to localhost is also a bit [dubious](https://security.stackexchange.com/questions/86773/how-secur...).
Re:Patchwork – Decentralized messaging and sharing app built... by happynaut on Wednesday January 31, 2018 @05:53PM (#16278301)
What's your reservations about it being implemented in nodejs? It's not my favourite technology stack either (I much prefer scala / haskell), but it hasn't deterred me from using it or contributing to the project.

I wonder if a security review is something that can be funded through the open collective that is being set up (https://opencollective.com/secure-scuttlebutt-consortium ) or some other funding source.

By the way, the repositories that I mentioned earlier for the Rust implementation of the protocol in progress are mostly here:

https://github.com/AljoschaMeyer?tab=repositories

Re:Patchwork – Decentralized messaging and sharing app built... by Rhapso on Thursday February 01, 2018 @02:53PM (#16285256)
I have issues with js as a language but those are not security issues. My security-related issues are with the nodejs package infrastructure.

https://www.csoonline.com/article/3214624/security/malicious... The sprawling dependencies alongside potential security/breaking issues are huge. It is a large and vulnerable attack surface.

Re:Patchwork – Decentralized messaging and sharing app built... by happynaut on Saturday February 03, 2018 @11:44AM (#16298285)
Fair play!
Re:Patchwork – Decentralized messaging and sharing app built... by whimful on Wednesday January 31, 2018 @01:00PM (#16275898)
Some of the code you might be interested is _in_ scuttlebutt, as in there's a git implementation that lives in this p2p database / network. It's called git-ssb, and it has a github like interface.

https://github.com/clehner/git-ssb Here's a window into this p2p land : https://git.scuttlebot.io/ go gentle on it, it's a little server

Welcome to the cloud proper

Re:Patchwork – Decentralized messaging and sharing app built... by masukomi on Wednesday January 31, 2018 @07:26PM (#16278806)
there's also hosting of node modules over ssb :)
Re:Patchwork – Decentralized messaging and sharing app built... by masukomi on Wednesday January 31, 2018 @07:08PM (#16278725)
in addition to the already mentioned Rust implementation that's currently being worked on, i believe someone has already gotten some of the core functionality working in Red http://www.red-lang.org/