From fd01dca05696a38d8f147d2d42b3baf3cb06f3fd Mon Sep 17 00:00:00 2001 From: erinn Date: Mon, 8 Oct 2018 18:48:37 -0700 Subject: [PATCH] forking bulb --- Godeps/Godeps.json | 30 ------------------------------ Godeps/Readme | 5 ----- application/ricochetonion.go | 3 ++- utils/crypto.go | 2 +- utils/networkresolver.go | 2 +- 5 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 Godeps/Godeps.json delete mode 100644 Godeps/Readme diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json deleted file mode 100644 index 46a94d3..0000000 --- a/Godeps/Godeps.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "ImportPath": "github.com/s-rah/go-ricochet", - "GoVersion": "go1.7", - "GodepVersion": "v79", - "Packages": [ - "./..." - ], - "Deps": [ - { - "ImportPath": "github.com/golang/protobuf/proto", - "Rev": "8ee79997227bf9b34611aee7946ae64735e6fd93" - }, - { - "ImportPath": "github.com/yawning/bulb", - "Rev": "85d80d893c3d4a478b8c0abbc43f0ea13e1ce4f9" - }, - { - "ImportPath": "github.com/yawning/bulb/utils", - "Rev": "85d80d893c3d4a478b8c0abbc43f0ea13e1ce4f9" - }, - { - "ImportPath": "github.com/yawning/bulb/utils/pkcs1", - "Rev": "85d80d893c3d4a478b8c0abbc43f0ea13e1ce4f9" - }, - { - "ImportPath": "golang.org/x/net/proxy", - "Rev": "60c41d1de8da134c05b7b40154a9a82bf5b7edb9" - } - ] -} diff --git a/Godeps/Readme b/Godeps/Readme deleted file mode 100644 index 4cdaa53..0000000 --- a/Godeps/Readme +++ /dev/null @@ -1,5 +0,0 @@ -This directory tree is generated automatically by godep. - -Please do not edit. - -See https://github.com/tools/godep for more information. diff --git a/application/ricochetonion.go b/application/ricochetonion.go index 6c73b3f..1e9d7ff 100644 --- a/application/ricochetonion.go +++ b/application/ricochetonion.go @@ -4,7 +4,7 @@ import ( "crypto/rsa" "crypto/sha512" "encoding/base64" - "github.com/yawning/bulb" + "git.openprivacy.ca/openprivacy/asaur" "golang.org/x/crypto/ed25519" "net" ) @@ -56,6 +56,7 @@ func SetupOnionV3(torControlAddress string, torControlSocketType string, authent cfg := &bulb.NewOnionConfig{ DiscardPK: true, PrivateKey: onionPK, + Detach: true, } return c.NewListener(cfg, onionport) diff --git a/utils/crypto.go b/utils/crypto.go index 680d98c..3650999 100644 --- a/utils/crypto.go +++ b/utils/crypto.go @@ -7,7 +7,7 @@ import ( "encoding/pem" "errors" "github.com/agl/ed25519/extra25519" - "github.com/yawning/bulb/utils/pkcs1" + "git.openprivacy.ca/openprivacy/asaur/utils/pkcs1" "golang.org/x/crypto/curve25519" "golang.org/x/crypto/ed25519" "io/ioutil" diff --git a/utils/networkresolver.go b/utils/networkresolver.go index 05aad97..f5c064f 100644 --- a/utils/networkresolver.go +++ b/utils/networkresolver.go @@ -1,7 +1,7 @@ package utils import ( - "github.com/yawning/bulb" + "git.openprivacy.ca/openprivacy/asaur" "golang.org/x/net/proxy" "net" "strings"