Getting started clarification: Minimum required Tor version? #177

Closed
opened 2018-12-06 14:20:23 +00:00 by Wheest · 3 comments

Awright folks,

Trying to get a sense of how the system implementation runs, however having some issues. Trying to follow established docs.

Running in a GNU/Linux environment.

As per the instruction below "Get cwtch" at cwtch.im.

I run the tor daemon (a system I'm pretty unfamiliar with) with the following configuration:

tor --SocksPort 9050 --ControlPort 9051

I'm using the LTS version 0.2.9.16-1.

I then run from cwtch root:

go run app/cli/main.go

Which returns the following error message

2018/12/06 14:03:43 cli/main.go [ERR ]
Error connecting to Tor: Could not connect to or start Tor that met requirments

(To nitpick, "requirments" is a typo, but I couldn't grep where the message was coming from.)

Is there something I'm missing here? Is there a minimum version of Tor that cwtch needs?

This issue, and related suggests that maybe this is the case, can anyone clarify before I start playing around with non-debian sources.

Awright folks, Trying to get a sense of how the system implementation runs, however having some issues. Trying to follow established docs. Running in a GNU/Linux environment. As per the instruction below "Get cwtch" at [cwtch.im](cwtch.im). I run the tor daemon (a system I'm pretty unfamiliar with) with the following configuration: ``` tor --SocksPort 9050 --ControlPort 9051 ``` I'm using the LTS [version 0.2.9.16-1](https://packages.debian.org/stretch/tor). I then run from cwtch root: ``` go run app/cli/main.go ``` Which returns the following error message ``` 2018/12/06 14:03:43 cli/main.go [ERR ] Error connecting to Tor: Could not connect to or start Tor that met requirments ``` (To nitpick, "requirments" is a typo, but I couldn't grep where the message was coming from.) Is there something I'm missing here? Is there a minimum version of Tor that cwtch needs? [This issue](https://git.openprivacy.ca/cwtch.im/cwtch/issues/132), and related suggests that maybe this is the case, can anyone clarify before I start playing around with non-debian sources.
Owner

Ah, thanks! yes, so, we currently require tor 0.3.5.* which is still in alpha and has no official binary release -_-;

You could grab the source and build it yourself, or use our buildfiles copy

https://git.openprivacy.ca/openprivacy/buildfiles/src/master/tor

As we get closer to a more official release we'll be bundling tor with released binaries, like most other tor using apps (tor browser, etc)

But I can clean up that error to make it more specific about the version too, thanks!

Ah, thanks! yes, so, we currently require tor 0.3.5.* which is still in alpha and has no official binary release -_-; You could grab the source and build it yourself, or use our buildfiles copy https://git.openprivacy.ca/openprivacy/buildfiles/src/master/tor As we get closer to a more official release we'll be bundling tor with released binaries, like most other tor using apps (tor browser, etc) But I can clean up that error to make it more specific about the version too, thanks!
Author

My thanks!

First time getting the cli-client running, that autocomplete dropdown is very fancy :3.

I'll make seperate issues if I encounter further problems as a newbie who does intimately know the codebase or toolchain.

A quick thing here though: when trying to build the Docker image on an arm7l machine the build fails when trying

RUN apk --no-cache add --update \
    zstd \
    zstd-dev

Fails with

Step 9/22 : RUN apk --no-cache add --update     zstd     zstd-dev
 ---> Running in 4d15d6a278b1
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/armhf/APKINDEX.tar.gz
`fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/armhf/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  zstd (missing):
    required by: world[zstd]
  zstd-dev (missing):
    required by: world[zstd-dev]

Runs fine on amd64.

Possibly an issue with the version that the Alpine package manager has, but am unsure.

My thanks! First time getting the cli-client running, that autocomplete dropdown is very fancy :3. I'll make seperate issues if I encounter further problems as a newbie who does intimately know the codebase or toolchain. A quick thing here though: when trying to build the Docker image on an arm7l machine the build fails when trying ``` RUN apk --no-cache add --update \ zstd \ zstd-dev ``` Fails with ``` Step 9/22 : RUN apk --no-cache add --update zstd zstd-dev ---> Running in 4d15d6a278b1 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/armhf/APKINDEX.tar.gz `fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/armhf/APKINDEX.tar.gz ERROR: unsatisfiable constraints: zstd (missing): required by: world[zstd] zstd-dev (missing): required by: world[zstd-dev] ``` Runs fine on amd64. Possibly an issue with the version that the Alpine package manager has, but am unsure.
Owner

I think for now we'll have to mark the docker file x86 only. building tor on arm is a bit more tricky. we've only attempted it with some tooling from Briar and the tor-android build scripts

I think for now we'll have to mark the docker file x86 only. building tor on arm is a bit more tricky. we've only attempted it with some tooling from Briar and the tor-android build scripts
dan closed this issue 2019-02-19 20:25:23 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch#177
No description provided.