diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 46ef00e..2562312 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -8,7 +8,7 @@ on: env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} - VAULT_IMAGE_NAME: nydig/vault-plugin-lndsigner + VAULT_IMAGE_NAME: nydig-oss/vault-plugin-lndsigner GO_VERSION: 1.20.3 jobs: @@ -67,7 +67,7 @@ jobs: ### vault-plugin-lndsigner Pre-built extensions of the latest [base Vault images](https://hub.docker.com/_/vault) with `vault-plugin-lndsigner` pre-installed are available here: - [${{ env.REGISTRY }}/${{ env.VAULT_IMAGE_NAME }}](https://github.com/nydig/lndsigner/pkgs/container/vault-plugin-lndsigner) + [${{ env.REGISTRY }}/${{ env.VAULT_IMAGE_NAME }}](https://github.com/nydig-oss/lndsigner/pkgs/container/vault-plugin-lndsigner) Note that the images within this package are provided for testing purposes only. Running a Vault image from an untrusted source in production is not recommended. @@ -116,7 +116,7 @@ jobs: org.opencontainers.image.title=Vault (with lndsigner) org.opencontainers.image.description=The base Hashicorp Vault image (library/vault), with the lndsigner plugin pre-installed. org.opencontainers.image.vendor=Hashicorp (Vault), NYDIG (lndsigner) - org.opencontainers.image.source=https://github.com/nydig/lndsigner + org.opencontainers.image.source=https://github.com/nydig-oss/lndsigner org.opencontainers.image.version=${{ github.ref_name }} org.opencontainers.image.licenses=(MPL-2.0 AND MIT) org.opencontainers.image.base.name=docker.io/library/vault:${{ matrix.vault_version }} diff --git a/Dockerfile b/Dockerfile index b06f622..560ef3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ ARG gover=1.20.3 FROM golang:$gover AS release-builder -COPY . /go/src/github.com/nydig/lndsigner +COPY . /go/src/github.com/nydig-oss/lndsigner -RUN cd /go/src/github.com/nydig/lndsigner \ +RUN cd /go/src/github.com/nydig-oss/lndsigner \ && CGO_ENABLED=0 go install -buildvcs=false \ - github.com/nydig/lndsigner/cmd/... + github.com/nydig-oss/lndsigner/cmd/... ### Build an Alpine image FROM alpine:3.17 as alpine diff --git a/Dockerfile.vault b/Dockerfile.vault index edc65a6..4649b54 100644 --- a/Dockerfile.vault +++ b/Dockerfile.vault @@ -4,8 +4,8 @@ FROM library/vault:${VAULT_VER} ARG TARGETARCH ARG VAULT_SIGNER_PLUGIN_VER -ADD https://github.com/nydig/lndsigner/releases/download/${VAULT_SIGNER_PLUGIN_VER}/vault-plugin-lndsigner-linux-${TARGETARCH} /vault/plugins/vault-plugin-lndsigner -ADD https://github.com/nydig/lndsigner/releases/download/${VAULT_SIGNER_PLUGIN_VER}/vault-plugin-lndsigner-linux-${TARGETARCH}.SHA256SUM /vault/plugins/vault-plugin-lndsigner.SHA256SUM +ADD https://github.com/nydig-oss/lndsigner/releases/download/${VAULT_SIGNER_PLUGIN_VER}/vault-plugin-lndsigner-linux-${TARGETARCH} /vault/plugins/vault-plugin-lndsigner +ADD https://github.com/nydig-oss/lndsigner/releases/download/${VAULT_SIGNER_PLUGIN_VER}/vault-plugin-lndsigner-linux-${TARGETARCH}.SHA256SUM /vault/plugins/vault-plugin-lndsigner.SHA256SUM ADD LICENSE /vault/plugins/vault-plugin-lndsigner.LICENSE RUN \ diff --git a/README.md b/README.md index 2c5d740..21400eb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ - [x] sign PSBTs for on-chain transactions, channel openings/closes, HTLC updates, etc. - [x] run itests -There is a [list of issues](https://github.com/nydig/lndsigner/issues?q=is%3Aissue+is%3Aopen+milestone%3Amainnet-ready) that tracks TODO items needed for a mainnet release. +There is a [list of issues](https://github.com/nydig-oss/lndsigner/issues?q=is%3Aissue+is%3Aopen+milestone%3Amainnet-ready) that tracks TODO items needed for a mainnet release. ## Usage diff --git a/cmd/lndsignerd/main.go b/cmd/lndsignerd/main.go index e7d3e9e..0c029bf 100644 --- a/cmd/lndsignerd/main.go +++ b/cmd/lndsignerd/main.go @@ -5,7 +5,7 @@ import ( "os" "github.com/jessevdk/go-flags" - "github.com/nydig/lndsigner" + "github.com/nydig-oss/lndsigner" ) func main() { diff --git a/cmd/vault-plugin-lndsigner/main.go b/cmd/vault-plugin-lndsigner/main.go index 1875aed..1c9b5a0 100644 --- a/cmd/vault-plugin-lndsigner/main.go +++ b/cmd/vault-plugin-lndsigner/main.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/go-hclog" "github.com/hashicorp/vault/api" "github.com/hashicorp/vault/sdk/plugin" - "github.com/nydig/lndsigner/vault" + "github.com/nydig-oss/lndsigner/vault" ) func main() { diff --git a/config.go b/config.go index f003f4d..0476c73 100644 --- a/config.go +++ b/config.go @@ -17,7 +17,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" flags "github.com/jessevdk/go-flags" - "github.com/nydig/lndsigner/vault" + "github.com/nydig-oss/lndsigner/vault" ) const ( diff --git a/go.mod b/go.mod index 7cfaa93..d9511a7 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/nydig/lndsigner +module github.com/nydig-oss/lndsigner require ( github.com/Yawning/aez v0.0.0-20211027044916-e49e68abd344 diff --git a/itest/itest_lndharness_test.go b/itest/itest_lndharness_test.go index 080f9be..16c40f7 100644 --- a/itest/itest_lndharness_test.go +++ b/itest/itest_lndharness_test.go @@ -14,8 +14,8 @@ import ( "encoding/json" "encoding/pem" "fmt" - "github.com/nydig/lndsigner" - "github.com/nydig/lndsigner/itest" + "github.com/nydig-oss/lndsigner" + "github.com/nydig-oss/lndsigner/itest" "io/fs" "math/big" "net" diff --git a/itest/walletunlocker.proto b/itest/walletunlocker.proto index 8a6cf80..36ad7a0 100644 --- a/itest/walletunlocker.proto +++ b/itest/walletunlocker.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package lnrpc; -option go_package = "github.com/nydig/lndsigner/itest"; +option go_package = "github.com/nydig-oss/lndsigner/itest"; /* * Comments in this file will be directly parsed into the API diff --git a/keyring/keyring.go b/keyring/keyring.go index a84865f..0a783c4 100644 --- a/keyring/keyring.go +++ b/keyring/keyring.go @@ -19,7 +19,7 @@ import ( "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" "github.com/hashicorp/vault/api" - "github.com/nydig/lndsigner/vault" + "github.com/nydig-oss/lndsigner/vault" ) // signMethod defines the different ways a signer can sign, given a specific diff --git a/lndsigner.go b/lndsigner.go index 01db15b..fdb07ec 100644 --- a/lndsigner.go +++ b/lndsigner.go @@ -19,7 +19,7 @@ import ( "syscall" "github.com/hashicorp/vault/api" - "github.com/nydig/lndsigner/vault" + "github.com/nydig-oss/lndsigner/vault" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) diff --git a/log.go b/log.go index f83bd53..a5407ec 100644 --- a/log.go +++ b/log.go @@ -6,7 +6,7 @@ package lndsigner import ( - "github.com/nydig/lndsigner/keyring" + "github.com/nydig-oss/lndsigner/keyring" "go.uber.org/zap" "go.uber.org/zap/zapcore" ) diff --git a/proto/lightning.proto b/proto/lightning.proto index 8be1716..dd38452 100644 --- a/proto/lightning.proto +++ b/proto/lightning.proto @@ -7,7 +7,7 @@ syntax = "proto3"; package proto; -option go_package = "github.com/nydig/lndsigner/proto"; +option go_package = "github.com/nydig-oss/lndsigner/proto"; /* * Comments in this file will be directly parsed into the API diff --git a/proto/signer.proto b/proto/signer.proto index 342a2db..e995a75 100644 --- a/proto/signer.proto +++ b/proto/signer.proto @@ -9,7 +9,7 @@ import "lightning.proto"; package proto; -option go_package = "github.com/nydig/lndsigner/proto"; +option go_package = "github.com/nydig-oss/lndsigner/proto"; // Signer is a service that gives access to the signing functionality of the // daemon's wallet. diff --git a/proto/walletkit.proto b/proto/walletkit.proto index 4c307f3..22fb2b7 100644 --- a/proto/walletkit.proto +++ b/proto/walletkit.proto @@ -7,7 +7,7 @@ syntax = "proto3"; package proto; -option go_package = "github.com/nydig/lndsigner/proto"; +option go_package = "github.com/nydig-oss/lndsigner/proto"; // WalletKit is a service that gives access to the core functionalities of the // daemon's wallet. diff --git a/rpcserver.go b/rpcserver.go index 020ed3d..e973a86 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -10,8 +10,8 @@ import ( "fmt" "github.com/hashicorp/vault/api" - "github.com/nydig/lndsigner/keyring" - "github.com/nydig/lndsigner/proto" + "github.com/nydig-oss/lndsigner/keyring" + "github.com/nydig-oss/lndsigner/proto" "github.com/tv42/zbase32" "google.golang.org/grpc" ) diff --git a/signer_server.go b/signer_server.go index 3ea65e4..cd5029b 100644 --- a/signer_server.go +++ b/signer_server.go @@ -11,9 +11,9 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" - "github.com/nydig/lndsigner/keyring" - "github.com/nydig/lndsigner/proto" - "github.com/nydig/lndsigner/vault" + "github.com/nydig-oss/lndsigner/keyring" + "github.com/nydig-oss/lndsigner/proto" + "github.com/nydig-oss/lndsigner/vault" ) // Server is a sub-server of the main RPC server: the signer RPC. This sub RPC diff --git a/walletkit_server.go b/walletkit_server.go index 8425e3f..83df2ae 100644 --- a/walletkit_server.go +++ b/walletkit_server.go @@ -11,7 +11,7 @@ import ( "fmt" "github.com/btcsuite/btcd/btcutil/psbt" - "github.com/nydig/lndsigner/proto" + "github.com/nydig-oss/lndsigner/proto" ) // walletKit is a sub-RPC server that exposes a tool kit which allows clients