mirror of
https://github.com/lightninglabs/aperture.git
synced 2026-02-21 01:14:32 +01:00
In this commit, we integrate Tor onion services into the proxy. Clients can now make their requests through Tor's encrypted network. To make this possible, there were a few quirks, the most important being that clients were unable to establish encrypted HTTP/2 connections due to TLS certificates not being able to verify onion services. To work around this, we now spin up an additional HTTP/2 server _without TLS_ that's not exposed to the outside world and can only be accessed through the onion services, which already provide encryption. Once the onion services are created, we store their private keys within etcd to ensure we can recover them later on as the proxy is intended to be long-lived.
38 lines
1.7 KiB
Modula-2
38 lines
1.7 KiB
Modula-2
module github.com/lightninglabs/kirin
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
|
|
github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d
|
|
github.com/coreos/etcd v3.3.17+incompatible
|
|
github.com/coreos/go-semver v0.3.0 // indirect
|
|
github.com/coreos/go-systemd v0.0.0-20190212144455-93d5ec2c7f76 // indirect
|
|
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
|
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
|
|
github.com/golang/protobuf v1.3.2
|
|
github.com/google/btree v1.0.0 // indirect
|
|
github.com/google/uuid v1.1.1 // indirect
|
|
github.com/gorilla/websocket v1.4.1 // indirect
|
|
github.com/jonboulle/clockwork v0.1.0 // indirect
|
|
github.com/json-iterator/go v1.1.8 // indirect
|
|
github.com/lightninglabs/loop v0.3.0-alpha.0.20200103135410-5e00ce62677a
|
|
github.com/lightningnetwork/lnd v0.9.0-beta-rc4.0.20200313014957-4cb518c17498
|
|
github.com/lightningnetwork/lnd/cert v1.0.0
|
|
github.com/modern-go/reflect2 v1.0.1 // indirect
|
|
github.com/soheilhy/cmux v0.1.4 // indirect
|
|
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
|
|
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
|
|
go.uber.org/zap v1.13.0 // indirect
|
|
golang.org/x/crypto v0.0.0-20200109152110-61a87790db17
|
|
golang.org/x/net v0.0.0-20191112182307-2180aed22343
|
|
golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea // indirect
|
|
google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a // indirect
|
|
google.golang.org/grpc v1.25.1
|
|
gopkg.in/macaroon-bakery.v2 v2.1.0 // indirect
|
|
gopkg.in/macaroon.v2 v2.1.0
|
|
gopkg.in/yaml.v2 v2.2.2
|
|
sigs.k8s.io/yaml v1.1.0 // indirect
|
|
)
|