added call to gen cert and start echobot (first test of calling tor control to setup onion HS

This commit is contained in:
Dan Ballard 2017-08-16 07:44:38 -07:00
parent a55f64d5bc
commit 3903ac4d82
3 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.idea .idea
*.iml *.iml
*.aar

View File

@ -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

View File

@ -24,7 +24,8 @@ func EchoBot(privateKeyData string) {
echobot := new(application.RicochetApplication) 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 { if err != nil {
log.Fatalf("error setting up onion service: %v", err) log.Fatalf("error setting up onion service: %v", err)