Skip to content

nalysius/textsecure

This branch is 56 commits behind signal-golang/textsecure:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

53684eb · Mar 1, 2022
Jul 27, 2021
Jan 20, 2022
Feb 11, 2022
Jun 15, 2021
Feb 21, 2022
Oct 2, 2021
Feb 20, 2022
Feb 26, 2021
Mar 8, 2020
Dec 31, 2021
Jan 27, 2021
Jan 3, 2022
Sep 3, 2021
Feb 21, 2022
Dec 31, 2021
Nov 7, 2021
Jan 14, 2021
Nov 7, 2021
Jan 3, 2022
Sep 3, 2021
Dec 31, 2021
Mar 3, 2021
Nov 7, 2021
Dec 19, 2014
Feb 20, 2022
Sep 3, 2021
Mar 1, 2022
Sep 3, 2021
Dec 19, 2014
Aug 29, 2019
Feb 20, 2022
Feb 20, 2022
Jan 3, 2022
Nov 20, 2021
Feb 21, 2021
Feb 21, 2021
Sep 3, 2021
Dec 31, 2021
Sep 15, 2021
Feb 25, 2022
Dec 3, 2021
Sep 3, 2021
Feb 11, 2022
Jan 27, 2022

Repository files navigation

TextSecure library and command line test client for Go

This is a Go package implementing the TextSecure push data (i.e. not encrypted SMS) protocol v3 including the Axolotl ratchet.

The included sample command line app can send and receive text messages and attachments and supports group chat.

The API presented by the package is in flux, mainly driven by the needs of https://github.com/nanu-c/axolotl

Automatically generated documentation can be found on GoDoc

Installation

This command will install both the library and the test client.

go get github.com/signal-golang/textsecure/cmd/textsecure

textsecure also depends on crayfish which is a Go library for interacting with the upstream libsignal-client library. It's currently used for registration and decryption of messages. libzkgroup is used for the groupv2 protocol and is add by [this go wrapper] (https://github.com/nanu-c/zkgroup). It has to be added to the LD_LIBRARY_PATH environment variable. Crayfish is built with cago build and has to be placed next to the textsecure binary.

Configuration

Copy cmd/textsecure/.config to a directory and modify it, then run the tool from that directory. It will create .storage to hold all the protocol state. Removing that dir and running the tool again will trigger a reregistration with the server.

Usage

Do not run multiple instances of the app from the same directory, it (and the server) can get confused

This will show the supported command line flags

textsecure -h

Running the command without arguments will put it in receiving mode, and once it receives a message it will be able to talk to that contact.

Discussions

User and developer discussions happen on the mailing list

About

TextSecure(signal) client package for Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.3%
  • Makefile 0.7%