[tor-relays] Installing obfs4 on Raspberry Pi bridge

Yawning Angel yawning at schwanenlied.me
Thu Apr 23 20:42:42 UTC 2015


On Thu, 23 Apr 2015 19:53:55 +0000
jchase <jchase at riseup.net> wrote:
> Hello,
> When I run
> 
>  $ go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy
>  $ sudo cp $GOPATH/bin/obfs4proxy /usr/local/bin
> 
> on a laptop running linuxmint/ubuntu it produces a nice binary
> executable. Unfortunately it doesn't work to copy it to the Pi2,
> because it's not an ARM binary.
> When I run the same script on the Pi2 I get the following error
> messages:
> 
> go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy
> # git.torproject.org/pluggable-transports/obfs4.git/common/ntor
> /usr/lib/go/src/pkg/git.torproject.org/pluggable-transports/obfs4.git/common/ntor/ntor.go:272:
> undefined: sha256.Sum256
>
>  [snip]
>
> Any idea how I can get it cleanly on a Pi2?

This is covered in the README.md:
>  * Go 1.2.0 or later.   Prior versions of Go (Eg: 1.0.2) are missing
>    certain important parts of the runtime library like a SHA256
>    implementation.

Go 1.2 was released on December 1, 2013, so I'm not particularly
inclined to support older versions, especially since it means
re-implementing parts of the standard runtime library.

Regards,

-- 
Yawning Angel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20150423/91070afb/attachment.sig>


More information about the tor-relays mailing list