-
Notifications
You must be signed in to change notification settings - Fork 156
Description
On LInux everything as documented works as expected. Hats off!
On windows 8.1 on the other hand. These work:
CIRCUIT_HMAC="C:\dev\msys64\home\Workstation\circuittests.hmac" CIRCUIT="C:\dev\msys64\home\Workstation\circuittests.circuit" circuit start -a 192.168.1.3:7777
circuit ls -d circuit://192.168.1.3:7777/2236/Q1753601169a58798 -hmac "C:\dev\msys64\home\Workstation\circuittests.hmac" /...
But environment variable usage as suggested in the documentation doesn't from within an msys2 shell. It just hangs:
export CIRCUIT_HMAC="C:\dev\msys64\home\Workstation\circuittests.hmac"
export CIRCUIT="C:\dev\msys64\home\Workstation\circuittests.circuit"
circuit ls
FYI
This works but necessitates passing the files on the command line.
circuit start -a 192.168.1.3:7777 -hmac "C:\dev\msys64\home\Workstation\circuittests.hmac"
CIRCUIT 2015 gocircuit.org
2016/02/18 16:58:56 Using symmetric HMAC authentication and RC4 encryption.
circuit://192.168.1.3:7777/6304/Q77eae8d775184dfe
2016/02/18 16:58:56 Attaching /Xff6f649cfbf68200 as server
2016/02/18 16:58:56 Using UDP multicast discovery on address 228.8.8.8:8822
set PATH=%PATH%;"C:\dev\msys64\home\Workstation\Code\bin"
set GOPATH="C:\dev\msys64\home\Workstation\Code"
circuit ls -d circuit://192.168.1.3:7777/6304/Q77eae8d775184dfe -hmac "C:\dev\msys64\home\Workstation\circuittests.hmac" /...
/Xff6f649cfbf68200
One question: when I start the first node on the circuit, it generates a new circuit id all the time.
Is there a way to tell the first node to use the same circuit id somehow? Otherwise it means having to always change commands based on the newly generated circuit ids every time I restart the nodes.