From 3903ac4d8221c20d05fb2a82665d811a6dcb8d05 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 16 Aug 2017 07:44:38 -0700 Subject: [PATCH] added call to gen cert and start echobot (first test of calling tor control to setup onion HS --- .gitignore | 1 + README.md | 10 +++++++++- goRicochetMobile.go | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c38fa4e..5217291 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea *.iml +*.aar diff --git a/README.md b/README.md index 9f1bc8c..ee8b63b 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -Using Java camelcase packnameing because gomobile + Java have problems with '_'s and '-'s +# goRicochetMobile + +An experimental wrapper of go-ricochet, the ricochet protocol library, to be used in Java via gomobile + + +# Notes +## gomobile gotchas + +- Using Java camelcase packnameing because gomobile + Java have problems with '_'s and '-'s diff --git a/goRicochetMobile.go b/goRicochetMobile.go index c2cbd3e..8dc303e 100644 --- a/goRicochetMobile.go +++ b/goRicochetMobile.go @@ -24,7 +24,8 @@ func EchoBot(privateKeyData string) { echobot := new(application.RicochetApplication) - l, err := application.SetupOnion("127.0.0.1:9051", "", privateKey, 9878) + l, err := application.SetupOnion("127.0.0.1:9051", "tcp4","", privateKey, 9878) + //l, err := application.SetupOnion("/data/data/org.torproject.android/app_bin/control.txt", "unix","", privateKey, 9878) if err != nil { log.Fatalf("error setting up onion service: %v", err)