Live data from Hacker News

Scuttlebot: Peer-to-peer database, identity provider, and messaging system

scuttlebot.io

51–60 of 123 posts

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#51
post #48

Uh, for something touting e2e encryption and security it would be better if the site did not serve over plain http by default

https adds nothing to a page when the only trafic is server -> client

Of course it does, HTTP is never only server -> client - from preventing a passive eavesdropper from seeing what pages are being browsed on the server, cookies, UA fingerprinting etc. to active content modification in transit.

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#52
post #31

Scuttlebutt is a neat concept, burdened by a bad protocol. Signing a message involves serializing a json object, signing it, adding the signature as a field on that json object, and then serializing it again. To verify, you deserialize the message into an object, remove the signature field, and then reserialize it, and verify the signature against that new serialization. This means that all the clients have to have a…

Any signing done over structured data has this problem. You always need a canonical representation.

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#53

Huge fan of Scuttlebutt and think it could (should) be the future of the social internet. I recently quit my job to write about and work on decentralized tech full time with scuttlebutt being my primary focus. I've written about why I think it's so important here: https://adecentralizedworld.com/2020/03/what-is-scuttlebutt/

> Decentralized social networks have been tried before, the two most well known are Diaspora and Mastadon. With these services there [is still moderation]... Scuttlebutt is how I believe the social web should function in the future. Even the Hackernews community which lean towards decentralization more so than the general public would still argue there is value in moderation.

Decentralized doesn't mean unmoderated. Since it is decentralized there is no "global feed" and there is a lot of great discussion about moderation tools and processes on secure-scuttlebutt. Particularly, check the section of follow-graph: https://ssbc.github.io/scuttlebutt-protocol-guide/#follow-gr...

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#54
post #31

Scuttlebutt is a neat concept, burdened by a bad protocol. Signing a message involves serializing a json object, signing it, adding the signature as a field on that json object, and then serializing it again. To verify, you deserialize the message into an object, remove the signature field, and then reserialize it, and verify the signature against that new serialization. This means that all the clients have to have a…

Any signing done over structured data has this problem. You always need a canonical representation.

could it use a HTTPHeader style system instead to avoid the json serializing back and forth?

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#55
post #43
post #31

Scuttlebutt is a neat concept, burdened by a bad protocol. Signing a message involves serializing a json object, signing it, adding the signature as a field on that json object, and then serializing it again. To verify, you deserialize the message into an object, remove the signature field, and then reserialize it, and verify the signature against that new serialization. This means that all the clients have to have a…

When I was faced with this (signing a structure), I serialized the json into base64, then put that base64 string as a value (along with the MAC) into a new json document. It of course increases deserialization overhead (json, verify, unbase64, inner json) but sidesteps this issue. I thought about sorting keys and other things like that, and the dozen edge cases and potential malleability issues dissuaded me for the c…

Binary protocols. Or out-of-band signing.

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#56
post #31

Scuttlebutt is a neat concept, burdened by a bad protocol. Signing a message involves serializing a json object, signing it, adding the signature as a field on that json object, and then serializing it again. To verify, you deserialize the message into an object, remove the signature field, and then reserialize it, and verify the signature against that new serialization. This means that all the clients have to have a…

Once someone has written a library to do this correctly in Go/Rust/Whatever isn't this problem solved? Everyone building scuttlebutt apps with that language can use that library. It didn't seem like this protocol is changing.

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#57

Earlier quoted context omitted.

Any signing done over structured data has this problem. You always need a canonical representation.

could it use a HTTPHeader style system instead to avoid the json serializing back and forth?

Just serialize, sign, pack the signature and the raw bytes of the serialization. Doesn't matter how, just gotta pack the raw bytes, not futz with it

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#58
post #48

Earlier quoted context omitted.

https adds nothing to a page when the only trafic is server -> client

Of course it does, HTTP is never only server -> client - from preventing a passive eavesdropper from seeing what pages are being browsed on the server, cookies, UA fingerprinting etc. to active content modification in transit.

Pages are still visable in the tls handshake, no coockies on this page (that would be client-> server traffic). But yeah, good point about the fingerprinting and content modification

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#59

I've used patchwork before, but can someone comment on the other applications of the scuttlebut network and where this scuttlebot fits in?

Yes, there is a decentralized git: https://git.scuttlebot.io/%25n92DiQh7ietE%2BR%2BX%2FI403LQoy...

A decentralized book review system and a decentralized chess.

Re: Scuttlebot: Peer-to-peer database, identity provider, and messaging system

#60
post #58

Earlier quoted context omitted.

Of course it does, HTTP is never only server -> client - from preventing a passive eavesdropper from seeing what pages are being browsed on the server, cookies, UA fingerprinting etc. to active content modification in transit.

Pages are still visable in the tls handshake, no coockies on this page (that would be client-> server traffic). But yeah, good point about the fingerprinting and content modification

No, they aren't - just the hostname (domain name).
Post reply on HN