Commit Graph

40 Commits

Author SHA1 Message Date
positiveblue
9c5453b410 aperturedb: implement secrets store 2023-06-14 21:44:19 -07:00
positiveblue
6700d01b39 aperturedb: add support for postgres/sqlite 2023-06-14 21:44:17 -07:00
Oliver Gugger
fec2bbee26 mod: bump lnd to v0.16.0-beta 2023-03-29 15:30:04 +02:00
Oliver Gugger
27f3a1e15a multi: fix grpc version issue 2023-02-27 13:36:56 +01:00
Oliver Gugger
2b1feae753 multi: bump lnd+lndclient compile time dependency 2023-02-27 13:36:54 +01:00
dependabot[bot]
eabc2c1dc2 build(deps): bump golang.org/x/crypto
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20211215153901-e495a2d5b3d3 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 08:33:29 +00:00
dependabot[bot]
71136e6b96 build(deps): bump golang.org/x/net
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 01:46:07 +00:00
dependabot[bot]
85f5d953da build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 02:42:15 +00:00
ffranr
a5659a82cb go.mod+go.sum: run: go mod tidy 2023-01-27 12:29:45 +00:00
ffranr
bd9102b65b go.mod: bump go version 2023-01-27 12:29:44 +00:00
ffranr
2976ec4de2 go.mod: upgrade lnd dependency
The lnd dependency is upgraded to the version currently used by taro.

The motivation behind upgrading lnd is to upgrade lnd/tor to v1.1.0

unit tests: mock signer: add missing interface methods

unit tests: mock signer: add missing interface method arguments

unit tests: mock walletkit: add missing interface method arguments

unit tests: mock lightning client: add missing interface method arguments

unit tests: mock chain notifier: add missing interface method arguments
2023-01-24 18:40:21 +00:00
positiveblue
2c3cb8c9f7 multi: bump btcec/v2 and btcutil to new versions 2022-03-25 10:30:54 +01:00
Oliver Gugger
d9adacfab6 mod: fix etcd problem with auth token 2022-01-31 12:46:21 +01:00
Olaoluwa Osuntokun
dd485d9a8e aperture: add basic gRPC prometheus scraping for hashmail server 2021-11-29 20:22:40 -08:00
Oliver Gugger
7bcc8355d0 multi: configure and start hashmail server
With this commit we make it possible to enable the Lightning Node
Connect mailbox server to be enabled and started as a local service
within aperture.
2021-11-24 17:32:47 +01:00
Oliver Gugger
8dad6da45a aperture: add hashmail server 2021-11-24 17:32:41 +01:00
carla
c22c0db128 aperture: parse command line flags 2021-09-28 10:14:40 +02:00
Oliver Gugger
aa3f3cfcde multi: update to lnd with etcd 3.5 2021-07-30 09:00:21 +02:00
Oliver Gugger
b88feb173f multi: update to lnd 0.13.0-beta
We update the compile time dependency of lnd to version 0.13.0-beta to
make it easier to run aperture in the same process as other projects
which also updated.
The runtime dependency is still kept at v0.12.0-beta as we don't use any
new RPCs.
2021-07-15 11:19:12 +02:00
Oliver Gugger
615f4141a8 mod+Travis: update min golang version to 1.15, Travis to 1.16 2021-05-11 13:25:25 +02:00
Oliver Gugger
c4778c3fd2 multi: update dependencies 2021-05-07 16:47:03 +02:00
Oliver Gugger
ad6a69b1b5 mod: update to latest lnd and lndclient dep 2020-12-02 10:17:52 +01:00
Oliver Gugger
4351939c20 mod+test: update to lnd v0.11.0-beta and lndclient v0.11.0-0 2020-09-01 09:15:50 +02:00
Oliver Gugger
a5f2f83685 aperture: use lnd client through interface 2020-08-11 10:08:44 +02:00
Oliver Gugger
3b73ac96cb mod+lsat+test: copy test code to get rid of loop
To get rid of the loop dependency, we copy the test code that we rely on
and fix some imports.
2020-08-11 10:03:34 +02:00
Oliver Gugger
a625ad69b0 mod: update lnd, use lndclient repo 2020-08-07 17:33:02 +02:00
Olaoluwa Osuntokun
0c14706fa4 aperture: propagate rename 2020-03-18 13:57:18 -07:00
Wilmer Paulino
494fdcc0a3 kirin: allow handling client requests over Tor onion services
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.
2020-03-13 12:54:33 -07:00
Oliver Gugger
e539e6306f mod: add autocert library 2020-01-10 14:16:41 +01:00
Oliver Gugger
02584d1f38 mod: update to latest loop and lnd versions 2020-01-03 16:44:08 +01:00
Wilmer Paulino
831a41b33e macaroons: remove temporary macaroon creation and verification logic 2019-11-26 11:14:11 -08:00
Wilmer Paulino
401c0e2d38 kirin: add etcd client configuration
Allows the ability for the proxy to connect to an etcd cluster for any
reliable data storage purposes. No data is being stored yet as of this
commit, but we'll be storing LSAT secrets at a later commit.

One key component in this commit is that we introduce a new top level
key that will serve to hold all LSAT proxy-related data. Any nested keys
should be prefixed with said top level key.

Co-authored-by: Oliver Gugger <gugger@gmail.com>
2019-11-25 17:08:32 -08:00
Wilmer Paulino
abcd7a9828 build: update to loop version containing loop utilities 2019-11-25 17:07:02 -08:00
Wilmer Paulino
c317071270 build: downgrade to loop-compatible lnd version
This addresses a build issue when importing kirin into nautilus.

Co-authored-by: Oliver Gugger <gugger@gmail.com>
2019-11-25 17:05:56 -08:00
Oliver Gugger
d8ed6bb449 kirin: auto create self-signed cert if none is provided 2019-11-19 15:32:42 +01:00
Oliver Gugger
00f661318f proxy: send error as gRPC error 2019-11-15 09:45:06 +01:00
Oliver Gugger
7e0c1dd97e multi: add persistent logger 2019-11-06 13:21:51 +01:00
Oliver Gugger
5a3b8b79d2 proxy: implement basic proxy functionality 2019-11-06 13:21:45 +01:00
Oliver Gugger
9552a70cb9 proxy: match service with regular expressions 2019-11-04 12:43:25 +01:00
Valentine Wallace
279fa2a64b Initial version of the proxy.
Missing: logging, an Authenticator implementing the LSAT HTTP
and gRPC protocol.
2019-09-12 16:41:25 -07:00