20 KiB
title | excerpt | permalink | categories | tags | ||
---|---|---|---|---|---|---|
Secure Scuttlebot | a gossip protocol that synchronises messages via a vector clock of per-node timestamps or sequences. Dominic got this name from an amazon paper "Efficient Reconciliation and Flow Control for Anti-Entropy Protocols". This is the original scuttlebutt module which should now be known as "insecure scuttlebutt". | /decentralized-web/scuttlebot/ |
|
|
Scuttlebot.io Design Challenge: Avoid Centralization and Singletons
SecureScuttlebutt goes out of it's way to avoid both centralization and singletons.
Show Zero Knowledge, Ep Episode 81: P2P Messaging & Scuttlebutt with Dominic Tarr - Jun 12, 2019
In this week’s episode, we meet with Dominic Tarr, a protocol designer and security auditor at Least Authority who works on Scuttlebutt - a decentralized secure gossip platform. We discuss P2P messaging and the challenges of sending messages within a p2p network in a truly decentralised manner.
Announcing: SSB Rooms - news.ycombinator.com
Today I'm launching something I've been working on since May to help improve the Secure Scuttlebutt (SSB) ecosystem with a new type of server: SSB Rooms. As an alternative or complement to pub servers, rooms are servers intended as meeting places where peers come to discover others and establish network connections with each other.
Secure-scuttlebutt vs scuttlebutt vs scuttlebot vs sbot? - Explanation of terms, repos and project history
scuttlebutt: a gossip protocol that synchronises messages via a vector clock of per-node timestamps or sequences. Dominic got this name from an amazon paper "Efficient Reconciliation and Flow Control for Anti-Entropy Protocols". This is the original scuttlebutt module which should now be known as "insecure scuttlebutt". This repo is generally no longer used by the ssb community.
ssb-db: this is the database part of ssb. Previously this term referred to the protocol/database as a whole.
ssb-server: this repo adds networking behaviour to the database (secure-scuttlebutt).
sbot: short for scuttlebot, previously the CLI command name to control ssb-server. Now also named ssb-server.
Efficient Reconciliation and Flow Control for Anti-Entropy Protocols
The paper shows that anti-entropy protocols can process only a limited rate of updates, and proposes and evaluates a new state reconciliation mechanism as well as a flow control scheme for anti-entropy protocols.
Secure Scuttlebutt Consortium - GitHub Repos
Secure Scuttlebutt Consortium - A distributed and secure peer to peer social network
- somebodyshould - A repo of suggestions / issues / bugs / ideas / feedback for ssb
- .github Settings for the SSBC GitHub organization.
- scuttlebot.io - Source repo for https://scuttlebot.io
Info
- docs
Scuttlebot implemented by ssb-server: a p2p log store Secure Scuttlebutt implemented by ssb-db: a global database protocol Patchwork: a social messaging app built on ssb-server and ssb-db
- handbook.scuttlebutt.nz
ssb handbook: A guide to the Secure Scuttlebutt key concepts and influences (see also, new website: ssbc/scuttlebutt.nz)
- modules.scuttlebutt.nz - Documentation for the Scuttlebutt module ecosystem
This is an aggregation of commonly used scuttlebutt modules grouped for your convenience into several sections.
- ssb-spec-drafts - protocol specifications for Secure Scuttlebutt
SSB-Drafts are working documents of the Secure Scuttlebutt community. Note that other groups may also distribute working documents as SSB-Drafts.
SSB-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use SSB-Drafts as reference material or to cite them other than as "work in progress."
This wording aligns with the IRTF's document track for Internet-Drafts.
- scuttlebutt-protocol-guide - Protocol documentation for Secure Scuttlebutt
- [scuttlebutt-guide]https://github.com/ssbc/scuttlebutt-guide
Looking to learn how to build in Scuttlebutt? There's currently no canonical resource, but here's a map of the known archipelago!
Server
- ssb-server The gossip and replication server for Secure Scuttlebutt - a distributed social network
- ssb-minimal-pub-server - A minimal version of ssb-server aimed at pubs
- multiserver A single interface that can work with multiple protocols, and multiple transforms of those protocols (eg, security layer)
- ssb-config standard configuration for ssb
Client
- react-native-ssb-client-keys
- ssb-client - client library to scuttlebot
- ssb-hello-ws - simplest example to get a ssb-client working over websockets
- chocolatey-packages - Chocolatey packages for SSB clients
- scoop-bucket - A bucket for scoop package manager with app manifests for SSB clients.
Patchwork
- patchwork - A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).
- patchbay - An alternative Secure Scuttlebutt client interface that is fully compatible with Patchwork
- patchlite - [WIP] A browser lite client for the Scuttlebutt network
- patchgit - Add git-ssb related functionality to patchcore related apps
- patchbay-book - The patchbay part of scuttle-book, a book rating system
- patchcore - A shared library of depject modules to build Secure Scuttlebutt social network apps
- patchbay-gatherings
- ssb-markdown
patchwork's markdown parser
- patchbay-scry
- patchwork-threads - library of patchwork's thread data-structures
- patchwork-icons
- patchbay-thread
- patch-drafts
Schema
- ssb-gathering-schema
- ssb-invite-schema - schema for scuttle-invite message types
- ssb-audio-schema
- ssb-thread-schema
- ssb-schema-definitions - Standardised schema definitions for ssb message types using is-my-json-valid
- ssb-contact-schema
- ssb-schema-validation
Build a set of validators using JSON schema with multiple schema versions
Crypto
- ssb-keys - keyfile operations for ssb
- ssb-caps - The default "Caps" keys for accessing the SSB protocol using secret handshake
- box2-spec
This is a spec for encrypting messages to groups of people. Initially it will support communication for large groups which share a public key (secret key cryptography / symmetric keys), but it has also been designed to support forward-secure secret-key cryptography (a little like Signal's double-ratchet).
- ssb-ephemeral-keys - Methods for encrypting messages with ephemeral keys over Secure Scuttlebutt
- secret-stack - connect peers to each other using secret-handshakes
- ssb-secret-blob - encrypted blobs over ssb protocol
- private-box2 - new message encryption for ssb
MuxRPC
- muxrpc - lightweight multiplexed rpc
- muxrpc-validation- Forked from pfrazee/muxrpc-validation Validation library for muxrpc apis
- ssb-plugins
ssb-plugins is a plugin that provides additional plugin related functionality to a secret-stack instance.
Without ssb-plugins, plugins can only be loaded explicitly by an ssb-server with the .use() method.
Generally speaking, this plugin provides the abilility for plugins to be loaded and run as a separate process, with communication over muxrpc.
- muxrpcli - command-line interface to muxrpc servers
muxrpc aims to provide remote access to any reasonable node.js api remotely. this means it supports both streaming and async operations. pull-streams are used.
It may seem at first that it would be logically cleaner to separate this into two concerns, multiplexing and request-response. Indeed, we did just that in multilevel combining mux-demux and rpc-stream however, I realized that multiplexing depends on adding framing to incoming messages, and so does rpc. If rpc is implemented as another layer on top of multiplexing, then the rpc messages end up with a second layer of framing too. By implementing one protocol that supports both streams and rpc, we were able to have both features with only a single layer of framing.
Plugins
- ssb-search fulltext search as scuttlebot plugin
- ssb-links ssb-plugin that indexes all the links!
- ssb-backlinks scuttlebot plugin for indexing all link mentions of messages
- ssb-identities manage multiple identities as sbot plugin
- ssb-serve-blobs
Sbot plugin to serve blobs from a local http server
- ssb-threads
Scuttlebot plugin for fetching messages as threads announce a public address for yourself
- ssb-about scuttlebot plugin for getting reduced 'about' state
- ssb-social-index scuttlebutt plugin for getting reduced state based on the author's social graph
- gitbook-plugin-ssb GitBook plugin for Secure Scuttlebutt markdown formatting
- ssb-private scuttlebot plugin for indexed private messages
Invites
- ssb-peer-invites
A new ssb invite system to create invites without having a pub
- ssb-invite - "followbot" style invite codes for ssb
- scuttle-invite-db - fluemview-reduce of invites and replies for scuttle invite
- scuttle-invite - polymorphic invite and reply logic for secure scuttlebutt
- ssb-invite-schema - schema for scuttle-invite message types
Testing
- scuttle-testbot
- compatibility tool to run tests of your dependencies, to check they are compatible
- ssb-integration-tests integration-tests for sbot
- ssb-testing-guide
This is the start of a collection of patterns we've found useful for doing testing in the Scuttlebutt ecosystem
Assorted
- ssb-bin - ssb cli commands
- ssb-first-aid-kit - A user-friendly app for diagnosing and fixing problems with your Scuttlebutt installation
- ssb-msgs - message-processing for ssb
- ssb-validate - better ssb validator
- scuttle-shell - A system tray app for running Secure Scuttlebutt and providing sbot features to your local system
- ssb-local
- ssb-suggest
- layered-graph
- ssb-db A database of unforgeable append-only feeds, optimized for efficient replication for peer to peer protocols
- ssb-backup-tool - A backup tool for the Scuttleverse
- ssb-ebt
secure scuttlebutt replication with epidemic-broadcast-trees
- ssb-blob-files
Channel a bunch of files from a dom event into the blob store. Get some tweaks and checks made along the way.
- ssb-ooo - retrive ssb messages Out Of Order
- multiblob - A content-addressable-store that supports multiple hashing algorithms, and pull-streams
- ssb-ahoy - An onboarding mini-app - gets you all set up, and caught up on the gossip before you set out on your adventure
- react-native-ssb-shims - Node.js-related shims necessary for the SSB ecosystem to run on React Native apps
- ssb-mentions - extract the mentions in a ssb message, just using the markdown.
- ssb-replicate - ssb legacy replication, previously built into ssb-server
- ssbc-sitegen - Tool to generate the GH pages for ssbc repos
- ssb-friend-pub
- ssb-unread
- ssb-blobs - blob gossiping ssb-subprotocol
- ssb-lists
This implements block/follow lists. (the main use-case was block lists) but a system that could both block and follow was not more complicated.
- ssb-tangle
- ssb-friends the logic around who to replicate or not
- two.camp.scuttlebutt.nz
- ssb-ref check if a string is a valid ssb-reference
- ssb-gossip Schedule connections randomly with a peerlist constructed from config, multicast UDP announcements, feed announcements, and API-calls
- ssb-contact-msg
- ssb-ws - ssb-ws & http server for ssb
- multiserver-scopes
- ssb-tunnel create a p2p link tunneled through a pub server
- bench-ssb benchmarks for all the parts of ssb
- chloride- Forked from dominictarr/chloride
- ssb-query
- ssb-device-address
- village-tracker village-tracker community volunteer coordination project
- ssb-master
- noto-color-emoji
- open-dyslexic- Forked from antijingoist/open-dyslexic - What I intend to be an opensource font for dyslexics and for high readability
- ssbc-owners - set org owners as npm owners
- scuttle-thread
- ssb-incoming-guard
- ssb-graphviz - visualize your ssb network graph
- scuttlebutt-mars-workshop
- scuttle-tag- Forked from wittjosiah/scuttle-tag
- scuttle-poll gathering
- scuttle-inject
- scuttle-gathering
- scuttle-blog
- scuttle-blob
- pull-next-query
- paulcbetts-spellchecker-prebuilt- Forked from anaisbetts/node-spellchecker
- Forked from @paulcbetts/spellchecker to add automated prebuilds
- opencollective_page
- nicedate nicely formatted dates since 7d ago
- marked- Forked from clehner/marked A markdown parser and compiler. This fork adds SSB-specific features, such as mentions and emojis.
- keyboard-layout-prebuilt- Forked from atom/keyboard-layout Fork of keyboard-layout that adds automated prebuilds
- grants-process grants-process
- forked-systray/systrayhelper - Forked from zaaack/systray-portable - A portable version of go systray, using stdin/stdout to communicate with other language
- emoji-server emoji middleware/server
- ssb-viewer
- ssb-sort
- ssb-names
- packet-stream
- ssb-webexthost
- ssb-typescript - Contains type definitions for common SSB concepts
- multiserver-address
- level-sublevel- Forked from dominictarr/level-sublevel - no longer maintained, sorry!
- packet-stream-codec