Command-line app in qt5 for TextSecure.
Mainly a project by Batrachian Excellence. Help was got on IRC's #qt, from the emissaries of event-based programming, dark hacks, and certain psychoactive toads. They might not describe themselves as such. This is ok.
You may question why such a thing should exist, or even the sanity of whoever undertakes such an enterprise. The reason is, that the Jolla smartphone does not have a native app for TextSecure. BatrachSecure therefore exists to provide an API client that can be later used in other projects, like a smartphone app.
Someone involved in the project was a huge fan of a certain Whatsapp client, until it was banned. That sparked the inspiration to start the work on this.
Few people would use BatrachSecure, or anything else on the CLI directly, but those who have used it have never been the same. Nor have they been able to do so yet, as the app is far from complete. Yet you know who you are.
Set up a server or docker to test against.
For your server, consider @janimo's fork
as it provides the dev
registration mode. Once you have seen it in the wild,
your perception of registration will be altered for the rest of your life.
Clone libcurve25519 and libaxolotl onto the same level as this code and compile them in that order.
Then clone and compile libtextsecure-qt5
The easy way is to use client.sh
, whose first-born parameter is the number of the client
among a multitude of parallell test client configurations.
$ ./client.sh 1 --number +358501234568 --confirm-verification-code 352-608
The hard way simply involves quite some typing.
$ LD_LIBRARY_PATH=../libcurve25519/:../libaxolotl-qt5/:../libtextsecure-qt5/:$LD_LIBRARY_PATH \
./BtxSecure http://localhost:8080 --get-verification-code --transport dev \
--number +358501234567; echo
Everything except receiving a verification code on your phone. As the frogs willed it, that code is available.
iä ribitt