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

master
Dan Ballard 6 years ago
parent a55f64d5bc
commit 3903ac4d82

1
.gitignore vendored

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

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

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

Loading…
Cancel
Save