Commit Graph

336 Commits

Author SHA1 Message Date
Oliver Gugger
6ec9117788 Merge pull request #147 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.1.14
build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
2024-09-04 09:19:34 -06:00
dependabot[bot]
b5247965d4 build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.12...v1.1.14)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 19:53:20 +00:00
Oliver Gugger
a30875823f Merge pull request #142 from bhandras/go-bump
build: bump to go 1.22.3
2024-07-12 02:12:26 -06:00
Andras Banki-Horvath
5d22ef168d tools: bump go to 1.22.3 2024-07-12 09:20:46 +02:00
Andras Banki-Horvath
baaf099b6d build: bump to go 1.22.3 2024-07-12 09:13:56 +02:00
Oliver Gugger
f2f4ed2ab0 Merge pull request #140 from guggero/falafel-format
pricesrpc: fix build tag formatting
2024-07-08 09:45:34 -06:00
Oliver Gugger
d5c99b761e pricesrpc: fix build tag formatting 2024-07-08 09:12:18 +02:00
Olaoluwa Osuntokun
4c45bdd0e8 Merge pull request #139 from guggero/lnd-17
Bump lnd compile time dependency to v0.17.0, update RPC compilation of test proto
2024-07-02 18:01:51 -07:00
Oliver Gugger
3627582871 mod+test: bump lnd dependency to v0.17.0-beta 2024-06-21 11:10:09 +02:00
Oliver Gugger
17180f2a8b multi: format test proto with generic script 2024-06-21 11:09:43 +02:00
Oliver Gugger
996f100368 Merge pull request #115 from lightninglabs/fix-post-response
proxy+auth: fix post request
2024-05-24 08:36:21 +02:00
Oliver Gugger
9ad67ea672 proxy+auth: fix post request 2024-05-24 08:36:06 +02:00
Elle
3a8936c448 Merge pull request #137 from lightninglabs/dependabot/go_modules/github.com/btcsuite/btcd-0.24.0
build(deps): bump github.com/btcsuite/btcd from 0.23.5-0.20230125025938-be056b0a0b2f to 0.24.0
2024-05-06 19:24:58 +02:00
dependabot[bot]
cbdf15db28 build(deps): bump github.com/btcsuite/btcd
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd) from 0.23.5-0.20230125025938-be056b0a0b2f to 0.24.0.
- [Release notes](https://github.com/btcsuite/btcd/releases)
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES)
- [Commits](https://github.com/btcsuite/btcd/commits/v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 14:36:34 +00:00
Oliver Gugger
e3920a1349 Merge pull request #136 from lightninglabs/dependabot/go_modules/golang.org/x/net-0.23.0
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
2024-04-24 03:04:06 -06:00
Oliver Gugger
94632667fc Merge pull request #135 from starius/s-lsat-l402
multi: change LSAT name to L402
v0.3.2-beta
2024-04-23 08:40:03 -06:00
Boris Nagaev
683093cf9e l402: migration of lsat.token* files
This is needed to preserve old identifiers of nodes that have ever paid
for a Loop or Pool token.
2024-04-23 09:27:49 -03:00
Boris Nagaev
b44e066424 static/index.html: adjust for LSAT -> L402 2024-04-23 09:27:49 -03:00
Boris Nagaev
e65669471f static/index.html: remove trailing spaces 2024-04-23 09:27:49 -03:00
Boris Nagaev
94bd1924c0 l402: remove unnecessary regexp MatchString call
The same regexp is then used in a call of FindStringSubmatch method
and the outcome is the same, if nothing is found there.
2024-04-23 09:27:49 -03:00
Boris Nagaev
7579f92a08 auth: don't send client's headers back
Create fresh http.Header object filled with the only header:
"Content-Type: application/grpc".
2024-04-23 09:27:49 -03:00
Boris Nagaev
fb02e3f030 auth: send LSAT and L402 Authorization headers
Again, as with WWW-Authenticate header, existing aperture instances
expect LSAT, and the protocol defines it is L402, so send both, LSAT
first, to maintain backward compatibility.

The header "Authorization: LSAT..." can be removed in the future,
when all aperture instances are upgraded.
2024-04-23 09:27:49 -03:00
Boris Nagaev
709463fe5b proxy: LSAT and L402 WWW-Authenticate headers
Old clients expect "L402 macaroon=..." in the first WWW-Authenticate, while
the protocol [1] says it should be "WWW-Authenticate: L402 macaroon=...",
so send both LSAT and L402. LSAT must be sent first, to maintain backward
compatibility with older clients.

[1] https://github.com/lightninglabs/L402/blob/master/protocol-specification.md
2024-04-23 09:27:49 -03:00
dependabot[bot]
7b0a6e60fd build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:15:18 +00:00
Boris Nagaev
728707ba5c l402: use L402 sub system name in logs 2024-04-16 19:34:12 -03:00
Boris Nagaev
866322689e aperture: change invoice memo from LSAT to L402 2024-04-16 19:34:12 -03:00
Boris Nagaev
a4431801ef multi: replace LSAT with L402
auth: LsatAuthenticator -> L402Authenticator
sed -i 's/LsatAuthenticator/L402Authenticator/g' aperture.go auth/authenticator.go auth/authenticator_test.go

rename package lsat to l402
git mv lsat/ l402
sed 's@aperture/lsat@aperture/l402@g' -i `git grep -l aperture/lsat`
sed -i 's@package lsat@package l402@' `git grep -l 'package lsat'`
sed -i 's@lsat\.@l402.@g' -i `git grep -l 'lsat\.'`
sed 's@l402.Id@lsat.Id@' -i mint/mint_test.go

replace lsat with l402 in the code
sed 's@lsat@l402@' -i mint/mint_test.go
sed 's@Lsat@L402@' -i l402/client_interceptor.go
sed 's@lsatstore@l402store@' -i l402/store_test.go

replace LSAT to L402 in comments
sed '/\/\//s@LSAT@L402@g' -i `git grep -l '//.*LSAT'`

replace LSAT -> L402 in the code, skip when a string starts with it
sed 's@\([^"/]\)LSAT@\1L402@g' -i `git grep -l LSAT`
2024-04-16 19:33:03 -03:00
Boris Nagaev
208798569b README: fix broken link to L402 Protocol Standard 2024-04-15 12:53:27 -03:00
Oliver Gugger
b1bad8a08c Merge pull request #133 from lightninglabs/dependabot/go_modules/github.com/docker/docker-24.0.9incompatible
build(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible
2024-03-21 02:49:06 -06:00
dependabot[bot]
cfe9fc9bf8 build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 17:24:58 +00:00
Viktor Tigerström
fb1ee3ac89 Merge pull request #132 from lightninglabs/dependabot/go_modules/google.golang.org/protobuf-1.33.0
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0
2024-03-15 19:15:14 +01:00
Oliver Gugger
19c32a9a0c mod+tools: bump deprecated protobuf to fix linter 2024-03-15 18:38:23 +01:00
Oliver Gugger
56cdfbd3d2 pricesrpc: compile protos to bump version 2024-03-15 18:30:10 +01:00
dependabot[bot]
ca89d1a637 build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:14:42 +00:00
Oliver Gugger
0c2dbd665f Merge pull request #130 from lightninglabs/dependabot/go_modules/github.com/jackc/pgx/v4-4.18.2
build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
2024-03-12 11:48:36 -06:00
dependabot[bot]
3cea0bdc93 build(deps): bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.1 to 4.18.2.
- [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.18.1...v4.18.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 15:32:10 +00:00
Olaoluwa Osuntokun
5aa7aa2dbb Merge pull request #128 from positiveblue/sqlc-1.25
sqlc: bump version to `v1.25.0`
2024-02-22 15:05:16 -08:00
Jordi Montes
c0353f07dd sqlc: bump version to v1.25.0
Since v0.18.0 there they multiple bug fixes, support more postgres/sqlite
features, etc...

Nothing impacting the current code.

NOTE: It also looks like sqlc is growing as a company and wants to support
more languages, add feature for cloud clients, etc... Because of the
open source nature of this project I do not think that brings any extra
benefit. The only remarkable thing is that they are working on doing the
code more modular, and extracting the code generation in multiple "plugins"
They already extracted the go one. No changes are needed by now, but maybe
at some point they delete the code gen form the main project and the config
files need to be updated to use the plugin system [sqlc-dev/plugin-sdk-go].
2024-02-13 11:28:53 -08:00
Oliver Gugger
f4f593d66b Merge pull request #108 from positiveblue/config-passphrase
config: make `sample-conf.yaml` less error prone
2024-02-12 03:35:48 -06:00
Oliver Gugger
066cd55ea9 Merge pull request #126 from lightninglabs/dependabot/go_modules/github.com/opencontainers/runc-1.1.12
build(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12
2024-02-12 03:26:05 -06:00
Jordi Montes
2145b4ada1 config: add note about passphrase usage 2024-02-09 18:57:43 -08:00
positiveblue
cc7d18ba39 config: group authenticator fields by category 2024-02-09 18:57:43 -08:00
positiveblue
9a44101a2e config: passphrase placeholder
Use spaces to separate the passphrase placeholder instead of confusing
users with using `-` as a separator.
2024-02-09 18:57:43 -08:00
dependabot[bot]
5dc09cb9d8 build(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.5 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.5...v1.1.12)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 22:58:26 +00:00
Oliver Gugger
8cf43a4048 Merge pull request #125 from lightninglabs/dependabot/go_modules/golang.org/x/crypto-0.17.0
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
2023-12-19 11:57:29 +01:00
dependabot[bot]
168a71a488 build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:59:37 +00:00
Oliver Gugger
df19ef5c89 Merge pull request #123 from lightninglabs/opentelemetry-fix
mod+linter: fix go.opentelemetry.io dependency bump
v0.3.1-beta
2023-11-28 14:09:50 -06:00
Oliver Gugger
7a42fe1b32 multi: bump and adjust linter, fix issues
Not strictly necessary to fix the linter issues caused by the version
bump, but nice to have.
2023-11-28 12:48:22 -06:00
Oliver Gugger
b86d458c7d mod: bump opentelemetry to even newer versions
The automatic version bump created by Dependabot caused a compile time
issue and an issue with the linter.
Bumping the other go.opentelemetry.io dependencies seems to fix that.
2023-11-28 12:46:59 -06:00
dependabot[bot]
8c5507fea6 build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.25.0 to 0.46.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.25.0...zpages/v0.46.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 18:30:39 +00:00