|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
package testing
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"cwtch.im/tapir"
|
|
|
|
|
"cwtch.im/tapir/applications"
|
|
|
|
|
"cwtch.im/tapir/networks/tor"
|
|
|
|
|
"cwtch.im/tapir/primitives"
|
|
|
|
|
"git.openprivacy.ca/cwtch.im/tapir"
|
|
|
|
|
"git.openprivacy.ca/cwtch.im/tapir/applications"
|
|
|
|
|
"git.openprivacy.ca/cwtch.im/tapir/networks/tor"
|
|
|
|
|
"git.openprivacy.ca/cwtch.im/tapir/primitives"
|
|
|
|
|
torProvider "git.openprivacy.ca/openprivacy/connectivity/tor"
|
|
|
|
|
"git.openprivacy.ca/openprivacy/log"
|
|
|
|
|
"golang.org/x/crypto/ed25519"
|
|
|
|
@ -25,7 +25,6 @@ func TestTapirMaliciousRemote(t *testing.T) {
|
|
|
|
|
builder := new(torProvider.TorrcBuilder)
|
|
|
|
|
builder.WithHashedPassword("tapir-integration-test").Build("./tor/torrc")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Connect to Tor
|
|
|
|
|
acn, err := torProvider.NewTorACNWithAuth("./", "", 9051, torProvider.HashedPasswordAuthenticator{Password: "tapir-integration-test"})
|
|
|
|
|
if err != nil {
|
|
|
|
|