added call to gen cert and start echobot (first test of calling tor control to setup onion HS
This commit is contained in:
parent
a55f64d5bc
commit
3903ac4d82
|
@ -1,2 +1,3 @@
|
||||||
.idea
|
.idea
|
||||||
*.iml
|
*.iml
|
||||||
|
*.aar
|
||||||
|
|
10
README.md
10
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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue