cel
337cc5970b
Merge remote-tracking branch 'origin/listen' into master
5 years ago
cel
a29ae31525
Use libsodium base64
5 years ago
cel
52ec6488b4
Portability: Don't pack struct
5 years ago
cel
14900624cc
Add listen mode
...
Close %ejwI9899mEhcIezmWQUKrubKHEfNaFpkmVVG6xOpUsY=.sha256
5 years ago
cel
cfb1d40d73
Update option conflict note
5 years ago
cel
62c66724c1
Improve box-stream passthrough goodbye
5 years ago
cel
c183d6074d
Allow specifying full private key
5 years ago
cel
e1e1c56a06
Fix strncmp argument
6 years ago
cel
37666be2d3
Connect to local interfaces for localhost
...
If connecting to localhost fails, try connecting to all local addresses.
This works around ssb-server binding to a local address and not a loopback address.
6 years ago
cel
7c6272311b
End duplex stream when output ends
6 years ago
cel
1412c8b5f9
Add -e option for encoding arguments as strings
6 years ago
cel
1938337af3
Reset terminal atexit
...
Reset it when exiting from warn/err, not just when exiting cleanly.
6 years ago
cel
077a9ec331
Make -r imply -l
...
Raw mode with newline insertion doesn't make sense
6 years ago
cel
e537c0ffb1
Handle termios errno
6 years ago
cel
7cf62ba3e7
Send goodbye packet before closing stream
...
Sending it after sending the substream end could incorrectly abort the
substream.
6 years ago
cel
bb26631cfb
Add -r raw input mode
6 years ago
cel
d8bc88f901
Add -l no newline mode
6 years ago
cel
ebc79b13c5
Send packet-stream goodbye
...
This helps some streams to close.
6 years ago
cel
25b777fa9d
Add -a passthrough option
7 years ago
cel
217595e9b8
Write box-stream end packet before closing stream
...
This allows the server to know that the client authenticated the close.
7 years ago
cel
0eccbd66c5
Add -4, -6 options (IPv4/IPv6)
7 years ago
cel
0a1eafebf9
Auto-detect local noauth socket
...
Attempt to connect to local noauth socket, unless TCP or SHS options are specified.
Fall back to TCP+SHS connection, unless noauth option is specified.
7 years ago
cel
dd8aa406f3
Set infd and outfd for unix socket
7 years ago
cel
3bce0a39a6
Clarify argument groups
7 years ago
cel
f60b29a13e
Add -u socket_path option
7 years ago
cel
f1d756582e
Add -n noauth mode
7 years ago
cel
999198a8aa
Use key property from config
7 years ago
cel
df1832ee97
Clarify cap option is -c
7 years ago
cel
fd953a1e72
Add -K keypair_seed option
...
This can be used with a keypair seed from a scuttlebot invite code.
8 years ago
cel
da560021c0
Fix warnings and bugs
8 years ago
cel
73b7d7e544
Test client handshake with shs1-testsuite
8 years ago
cel
83e0bb8cd1
Use sodium function to generate curve25519 keypair
8 years ago
cel
b6bf05e83b
Hash added blob
8 years ago
cel
ded10ff597
Make shs cap key configurable
8 years ago
cel
3b557d1cef
Add -j flag for JSON input.
...
This allows for communicating with methods that expect JSON input,
such as ebt.replicate.
8 years ago
cel
24b81f6048
Handle bigger arguments to muxrpc method calls
8 years ago
cel
228553636e
Fix auth ed25519 secret key array size
8 years ago
cel
6ec60a4d4a
Handle unknown options
...
%eZDamLh9XzfWLYlzhmOgMLREL5CPXGLN6F2xp1pMLZE=.sha256
%wCPUw0EpbIQecIxaFSvVZeKhu5qg6WN1o1qk4SayPmk=.sha256
8 years ago
cel
0462f4b3f8
Don't output null byte
...
%Ck6BN5nMnD5izHrm6vhkjOVuFrWbs0DY3HqDsheAlH0=.sha256
8 years ago
cel
beb573d6ef
Initial commit
8 years ago