Skip to content

Commit

Permalink
multi: move from nydig to nydig-oss
Browse files Browse the repository at this point in the history
  • Loading branch information
aakselrod committed May 10, 2023
1 parent 83890b9 commit e624444
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.vault
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cmd/lndsignerd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/jessevdk/go-flags"
"github.com/nydig/lndsigner"
"github.com/nydig-oss/lndsigner"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/vault-plugin-lndsigner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions itest/itest_lndharness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion itest/walletunlocker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion keyring/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lndsigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion proto/lightning.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion proto/signer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion proto/walletkit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 3 additions & 3 deletions signer_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion walletkit_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e624444

Please sign in to comment.