mirror of ssb://%133ulDgs/oC1DXjoK04vDFy6DgVBB/Zok15YJmuhD5Q=.sha256 (via git.scuttlebot.io)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cel c183d6074d
Allow specifying full private key
5 years ago
.gitignore Add gitignore 7 years ago
Makefile Add static linking option 5 years ago
README.md Note there is no server/start subcommand 5 years ago
base64.c Hash added blob 8 years ago
base64.h Hash added blob 8 years ago
jsmn.c Fix warnings and bugs 8 years ago
jsmn.h Initial commit 8 years ago
sbotc.1 Allow specifying full private key 5 years ago
sbotc.c Allow specifying full private key 5 years ago
test-shs-inner.sh Test client handshake with shs1-testsuite 8 years ago

README.md

sbotc

A command-line SSB client in C. Use like the sbot command (except for server/start).

Install

Install the dependency, sodium. On Debian: sudo apt-get install libsodium-dev

Compile and install the program:

make
sudo make install

Compile options

To build a binary statically linked with libsodium, use make STATIC=1

Usage

sbotc [-j] [-T] [-l] [-r] [-e]
      [ -n | [-c <cap>] [-k <key>] [-K <keypair_seed>] ]
      [ [-s <host>] [-p <port>] [ -4 | -6 ] | [-u <socket_path>] ]
      [ -a | [-t <type>] <method> [<argument>...] ]

Arguments must be explicitly JSON-encoded.

For more information, see the manual page sbotc(1).