diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 95ac568d..94d7de35 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -47,7 +47,7 @@ jobs: - name: Build Harp run: | - go mod vendor && go build -mod=vendor -o bin/harp github.com/elastic/harp/cmd/harp + go mod vendor && go build -mod=vendor -o bin/harp github.com/zntrio/harp/cmd/harp env: DOCKERFILE_ONLY: 1 GOLANG_IMAGE: ${{ matrix.golang-image }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b49b059b..f70519be 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -91,7 +91,7 @@ jobs: - name: Build Harp run: | - go mod vendor && go build -mod=vendor -o bin/harp github.com/elastic/harp/cmd/harp + go mod vendor && go build -mod=vendor -o bin/harp github.com/zntrio/harp/cmd/harp # Run golangci-lint golangci-lint: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0409f700..58dd1022 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -5,9 +5,6 @@ before: - go mod tidy - go mod vendor -gomod: - proxy: true - builds: - id: harp main: './cmd/harp' @@ -19,13 +16,13 @@ builds: ldflags: - '-s' - '-w' - - '-X github.com/elastic/harp/build/version.Name=harp' - - '-X github.com/elastic/harp/build/version.AppName=github.com/elastic/harp/cmd/harp' - - '-X github.com/elastic/harp/build/version.Version={{.Version}}' - - '-X github.com/elastic/harp/build/version.Commit={{.CommitDate}}' - - '-X github.com/elastic/harp/build/version.Branch={{.Branch}}' - - '-X github.com/elastic/harp/build/version.BuildDate={{.Date}}' - - '-X github.com/elastic/harp/build/version.BuildTags=defaults' + - '-X github.com/zntrio/harp/build/version.Name=harp' + - '-X github.com/zntrio/harp/build/version.AppName=github.com/zntrio/harp/cmd/harp' + - '-X github.com/zntrio/harp/build/version.Version={{.Version}}' + - '-X github.com/zntrio/harp/build/version.Commit={{.CommitDate}}' + - '-X github.com/zntrio/harp/build/version.Branch={{.Branch}}' + - '-X github.com/zntrio/harp/build/version.BuildDate={{.Date}}' + - '-X github.com/zntrio/harp/build/version.BuildTags=defaults' targets: - darwin_amd64 - darwin_arm64 diff --git a/Dockerfile b/Dockerfile index 55e1330a..1aa0a7e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,8 @@ RUN \ "linux/arm64") DOWNLOAD_ARCH="linux-arm64" ;; \ esac && \ apk add --no-cache curl upx && \ - curl -sLO https://github.com/elastic/harp/releases/download/v${VERSION}/harp-${DOWNLOAD_ARCH}.tar.gz && \ - curl -sLO https://github.com/elastic/harp/releases/download/v${VERSION}/harp-${DOWNLOAD_ARCH}.tar.gz.sig && \ + curl -sLO https://github.com/zntrio/harp/releases/download/v${VERSION}/harp-${DOWNLOAD_ARCH}.tar.gz && \ + curl -sLO https://github.com/zntrio/harp/releases/download/v${VERSION}/harp-${DOWNLOAD_ARCH}.tar.gz.sig && \ curl -sLO https://raw.githubusercontent.com/elastic/harp/v${VERSION}/build/artifact/cosign.pub && \ cosign verify-blob --key /tmp/cosign.pub --signature harp-${DOWNLOAD_ARCH}.tar.gz.sig harp-${DOWNLOAD_ARCH}.tar.gz && \ tar -vxf harp-${DOWNLOAD_ARCH}.tar.gz && \ diff --git a/README.md b/README.md index ea017ad2..5ae6ac8f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -[![Go Report Card](https://goreportcard.com/badge/github.com/elastic/harp)](https://goreportcard.com/report/github.com/elastic/harp) +[![Go Report Card](https://goreportcard.com/badge/github.com/zntrio/harp)](https://goreportcard.com/report/github.com/zntrio/harp) [![made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](http://golang.org) -[![GitHub release](https://img.shields.io/github/release/elastic/harp.svg)](https://github.com/elastic/harp/releases/) -[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/elastic/harp/graphs/commit-activity) +[![GitHub release](https://img.shields.io/github/release/elastic/harp.svg)](https://github.com/zntrio/harp/releases/) +[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/zntrio/harp/graphs/commit-activity) - [Harp](#harp) - [TL;DR.](#tldr) @@ -143,15 +143,15 @@ Harp provides : * A defined common language and complete processes to achieve secret management operations; * A SDK to create your own tools to orchestrate your secret management pipelines; - * A container manipulation library exposed as `github.com/elastic/harp/pkg/container`; - * A secret bundle specification to store and manipulate secrets exposed as `github.com/elastic/harp/pkg/bundle`; - * An `on-steroid` template engine exposed as `github.com/elastic/harp/pkg/template` - * A path name validation library exposed as `github.com/elastic/harp/pkg/cso` + * A container manipulation library exposed as `github.com/zntrio/harp/pkg/container`; + * A secret bundle specification to store and manipulate secrets exposed as `github.com/zntrio/harp/pkg/bundle`; + * An `on-steroid` template engine exposed as `github.com/zntrio/harp/pkg/template` + * A path name validation library exposed as `github.com/zntrio/harp/pkg/cso` * A CLI for secret management implementation * CI/CD integration; * Based on human-readable definitions (YAML); * In order to create auditable and reproducible pipelines. - * An extensible tool which can be enhanced via [plugins](https://github.com/elastic/harp-plugins). + * An extensible tool which can be enhanced via [plugins](https://github.com/zntrio/harp-plugins). And allows : @@ -189,7 +189,7 @@ And allows : # Homebrew install -Download a [release](https://github.com/elastic/harp/releases) or build from source. +Download a [release](https://github.com/zntrio/harp/releases) or build from source. For stable version @@ -200,7 +200,7 @@ brew install elastic/harp/harp # Build instructions -Download a [release](https://github.com/elastic/harp/releases) or build from source. +Download a [release](https://github.com/zntrio/harp/releases) or build from source. ## Clone repository @@ -320,7 +320,7 @@ docker run --rm -ti --read-only elastic/harp: # Plugins -You can find more Harp feature extensions - +You can find more Harp feature extensions - # Community diff --git a/api/proto/cso/v1/secret.proto b/api/proto/cso/v1/secret.proto index 39e03d18..a39a27aa 100644 --- a/api/proto/cso/v1/secret.proto +++ b/api/proto/cso/v1/secret.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package cso.v1; option csharp_namespace = "Cso.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/cso/v1;csov1"; +option go_package = "github.com/zntrio/harp/api/gen/go/cso/v1;csov1"; option java_multiple_files = true; option java_outer_classname = "SecretProto"; option java_package = "com.github.elastic.cloudsec.cso.v1"; diff --git a/api/proto/cso/v1/validator_api.proto b/api/proto/cso/v1/validator_api.proto index 6a0d3167..c46c88e7 100644 --- a/api/proto/cso/v1/validator_api.proto +++ b/api/proto/cso/v1/validator_api.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package cso.v1; option csharp_namespace = "Cso.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/cso/v1;csov1"; +option go_package = "github.com/zntrio/harp/api/gen/go/cso/v1;csov1"; option java_multiple_files = true; option java_outer_classname = "ValidatorApiProto"; option java_package = "com.github.elastic.cloudsec.cso.v1"; diff --git a/api/proto/harp/bundle/v1/bundle.proto b/api/proto/harp/bundle/v1/bundle.proto index 160b5f49..fa5dc408 100644 --- a/api/proto/harp/bundle/v1/bundle.proto +++ b/api/proto/harp/bundle/v1/bundle.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package harp.bundle.v1; option csharp_namespace = "harp.Bundle.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/harp/bundle/v1;bundlev1"; +option go_package = "github.com/zntrio/harp/api/gen/go/harp/bundle/v1;bundlev1"; option java_multiple_files = true; option java_outer_classname = "BundleProto"; option java_package = "com.github.elastic.cloudsec.harp.bundle.v1"; diff --git a/api/proto/harp/bundle/v1/bundle_api.proto b/api/proto/harp/bundle/v1/bundle_api.proto index 23135e84..9329299a 100644 --- a/api/proto/harp/bundle/v1/bundle_api.proto +++ b/api/proto/harp/bundle/v1/bundle_api.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package harp.bundle.v1; option csharp_namespace = "harp.Bundle.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/harp/bundle/v1;bundlev1"; +option go_package = "github.com/zntrio/harp/api/gen/go/harp/bundle/v1;bundlev1"; option java_multiple_files = true; option java_outer_classname = "BundleAPI"; option java_package = "com.github.elastic.cloudsec.harp.bundle.v1"; diff --git a/api/proto/harp/bundle/v1/patch.proto b/api/proto/harp/bundle/v1/patch.proto index 326497d8..f4533018 100644 --- a/api/proto/harp/bundle/v1/patch.proto +++ b/api/proto/harp/bundle/v1/patch.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package harp.bundle.v1; option csharp_namespace = "harp.Bundle.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/harp/bundle/v1;bundlev1"; +option go_package = "github.com/zntrio/harp/api/gen/go/harp/bundle/v1;bundlev1"; option java_multiple_files = true; option java_outer_classname = "PatchProto"; option java_package = "com.github.elastic.cloudsec.harp.bundle.v1"; diff --git a/api/proto/harp/bundle/v1/ruleset.proto b/api/proto/harp/bundle/v1/ruleset.proto index 5bd1f1dd..2bb7bf5e 100644 --- a/api/proto/harp/bundle/v1/ruleset.proto +++ b/api/proto/harp/bundle/v1/ruleset.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package harp.bundle.v1; option csharp_namespace = "Harp.Bundle.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/harp/bundle/v1;bundlev1"; +option go_package = "github.com/zntrio/harp/api/gen/go/harp/bundle/v1;bundlev1"; option java_multiple_files = true; option java_outer_classname = "RuleSetProto"; option java_package = "com.github.elastic.cloudsec.harp.bundle.v1"; diff --git a/api/proto/harp/bundle/v1/template.proto b/api/proto/harp/bundle/v1/template.proto index 63eb94fa..4870dbc7 100644 --- a/api/proto/harp/bundle/v1/template.proto +++ b/api/proto/harp/bundle/v1/template.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package harp.bundle.v1; option csharp_namespace = "harp.Bundle.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/harp/bundle/v1;bundlev1"; +option go_package = "github.com/zntrio/harp/api/gen/go/harp/bundle/v1;bundlev1"; option java_multiple_files = true; option java_outer_classname = "TemplateProto"; option java_package = "com.github.elastic.cloudsec.harp.bundle.v1"; diff --git a/api/proto/harp/container/v1/container.proto b/api/proto/harp/container/v1/container.proto index 5173e2a2..74e4da4e 100644 --- a/api/proto/harp/container/v1/container.proto +++ b/api/proto/harp/container/v1/container.proto @@ -20,7 +20,7 @@ syntax = "proto3"; package harp.container.v1; option csharp_namespace = "harp.Container.V1"; -option go_package = "github.com/elastic/harp/api/gen/go/harp/container/v1;containerv1"; +option go_package = "github.com/zntrio/harp/api/gen/go/harp/container/v1;containerv1"; option java_multiple_files = true; option java_outer_classname = "ContainerProto"; option java_package = "com.github.elastic.cloudsec.harp.container.v1"; diff --git a/build/mage/docker/build.go b/build/mage/docker/build.go index 9c7700b8..154d6a8d 100644 --- a/build/mage/docker/build.go +++ b/build/mage/docker/build.go @@ -28,8 +28,8 @@ import ( "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" - "github.com/elastic/harp/build/artifact" - "github.com/elastic/harp/build/mage/git" + "github.com/zntrio/harp/build/artifact" + "github.com/zntrio/harp/build/mage/git" ) var dockerTemplate = strings.TrimSpace(` diff --git a/build/mage/docker/release.go b/build/mage/docker/release.go index c625e338..2a8d9994 100644 --- a/build/mage/docker/release.go +++ b/build/mage/docker/release.go @@ -31,8 +31,8 @@ import ( "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" - "github.com/elastic/harp/build/artifact" - "github.com/elastic/harp/build/mage/git" + "github.com/zntrio/harp/build/artifact" + "github.com/zntrio/harp/build/mage/git" ) var dockerReleaseTemplate = strings.TrimSpace(` diff --git a/build/mage/docker/tools.go b/build/mage/docker/tools.go index 5e3173e4..87464978 100644 --- a/build/mage/docker/tools.go +++ b/build/mage/docker/tools.go @@ -28,7 +28,7 @@ import ( "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" - "github.com/elastic/harp/build/mage/git" + "github.com/zntrio/harp/build/mage/git" ) var dockerToolTemplate = strings.TrimSpace(` @@ -62,8 +62,8 @@ LABEL \ org.opencontainers.image.created=$BUILD_DATE \ org.opencontainers.image.title="Harp SDK Environment (Go {{.GolangVersion}})" \ org.opencontainers.image.description="Harp SDK Tools used to build harp and all related tools" \ - org.opencontainers.image.url="https://github.com/elastic/harp" \ - org.opencontainers.image.source="https://github.com/elastic/harp.git" \ + org.opencontainers.image.url="https://github.com/zntrio/harp" \ + org.opencontainers.image.source="https://github.com/zntrio/harp.git" \ org.opencontainers.image.revision=$VCS_REF \ org.opencontainers.image.vendor="Elastic" \ org.opencontainers.image.version=$VERSION \ diff --git a/build/mage/golang/build.go b/build/mage/golang/build.go index 4e83fab3..57059302 100644 --- a/build/mage/golang/build.go +++ b/build/mage/golang/build.go @@ -28,7 +28,7 @@ import ( "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" - "github.com/elastic/harp/build/mage/git" + "github.com/zntrio/harp/build/mage/git" ) type buildOpts struct { @@ -148,13 +148,13 @@ func Build(name, packageName, version string, opts ...BuildOption) func() error // Inject version information varsSetByLinker := map[string]string{ - "github.com/elastic/harp/build/version.Name": name, - "github.com/elastic/harp/build/version.AppName": packageName, - "github.com/elastic/harp/build/version.Version": version, - "github.com/elastic/harp/build/version.Commit": git.Revision, - "github.com/elastic/harp/build/version.Branch": git.Branch, - "github.com/elastic/harp/build/version.BuildDate": time.Now().Format(time.RFC3339), - "github.com/elastic/harp/build/version.BuildTags": strCompilationFlags, + "github.com/zntrio/harp/build/version.Name": name, + "github.com/zntrio/harp/build/version.AppName": packageName, + "github.com/zntrio/harp/build/version.Version": version, + "github.com/zntrio/harp/build/version.Commit": git.Revision, + "github.com/zntrio/harp/build/version.Branch": git.Branch, + "github.com/zntrio/harp/build/version.BuildDate": time.Now().Format(time.RFC3339), + "github.com/zntrio/harp/build/version.BuildTags": strCompilationFlags, } var linkerArgs []string for name, value := range varsSetByLinker { diff --git a/build/mage/golang/is.go b/build/mage/golang/is.go index 802d4dc3..c6b4b398 100644 --- a/build/mage/golang/is.go +++ b/build/mage/golang/is.go @@ -24,7 +24,7 @@ import ( semver "github.com/Masterminds/semver/v3" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" ) var versionSemverRe = regexp.MustCompile("[0-9.]+") diff --git a/build/mage/golang/release.go b/build/mage/golang/release.go index fbb25472..a88599d9 100644 --- a/build/mage/golang/release.go +++ b/build/mage/golang/release.go @@ -23,7 +23,7 @@ import ( "github.com/magefile/mage/mg" - "github.com/elastic/harp/build/mage/git" + "github.com/zntrio/harp/build/mage/git" ) // ----------------------------------------------------------------------------- diff --git a/build/mage/release/formula.go b/build/mage/release/formula.go index 62889cee..42615d2d 100644 --- a/build/mage/release/formula.go +++ b/build/mage/release/formula.go @@ -26,7 +26,7 @@ import ( "strings" "text/template" - "github.com/elastic/harp/build/artifact" + "github.com/zntrio/harp/build/artifact" ) var formulaTemplate = strings.TrimSpace(`# typed: false diff --git a/build/version/version.go b/build/version/version.go index 699ae0de..2186fdb5 100644 --- a/build/version/version.go +++ b/build/version/version.go @@ -25,7 +25,7 @@ import ( "github.com/dchest/uniuri" - "github.com/elastic/harp/build/fips" + "github.com/zntrio/harp/build/fips" ) // Build information. Populated at build-time. @@ -107,7 +107,7 @@ func getSDKVersion() string { // Look for harp dependency version var sdkVersion string for _, dep := range deps.Deps { - if dep.Path == "github.com/elastic/harp" { + if dep.Path == "github.com/zntrio/harp" { sdkVersion = dep.Version } } diff --git a/cmd/harp/internal/cmd/bug.go b/cmd/harp/internal/cmd/bug.go index 521edf54..68fa373d 100644 --- a/cmd/harp/internal/cmd/bug.go +++ b/cmd/harp/internal/cmd/bug.go @@ -25,8 +25,8 @@ import ( "github.com/skratchdot/open-golang/open" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" ) // ----------------------------------------------------------------------------- @@ -56,9 +56,9 @@ func runBug(cmd *cobra.Command, args []string) { body := cmdutil.BugReport() // Open the browser to issue creation form - reportURL := "https://github.com/elastic/harp/issues/new?body=" + url.QueryEscape(body) + reportURL := "https://github.com/zntrio/harp/issues/new?body=" + url.QueryEscape(body) if err := open.Run(reportURL); err != nil { - fmt.Fprint(os.Stdout, "Please file a new issue at github.com/elastic/harp/issues/new using this template:\n\n") + fmt.Fprint(os.Stdout, "Please file a new issue at github.com/zntrio/harp/issues/new using this template:\n\n") fmt.Fprint(os.Stdout, body) } } diff --git a/cmd/harp/internal/cmd/bundle_decrypt.go b/cmd/harp/internal/cmd/bundle_decrypt.go index 3f8c2519..134071ba 100644 --- a/cmd/harp/internal/cmd/bundle_decrypt.go +++ b/cmd/harp/internal/cmd/bundle_decrypt.go @@ -21,11 +21,11 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_diff.go b/cmd/harp/internal/cmd/bundle_diff.go index bc050704..4c03cde3 100644 --- a/cmd/harp/internal/cmd/bundle_diff.go +++ b/cmd/harp/internal/cmd/bundle_diff.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_dump.go b/cmd/harp/internal/cmd/bundle_dump.go index 4b97ef98..55547309 100644 --- a/cmd/harp/internal/cmd/bundle_dump.go +++ b/cmd/harp/internal/cmd/bundle_dump.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_encrypt.go b/cmd/harp/internal/cmd/bundle_encrypt.go index 1492c5f6..8ec33881 100644 --- a/cmd/harp/internal/cmd/bundle_encrypt.go +++ b/cmd/harp/internal/cmd/bundle_encrypt.go @@ -23,11 +23,11 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_filter.go b/cmd/harp/internal/cmd/bundle_filter.go index ba1d09c6..02df6a7f 100644 --- a/cmd/harp/internal/cmd/bundle_filter.go +++ b/cmd/harp/internal/cmd/bundle_filter.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_lint.go b/cmd/harp/internal/cmd/bundle_lint.go index fd4daaf4..605e3ad9 100644 --- a/cmd/harp/internal/cmd/bundle_lint.go +++ b/cmd/harp/internal/cmd/bundle_lint.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_patch.go b/cmd/harp/internal/cmd/bundle_patch.go index 9c22025d..995f958e 100644 --- a/cmd/harp/internal/cmd/bundle_patch.go +++ b/cmd/harp/internal/cmd/bundle_patch.go @@ -21,11 +21,11 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/bundle/patch" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" - tplcmdutil "github.com/elastic/harp/pkg/template/cmdutil" + "github.com/zntrio/harp/pkg/bundle/patch" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" + tplcmdutil "github.com/zntrio/harp/pkg/template/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_prefixer.go b/cmd/harp/internal/cmd/bundle_prefixer.go index ea1111cf..bd08e3da 100644 --- a/cmd/harp/internal/cmd/bundle_prefixer.go +++ b/cmd/harp/internal/cmd/bundle_prefixer.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/bundle_read.go b/cmd/harp/internal/cmd/bundle_read.go index 9b140206..97f207e1 100644 --- a/cmd/harp/internal/cmd/bundle_read.go +++ b/cmd/harp/internal/cmd/bundle_read.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/bundle" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/container_identity.go b/cmd/harp/internal/cmd/container_identity.go index 436c9b65..f893570b 100644 --- a/cmd/harp/internal/cmd/container_identity.go +++ b/cmd/harp/internal/cmd/container_identity.go @@ -21,14 +21,14 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" - "github.com/elastic/harp/pkg/sdk/value/encryption/jwe" - "github.com/elastic/harp/pkg/tasks/container" - "github.com/elastic/harp/pkg/vault" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value/encryption/jwe" + "github.com/zntrio/harp/pkg/tasks/container" + "github.com/zntrio/harp/pkg/vault" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/container_recover.go b/cmd/harp/internal/cmd/container_recover.go index 40841655..7e1b642a 100644 --- a/cmd/harp/internal/cmd/container_recover.go +++ b/cmd/harp/internal/cmd/container_recover.go @@ -21,13 +21,13 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" - "github.com/elastic/harp/pkg/sdk/value/encryption/jwe" - "github.com/elastic/harp/pkg/tasks/container" - "github.com/elastic/harp/pkg/vault" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value/encryption/jwe" + "github.com/zntrio/harp/pkg/tasks/container" + "github.com/zntrio/harp/pkg/vault" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/container_seal.go b/cmd/harp/internal/cmd/container_seal.go index 4d79b7f9..bcca2efc 100644 --- a/cmd/harp/internal/cmd/container_seal.go +++ b/cmd/harp/internal/cmd/container_seal.go @@ -21,13 +21,13 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/container/identity" - "github.com/elastic/harp/pkg/container/identity/key" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks/container" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/container/identity" + "github.com/zntrio/harp/pkg/container/identity/key" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks/container" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/container_unseal.go b/cmd/harp/internal/cmd/container_unseal.go index 313829b3..b335f2c7 100644 --- a/cmd/harp/internal/cmd/container_unseal.go +++ b/cmd/harp/internal/cmd/container_unseal.go @@ -22,9 +22,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/container" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/container" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/crate_copy.go b/cmd/harp/internal/cmd/crate_copy.go index ab6aa973..e3eee600 100644 --- a/cmd/harp/internal/cmd/crate_copy.go +++ b/cmd/harp/internal/cmd/crate_copy.go @@ -22,9 +22,9 @@ import ( "go.uber.org/zap" "oras.land/oras-go/pkg/content" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/crate" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/crate" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/crate_extract_archive.go b/cmd/harp/internal/cmd/crate_extract_archive.go index 3de46e0e..d9c7741a 100644 --- a/cmd/harp/internal/cmd/crate_extract_archive.go +++ b/cmd/harp/internal/cmd/crate_extract_archive.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/crate" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/crate" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/crate_push.go b/cmd/harp/internal/cmd/crate_push.go index cb4043e1..20fa5088 100644 --- a/cmd/harp/internal/cmd/crate_push.go +++ b/cmd/harp/internal/cmd/crate_push.go @@ -22,9 +22,9 @@ import ( "go.uber.org/zap" "oras.land/oras-go/pkg/content" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/crate" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/crate" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/cso_parse.go b/cmd/harp/internal/cmd/cso_parse.go index f5be11b4..b6382c78 100644 --- a/cmd/harp/internal/cmd/cso_parse.go +++ b/cmd/harp/internal/cmd/cso_parse.go @@ -25,9 +25,9 @@ import ( "go.uber.org/zap" "google.golang.org/protobuf/encoding/protojson" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" ) var ( diff --git a/cmd/harp/internal/cmd/cso_validate.go b/cmd/harp/internal/cmd/cso_validate.go index 89db8dee..5c1539e6 100644 --- a/cmd/harp/internal/cmd/cso_validate.go +++ b/cmd/harp/internal/cmd/cso_validate.go @@ -25,9 +25,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" ) var ( diff --git a/cmd/harp/internal/cmd/doc.go b/cmd/harp/internal/cmd/doc.go index 0fa3773b..184507af 100644 --- a/cmd/harp/internal/cmd/doc.go +++ b/cmd/harp/internal/cmd/doc.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/cobra/doc" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_bundle_template.go b/cmd/harp/internal/cmd/from_bundle_template.go index 855c75ec..ac84ece8 100644 --- a/cmd/harp/internal/cmd/from_bundle_template.go +++ b/cmd/harp/internal/cmd/from_bundle_template.go @@ -24,11 +24,11 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" - tplcmdutil "github.com/elastic/harp/pkg/template/cmdutil" - "github.com/elastic/harp/pkg/template/engine" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" + tplcmdutil "github.com/zntrio/harp/pkg/template/cmdutil" + "github.com/zntrio/harp/pkg/template/engine" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_consul.go b/cmd/harp/internal/cmd/from_consul.go index afa0d7cc..620b9095 100644 --- a/cmd/harp/internal/cmd/from_consul.go +++ b/cmd/harp/internal/cmd/from_consul.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv/consul" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/kv/consul" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_dump.go b/cmd/harp/internal/cmd/from_dump.go index 9076150b..a36329b6 100644 --- a/cmd/harp/internal/cmd/from_dump.go +++ b/cmd/harp/internal/cmd/from_dump.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_etcd3.go b/cmd/harp/internal/cmd/from_etcd3.go index c4c681f5..e4f7d76a 100644 --- a/cmd/harp/internal/cmd/from_etcd3.go +++ b/cmd/harp/internal/cmd/from_etcd3.go @@ -25,11 +25,11 @@ import ( clientv3 "go.etcd.io/etcd/client/v3" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv/etcd3" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/tlsconfig" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/kv/etcd3" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/tlsconfig" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_hcl.go b/cmd/harp/internal/cmd/from_hcl.go index afd84f36..50a25caa 100644 --- a/cmd/harp/internal/cmd/from_hcl.go +++ b/cmd/harp/internal/cmd/from_hcl.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_jsonmap.go b/cmd/harp/internal/cmd/from_jsonmap.go index 2061df17..185cd150 100644 --- a/cmd/harp/internal/cmd/from_jsonmap.go +++ b/cmd/harp/internal/cmd/from_jsonmap.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_object.go b/cmd/harp/internal/cmd/from_object.go index a3eca88d..941a9c87 100644 --- a/cmd/harp/internal/cmd/from_object.go +++ b/cmd/harp/internal/cmd/from_object.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_oplog.go b/cmd/harp/internal/cmd/from_oplog.go index 3d1c5af1..47d4f059 100644 --- a/cmd/harp/internal/cmd/from_oplog.go +++ b/cmd/harp/internal/cmd/from_oplog.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_vault.go b/cmd/harp/internal/cmd/from_vault.go index 63d4a9dd..dc0fe4e0 100644 --- a/cmd/harp/internal/cmd/from_vault.go +++ b/cmd/harp/internal/cmd/from_vault.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/from_zookeeper.go b/cmd/harp/internal/cmd/from_zookeeper.go index a7bb8b5a..32f0715f 100644 --- a/cmd/harp/internal/cmd/from_zookeeper.go +++ b/cmd/harp/internal/cmd/from_zookeeper.go @@ -25,10 +25,10 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv/zookeeper" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/from" + "github.com/zntrio/harp/pkg/kv/zookeeper" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/from" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen.go b/cmd/harp/internal/cmd/keygen.go index 8f7320a9..a9849511 100644 --- a/cmd/harp/internal/cmd/keygen.go +++ b/cmd/harp/internal/cmd/keygen.go @@ -20,7 +20,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/elastic/harp/build/fips" + "github.com/zntrio/harp/build/fips" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_aes_gcm.go b/cmd/harp/internal/cmd/keygen_aes_gcm.go index d9ab8053..b6bb8fb0 100644 --- a/cmd/harp/internal/cmd/keygen_aes_gcm.go +++ b/cmd/harp/internal/cmd/keygen_aes_gcm.go @@ -25,8 +25,8 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_aes_pmac_siv.go b/cmd/harp/internal/cmd/keygen_aes_pmac_siv.go index 46924680..2b7d5d58 100644 --- a/cmd/harp/internal/cmd/keygen_aes_pmac_siv.go +++ b/cmd/harp/internal/cmd/keygen_aes_pmac_siv.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_aes_siv.go b/cmd/harp/internal/cmd/keygen_aes_siv.go index 6a65b8f3..d42ab30f 100644 --- a/cmd/harp/internal/cmd/keygen_aes_siv.go +++ b/cmd/harp/internal/cmd/keygen_aes_siv.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_chacha.go b/cmd/harp/internal/cmd/keygen_chacha.go index f41bc6b8..453d58c8 100644 --- a/cmd/harp/internal/cmd/keygen_chacha.go +++ b/cmd/harp/internal/cmd/keygen_chacha.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_fernet.go b/cmd/harp/internal/cmd/keygen_fernet.go index fc993898..8ebfb8ec 100644 --- a/cmd/harp/internal/cmd/keygen_fernet.go +++ b/cmd/harp/internal/cmd/keygen_fernet.go @@ -25,8 +25,8 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_jwk.go b/cmd/harp/internal/cmd/keygen_jwk.go index 93a68675..c73b2c24 100644 --- a/cmd/harp/internal/cmd/keygen_jwk.go +++ b/cmd/harp/internal/cmd/keygen_jwk.go @@ -22,9 +22,9 @@ import ( "go.uber.org/zap" "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/keygen" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/keygen" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_master_key.go b/cmd/harp/internal/cmd/keygen_master_key.go index 6059cc0c..20d50740 100644 --- a/cmd/harp/internal/cmd/keygen_master_key.go +++ b/cmd/harp/internal/cmd/keygen_master_key.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_paseto.go b/cmd/harp/internal/cmd/keygen_paseto.go index f4647399..bc90d8c4 100644 --- a/cmd/harp/internal/cmd/keygen_paseto.go +++ b/cmd/harp/internal/cmd/keygen_paseto.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_secretbox.go b/cmd/harp/internal/cmd/keygen_secretbox.go index 8e086932..c88d81eb 100644 --- a/cmd/harp/internal/cmd/keygen_secretbox.go +++ b/cmd/harp/internal/cmd/keygen_secretbox.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/keygen_xchacha.go b/cmd/harp/internal/cmd/keygen_xchacha.go index bafbc9ff..412fb89e 100644 --- a/cmd/harp/internal/cmd/keygen_xchacha.go +++ b/cmd/harp/internal/cmd/keygen_xchacha.go @@ -25,7 +25,7 @@ import ( "github.com/awnumar/memguard" "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/lint.go b/cmd/harp/internal/cmd/lint.go index c6820841..390fe209 100644 --- a/cmd/harp/internal/cmd/lint.go +++ b/cmd/harp/internal/cmd/lint.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/lint" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/lint" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/passphrase.go b/cmd/harp/internal/cmd/passphrase.go index 59563600..c02c82f4 100644 --- a/cmd/harp/internal/cmd/passphrase.go +++ b/cmd/harp/internal/cmd/passphrase.go @@ -24,9 +24,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/security/diceware" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/security/diceware" ) var passphraseWordCount int8 diff --git a/cmd/harp/internal/cmd/plugin_list.go b/cmd/harp/internal/cmd/plugin_list.go index f87e861f..e61e3c6d 100644 --- a/cmd/harp/internal/cmd/plugin_list.go +++ b/cmd/harp/internal/cmd/plugin_list.go @@ -27,7 +27,7 @@ import ( "github.com/spf13/cobra" - "github.com/elastic/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/cmdutil" ) // ValidPluginFilenamePrefixes defines harp plugin prefix to discover diff --git a/cmd/harp/internal/cmd/render.go b/cmd/harp/internal/cmd/render.go index c3b8ac39..a8a28112 100644 --- a/cmd/harp/internal/cmd/render.go +++ b/cmd/harp/internal/cmd/render.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/template" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/template" ) type renderParams struct { diff --git a/cmd/harp/internal/cmd/root.go b/cmd/harp/internal/cmd/root.go index b64ea5ca..50e6e2d2 100644 --- a/cmd/harp/internal/cmd/root.go +++ b/cmd/harp/internal/cmd/root.go @@ -24,12 +24,12 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/build/version" - iconfig "github.com/elastic/harp/cmd/harp/internal/config" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/config" - configcmd "github.com/elastic/harp/pkg/sdk/config/cmd" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/build/version" + iconfig "github.com/zntrio/harp/cmd/harp/internal/config" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/config" + configcmd "github.com/zntrio/harp/pkg/sdk/config/cmd" + "github.com/zntrio/harp/pkg/sdk/log" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/share_get.go b/cmd/harp/internal/cmd/share_get.go index fade8394..d74a90c2 100644 --- a/cmd/harp/internal/cmd/share_get.go +++ b/cmd/harp/internal/cmd/share_get.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/share" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/share" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/share_put.go b/cmd/harp/internal/cmd/share_put.go index 0242f03b..4a93915c 100644 --- a/cmd/harp/internal/cmd/share_put.go +++ b/cmd/harp/internal/cmd/share_put.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/share" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/share" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/template.go b/cmd/harp/internal/cmd/template.go index 95e4d0b5..6daf157a 100644 --- a/cmd/harp/internal/cmd/template.go +++ b/cmd/harp/internal/cmd/template.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/template" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/template" ) type templateParams struct { diff --git a/cmd/harp/internal/cmd/to_consul.go b/cmd/harp/internal/cmd/to_consul.go index 338697e9..18588c89 100644 --- a/cmd/harp/internal/cmd/to_consul.go +++ b/cmd/harp/internal/cmd/to_consul.go @@ -22,10 +22,10 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv/consul" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/kv/consul" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/to_etcd3.go b/cmd/harp/internal/cmd/to_etcd3.go index 7f5badb8..96fa745f 100644 --- a/cmd/harp/internal/cmd/to_etcd3.go +++ b/cmd/harp/internal/cmd/to_etcd3.go @@ -24,11 +24,11 @@ import ( clientv3 "go.etcd.io/etcd/client/v3" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv/etcd3" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/tlsconfig" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/kv/etcd3" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/tlsconfig" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/to_gha.go b/cmd/harp/internal/cmd/to_gha.go index d829a2fc..c4f6afa7 100644 --- a/cmd/harp/internal/cmd/to_gha.go +++ b/cmd/harp/internal/cmd/to_gha.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/to_object.go b/cmd/harp/internal/cmd/to_object.go index 7283d9e6..25ee518b 100644 --- a/cmd/harp/internal/cmd/to_object.go +++ b/cmd/harp/internal/cmd/to_object.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/to_ruleset.go b/cmd/harp/internal/cmd/to_ruleset.go index feb40cc9..cc44ebe6 100644 --- a/cmd/harp/internal/cmd/to_ruleset.go +++ b/cmd/harp/internal/cmd/to_ruleset.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/to_vault.go b/cmd/harp/internal/cmd/to_vault.go index 2af50744..7e8423a4 100644 --- a/cmd/harp/internal/cmd/to_vault.go +++ b/cmd/harp/internal/cmd/to_vault.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/to_zookeeper.go b/cmd/harp/internal/cmd/to_zookeeper.go index f21493a0..050d0dca 100644 --- a/cmd/harp/internal/cmd/to_zookeeper.go +++ b/cmd/harp/internal/cmd/to_zookeeper.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv/zookeeper" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/to" + "github.com/zntrio/harp/pkg/kv/zookeeper" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/to" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_compress.go b/cmd/harp/internal/cmd/transform_compress.go index aca27a65..db301119 100644 --- a/cmd/harp/internal/cmd/transform_compress.go +++ b/cmd/harp/internal/cmd/transform_compress.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/compression" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/compression" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_decode.go b/cmd/harp/internal/cmd/transform_decode.go index b14448e6..9e5ec171 100644 --- a/cmd/harp/internal/cmd/transform_decode.go +++ b/cmd/harp/internal/cmd/transform_decode.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/encoding" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/encoding" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_decompress.go b/cmd/harp/internal/cmd/transform_decompress.go index 4d9de8a0..3197b35d 100644 --- a/cmd/harp/internal/cmd/transform_decompress.go +++ b/cmd/harp/internal/cmd/transform_decompress.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/compression" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/compression" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_decrypt.go b/cmd/harp/internal/cmd/transform_decrypt.go index 13a32fd0..6055623d 100644 --- a/cmd/harp/internal/cmd/transform_decrypt.go +++ b/cmd/harp/internal/cmd/transform_decrypt.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/encoding" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/encoding" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_encode.go b/cmd/harp/internal/cmd/transform_encode.go index ce205fc6..32f175fc 100644 --- a/cmd/harp/internal/cmd/transform_encode.go +++ b/cmd/harp/internal/cmd/transform_encode.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/encoding" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/encoding" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_encrypt.go b/cmd/harp/internal/cmd/transform_encrypt.go index 3aee5b29..733dfe0d 100644 --- a/cmd/harp/internal/cmd/transform_encrypt.go +++ b/cmd/harp/internal/cmd/transform_encrypt.go @@ -24,10 +24,10 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/encoding" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/encoding" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_encryption.go b/cmd/harp/internal/cmd/transform_encryption.go index 8083831d..9463342b 100644 --- a/cmd/harp/internal/cmd/transform_encryption.go +++ b/cmd/harp/internal/cmd/transform_encryption.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_hash.go b/cmd/harp/internal/cmd/transform_hash.go index 9bd02d19..632c3b32 100644 --- a/cmd/harp/internal/cmd/transform_hash.go +++ b/cmd/harp/internal/cmd/transform_hash.go @@ -27,11 +27,11 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/security" - "github.com/elastic/harp/pkg/sdk/value/encoding" - "github.com/elastic/harp/pkg/sdk/value/hash" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/security" + "github.com/zntrio/harp/pkg/sdk/value/encoding" + "github.com/zntrio/harp/pkg/sdk/value/hash" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_multihash.go b/cmd/harp/internal/cmd/transform_multihash.go index 5b874aab..7cb5bc8b 100644 --- a/cmd/harp/internal/cmd/transform_multihash.go +++ b/cmd/harp/internal/cmd/transform_multihash.go @@ -26,9 +26,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/hash" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/hash" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_sign.go b/cmd/harp/internal/cmd/transform_sign.go index 2af50668..d3b8b8f2 100644 --- a/cmd/harp/internal/cmd/transform_sign.go +++ b/cmd/harp/internal/cmd/transform_sign.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/transform_verify.go b/cmd/harp/internal/cmd/transform_verify.go index 78914b44..b874d5c0 100644 --- a/cmd/harp/internal/cmd/transform_verify.go +++ b/cmd/harp/internal/cmd/transform_verify.go @@ -23,9 +23,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) // ----------------------------------------------------------------------------- diff --git a/cmd/harp/internal/cmd/values.go b/cmd/harp/internal/cmd/values.go index 5ce88416..35801153 100644 --- a/cmd/harp/internal/cmd/values.go +++ b/cmd/harp/internal/cmd/values.go @@ -21,9 +21,9 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks/template" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks/template" ) type valuesParams struct { diff --git a/cmd/harp/internal/config/config.go b/cmd/harp/internal/config/config.go index de40f9be..a5ae6311 100644 --- a/cmd/harp/internal/config/config.go +++ b/cmd/harp/internal/config/config.go @@ -17,7 +17,7 @@ package config -import "github.com/elastic/harp/pkg/sdk/platform" +import "github.com/zntrio/harp/pkg/sdk/platform" // Configuration contains harp settings type Configuration struct { diff --git a/cmd/harp/loader_fips.go b/cmd/harp/loader_fips.go index 2961b51f..dbb521ab 100644 --- a/cmd/harp/loader_fips.go +++ b/cmd/harp/loader_fips.go @@ -31,12 +31,12 @@ import ( _ "golang.org/x/crypto/sha3" // Register encryption transformers - _ "github.com/elastic/harp/pkg/sdk/value/encryption/aead" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/dae" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/fernet" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/jwe" - _ "github.com/elastic/harp/pkg/sdk/value/signature/jws" - _ "github.com/elastic/harp/pkg/sdk/value/signature/paseto" - _ "github.com/elastic/harp/pkg/sdk/value/signature/raw" - _ "github.com/elastic/harp/pkg/vault" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/aead" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/dae" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/fernet" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/jwe" + _ "github.com/zntrio/harp/pkg/sdk/value/signature/jws" + _ "github.com/zntrio/harp/pkg/sdk/value/signature/paseto" + _ "github.com/zntrio/harp/pkg/sdk/value/signature/raw" + _ "github.com/zntrio/harp/pkg/vault" ) diff --git a/cmd/harp/loader_nonfips.go b/cmd/harp/loader_nonfips.go index 2d2c8eb0..0cab4bd8 100644 --- a/cmd/harp/loader_nonfips.go +++ b/cmd/harp/loader_nonfips.go @@ -33,15 +33,15 @@ import ( _ "golang.org/x/crypto/sha3" // Register encryption transformers - _ "github.com/elastic/harp/pkg/sdk/value/encryption/aead" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/age" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/dae" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/fernet" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/jwe" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/paseto" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/secretbox" - _ "github.com/elastic/harp/pkg/sdk/value/signature/jws" - _ "github.com/elastic/harp/pkg/sdk/value/signature/paseto" - _ "github.com/elastic/harp/pkg/sdk/value/signature/raw" - _ "github.com/elastic/harp/pkg/vault" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/aead" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/age" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/dae" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/fernet" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/jwe" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/paseto" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/secretbox" + _ "github.com/zntrio/harp/pkg/sdk/value/signature/jws" + _ "github.com/zntrio/harp/pkg/sdk/value/signature/paseto" + _ "github.com/zntrio/harp/pkg/sdk/value/signature/raw" + _ "github.com/zntrio/harp/pkg/vault" ) diff --git a/cmd/harp/main.go b/cmd/harp/main.go index 1b981aba..03c5ecc3 100644 --- a/cmd/harp/main.go +++ b/cmd/harp/main.go @@ -21,8 +21,8 @@ import ( "math/rand" "time" - "github.com/elastic/harp/cmd/harp/internal/cmd" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/cmd/harp/internal/cmd" + "github.com/zntrio/harp/pkg/sdk/log" ) func init() { diff --git a/docs/cso/HowTo.md b/docs/cso/HowTo.md index 469061d3..93092bd0 100644 --- a/docs/cso/HowTo.md +++ b/docs/cso/HowTo.md @@ -26,7 +26,7 @@ The purpose of the Cloud Secret Organization (CSO) is to allow for a common stru ### What do I need to get started? - - [Elastic Harp](https://github.com/elastic/harp) + - [Elastic Harp](https://github.com/zntrio/harp) - A set of secrets - A text editor, like `vim` - `jq` and `yq` for validations @@ -97,7 +97,7 @@ Now that we have some idea how to structure the secrets, we need to store them. `Harp` uses specification documents called `spec` files to determine what to store where. These can be formatted as either YAML or JSON. The format allows `harp` to validate both the location (based on the directory paths above) and the format of a secret. If needed, the `spec` file will instruct `harp` on how to generate a secret based on specific criteria if one does not exist. It is possible, with the right syntax, to populate a completely blank `secret store` with all the values needed for a new service deployment automatically. -The spec file is documented in full in the [https://github.com/elastic/harp/tree/main/docs/onboarding/1-template-engine](Harp Onboarding Docs). There is a LOT in there, and we cannot possible cover all the cases in this document. +The spec file is documented in full in the [https://github.com/zntrio/harp/tree/main/docs/onboarding/1-template-engine](Harp Onboarding Docs). There is a LOT in there, and we cannot possible cover all the cases in this document. ### A Sample set of secrets diff --git a/docs/onboarding/3-secret-bundle/2-bundle.md b/docs/onboarding/3-secret-bundle/2-bundle.md index 74637bb8..39fe6014 100644 --- a/docs/onboarding/3-secret-bundle/2-bundle.md +++ b/docs/onboarding/3-secret-bundle/2-bundle.md @@ -13,7 +13,7 @@ ## Specification -This [specification](https://github.com/elastic/harp/blob/main/api/proto/harp/bundle/v1/bundle.proto) declares internal secret storage object structure. +This [specification](https://github.com/zntrio/harp/blob/main/api/proto/harp/bundle/v1/bundle.proto) declares internal secret storage object structure. This is used to store data and metadata related to objects. diff --git a/docs/onboarding/3-secret-bundle/3-template.md b/docs/onboarding/3-secret-bundle/3-template.md index 65671760..5243f571 100644 --- a/docs/onboarding/3-secret-bundle/3-template.md +++ b/docs/onboarding/3-secret-bundle/3-template.md @@ -25,7 +25,7 @@ secret paths and matching values. ## Specifications -This [specification](https://github.com/elastic/harp/blob/main/api/proto/harp/bundle/v1/template.proto) declares Bundle generation template object structure. +This [specification](https://github.com/zntrio/harp/blob/main/api/proto/harp/bundle/v1/template.proto) declares Bundle generation template object structure. The specification is written in YAML, in order to be human-readable, but internally converted as protobuf object. @@ -91,7 +91,7 @@ spec: #### Infrastructure secrets -> Protobuf definition - [InfrastructureNS](https://github.com/elastic/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L83) +> Protobuf definition - [InfrastructureNS](https://github.com/zntrio/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L83) An `infrastructure` is a consistent set of resource provided by an infrastructure provider (IaaS). @@ -135,7 +135,7 @@ This will generate a secret like the following one : #### Platform secrets -> Protobuf definition - [PlatformNS](https://github.com/elastic/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L117) +> Protobuf definition - [PlatformNS](https://github.com/zntrio/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L117) A `platform` is a regionalized consistent set of infrastructure resources working together in order to provide services to products. @@ -215,7 +215,7 @@ This will generate 3 secrets like the following ones: #### Product secrets -> Protobuf definition - [ProductComponentNS](https://github.com/elastic/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L139) +> Protobuf definition - [ProductComponentNS](https://github.com/zntrio/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L139) A `product` in CSO, is a virtual concept for non-instantiable resources, and not related to execution. @@ -257,7 +257,7 @@ This will generate a secret like the following one : #### Application secrets -> Protobuf definition - [ApplicationComponentNS](https://github.com/elastic/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L151) +> Protobuf definition - [ApplicationComponentNS](https://github.com/zntrio/harp/blob/main/api/proto/harp/bundle/v1/template.proto#L151) An `application` is an instance of a `product` running on a `platform` at a `quality` stage level. diff --git a/go.mod b/go.mod index cc50edf0..d8b9ab0c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/elastic/harp +module github.com/zntrio/harp go 1.18 diff --git a/magefile.go b/magefile.go index d58ae912..46de879e 100644 --- a/magefile.go +++ b/magefile.go @@ -31,11 +31,11 @@ import ( "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" - "github.com/elastic/harp/build/artifact" - "github.com/elastic/harp/build/mage/docker" - "github.com/elastic/harp/build/mage/git" - "github.com/elastic/harp/build/mage/golang" - "github.com/elastic/harp/build/mage/release" + "github.com/zntrio/harp/build/artifact" + "github.com/zntrio/harp/build/mage/docker" + "github.com/zntrio/harp/build/mage/git" + "github.com/zntrio/harp/build/mage/golang" + "github.com/zntrio/harp/build/mage/release" ) // ----------------------------------------------------------------------------- @@ -69,7 +69,7 @@ func (Code) Generate() { color.Cyan("## Generate code") mg.SerialDeps( func() error { - return golang.Generate("SDK", "github.com/elastic/harp/pkg/...")() + return golang.Generate("SDK", "github.com/zntrio/harp/pkg/...")() }, ) } @@ -95,7 +95,7 @@ var Default = Build var ( harpCli = &artifact.Command{ - Package: "github.com/elastic/harp", + Package: "github.com/zntrio/harp", Name: "Harp", Description: "Secret management toolchain", } @@ -134,10 +134,10 @@ func (Test) Unit() { color.Cyan("## Unit Tests") mg.SerialDeps( func() error { - return golang.UnitTest("github.com/elastic/harp/pkg/...")() + return golang.UnitTest("github.com/zntrio/harp/pkg/...")() }, func() error { - return golang.UnitTest("github.com/elastic/harp/cmd/harp/...")() + return golang.UnitTest("github.com/zntrio/harp/cmd/harp/...")() }, ) } @@ -147,7 +147,7 @@ func (Test) CLI() { color.Cyan("## CLI Tests") mg.SerialDeps( func() error { - return golang.UnitTest("github.com/elastic/harp/test/cmd")() + return golang.UnitTest("github.com/zntrio/harp/test/cmd")() }, ) } @@ -161,7 +161,7 @@ func Compile() error { } // Build artifact - return golang.Build("harp", "github.com/elastic/harp/cmd/harp", version)() + return golang.Build("harp", "github.com/zntrio/harp/cmd/harp", version)() } // Release harp version and cross-compile code to produce all artifacts. @@ -181,7 +181,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("darwin"), golang.GOARCH("amd64"), )() @@ -189,7 +189,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("darwin"), golang.GOARCH("arm64"), )() @@ -197,7 +197,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("linux"), golang.GOARCH("amd64"), )() @@ -205,7 +205,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("linux"), golang.GOARCH("arm"), golang.GOARM("7"), )() @@ -213,7 +213,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("linux"), golang.GOARCH("arm64"), )() @@ -221,7 +221,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("windows"), golang.GOARCH("amd64"), )() @@ -229,7 +229,7 @@ func Release(ctx context.Context) error { func() error { return golang.Release( "harp", - "github.com/elastic/harp/cmd/harp", + "github.com/zntrio/harp/cmd/harp", version, golang.GOOS("windows"), golang.GOARCH("arm64"), )() diff --git a/pkg/bundle/api.go b/pkg/bundle/api.go index e7afd3db..51a27f00 100644 --- a/pkg/bundle/api.go +++ b/pkg/bundle/api.go @@ -20,7 +20,7 @@ package bundle import ( "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // Reader exposes bundle reader contract diff --git a/pkg/bundle/builders.go b/pkg/bundle/builders.go index 3919012a..fabf20da 100644 --- a/pkg/bundle/builders.go +++ b/pkg/bundle/builders.go @@ -26,11 +26,11 @@ import ( "google.golang.org/protobuf/encoding/protojson" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/compare" - "github.com/elastic/harp/pkg/bundle/hcl" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/compare" + "github.com/zntrio/harp/pkg/bundle/hcl" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/types" ) // FromDump creates a bundle from a JSON Dump. diff --git a/pkg/bundle/builders_test.go b/pkg/bundle/builders_test.go index fc8a24c5..ee7dce9d 100644 --- a/pkg/bundle/builders_test.go +++ b/pkg/bundle/builders_test.go @@ -26,7 +26,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func TestFromDump(t *testing.T) { diff --git a/pkg/bundle/bundle.go b/pkg/bundle/bundle.go index 97cde13a..b5ead8ce 100644 --- a/pkg/bundle/bundle.go +++ b/pkg/bundle/bundle.go @@ -26,8 +26,8 @@ import ( "gitlab.com/NebulousLabs/merkletree" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - csov1 "github.com/elastic/harp/pkg/cso/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + csov1 "github.com/zntrio/harp/pkg/cso/v1" ) // Annotate a bundle object. diff --git a/pkg/bundle/codec.go b/pkg/bundle/codec.go index 11edfd37..08242706 100644 --- a/pkg/bundle/codec.go +++ b/pkg/bundle/codec.go @@ -27,10 +27,10 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/security" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/security" + "github.com/zntrio/harp/pkg/sdk/types" ) // Load a file bundle from the buffer. diff --git a/pkg/bundle/codec_test.go b/pkg/bundle/codec_test.go index 65c84533..2722734f 100644 --- a/pkg/bundle/codec_test.go +++ b/pkg/bundle/codec_test.go @@ -24,8 +24,8 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" ) var ( diff --git a/pkg/bundle/compare/diff.go b/pkg/bundle/compare/diff.go index ba406b67..18326618 100644 --- a/pkg/bundle/compare/diff.go +++ b/pkg/bundle/compare/diff.go @@ -22,9 +22,9 @@ import ( "sort" "strings" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/security" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/security" ) const ( diff --git a/pkg/bundle/compare/diff_test.go b/pkg/bundle/compare/diff_test.go index 55ce0648..7801b603 100644 --- a/pkg/bundle/compare/diff_test.go +++ b/pkg/bundle/compare/diff_test.go @@ -23,8 +23,8 @@ import ( "github.com/google/go-cmp/cmp" fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" ) func MustPack(value interface{}) []byte { diff --git a/pkg/bundle/compare/patch.go b/pkg/bundle/compare/patch.go index 0a173dbf..d68d4f4e 100644 --- a/pkg/bundle/compare/patch.go +++ b/pkg/bundle/compare/patch.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // ToPatch convert oplog to a bundle patch. diff --git a/pkg/bundle/compare/patch_test.go b/pkg/bundle/compare/patch_test.go index 81910b41..c1149b30 100644 --- a/pkg/bundle/compare/patch_test.go +++ b/pkg/bundle/compare/patch_test.go @@ -23,7 +23,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) var ( diff --git a/pkg/bundle/container.go b/pkg/bundle/container.go index 41b502cf..1b888a98 100644 --- a/pkg/bundle/container.go +++ b/pkg/bundle/container.go @@ -23,10 +23,10 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/container" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/container" + "github.com/zntrio/harp/pkg/sdk/types" ) // Statistic hold bundle statistic information diff --git a/pkg/bundle/encryption.go b/pkg/bundle/encryption.go index ba064296..1c0236f4 100644 --- a/pkg/bundle/encryption.go +++ b/pkg/bundle/encryption.go @@ -25,10 +25,10 @@ import ( "github.com/awnumar/memguard" "github.com/golang/protobuf/ptypes/wrappers" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" ) // PartialLock apply conditional transformer according to applicable annotation diff --git a/pkg/bundle/encryption_test.go b/pkg/bundle/encryption_test.go index eae07172..06c76fc6 100644 --- a/pkg/bundle/encryption_test.go +++ b/pkg/bundle/encryption_test.go @@ -21,9 +21,9 @@ import ( "fmt" "testing" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/value" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/value" ) // ----------------------------------------------------------------------------- diff --git a/pkg/bundle/fs/root.go b/pkg/bundle/fs/root.go index c2859610..c6ea0d6d 100644 --- a/pkg/bundle/fs/root.go +++ b/pkg/bundle/fs/root.go @@ -32,7 +32,7 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) const ( diff --git a/pkg/bundle/fs/root_test.go b/pkg/bundle/fs/root_test.go index 1c23c68b..22101267 100644 --- a/pkg/bundle/fs/root_test.go +++ b/pkg/bundle/fs/root_test.go @@ -15,6 +15,7 @@ // specific language governing permissions and limitations // under the License. +//go:build go1.16 // +build go1.16 package fs @@ -25,12 +26,12 @@ import ( fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func TestFromBundle(t *testing.T) { type args struct { - b *bundlev1.Bundle + b *bundlev1.Bundle } tests := []struct { name string diff --git a/pkg/bundle/kv.go b/pkg/bundle/kv.go index 7a71c37f..8dab4d51 100644 --- a/pkg/bundle/kv.go +++ b/pkg/bundle/kv.go @@ -23,8 +23,8 @@ import ( "github.com/gobwas/glob" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" ) // KV describes map[string]interface{} alias diff --git a/pkg/bundle/lint.go b/pkg/bundle/lint.go index 6ac8a342..3ab53e27 100644 --- a/pkg/bundle/lint.go +++ b/pkg/bundle/lint.go @@ -24,9 +24,9 @@ import ( "github.com/xeipuuv/gojsonschema" - "github.com/elastic/harp/api/jsonschema" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/api/jsonschema" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // JSONSchema returns the used json schema for validation. diff --git a/pkg/bundle/patch/executor.go b/pkg/bundle/patch/executor.go index 42e08d59..5081ed18 100644 --- a/pkg/bundle/patch/executor.go +++ b/pkg/bundle/patch/executor.go @@ -28,10 +28,10 @@ import ( "github.com/imdario/mergo" "github.com/jmespath/go-jmespath" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/bundle/selector" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/bundle/selector" + "github.com/zntrio/harp/pkg/template/engine" ) type ruleAction uint diff --git a/pkg/bundle/patch/executor_test.go b/pkg/bundle/patch/executor_test.go index b4834139..81c20ab0 100644 --- a/pkg/bundle/patch/executor_test.go +++ b/pkg/bundle/patch/executor_test.go @@ -22,7 +22,7 @@ import ( fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func Test_executeRule_Fuzz(t *testing.T) { diff --git a/pkg/bundle/patch/helpers.go b/pkg/bundle/patch/helpers.go index 42aeaed4..bb95a7c5 100644 --- a/pkg/bundle/patch/helpers.go +++ b/pkg/bundle/patch/helpers.go @@ -17,7 +17,7 @@ package patch -import bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" +import bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" // WithAnnotations returns the given patch spec patch annotations state. func WithAnnotations(p *bundlev1.Patch) bool { diff --git a/pkg/bundle/patch/lint.go b/pkg/bundle/patch/lint.go index 5c1f6e33..e6e33cef 100644 --- a/pkg/bundle/patch/lint.go +++ b/pkg/bundle/patch/lint.go @@ -24,9 +24,9 @@ import ( "github.com/xeipuuv/gojsonschema" - "github.com/elastic/harp/api/jsonschema" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/api/jsonschema" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // JSONSchema returns the used json schema for validation. diff --git a/pkg/bundle/patch/package.go b/pkg/bundle/patch/package.go index b7b0602f..4e3cd0b8 100644 --- a/pkg/bundle/patch/package.go +++ b/pkg/bundle/patch/package.go @@ -27,9 +27,9 @@ import ( "google.golang.org/protobuf/proto" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/types" ) // Validate bundle patch. diff --git a/pkg/bundle/patch/package_test.go b/pkg/bundle/patch/package_test.go index 4943a821..f7d89e1a 100644 --- a/pkg/bundle/patch/package_test.go +++ b/pkg/bundle/patch/package_test.go @@ -26,7 +26,7 @@ import ( "github.com/google/go-cmp/cmp/cmpopts" fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) var ( diff --git a/pkg/bundle/patch/reader.go b/pkg/bundle/patch/reader.go index a061fde3..fe49de07 100644 --- a/pkg/bundle/patch/reader.go +++ b/pkg/bundle/patch/reader.go @@ -23,9 +23,9 @@ import ( "google.golang.org/protobuf/encoding/protojson" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // YAML a given reader in order to extract a BundlePatch sepcification diff --git a/pkg/bundle/pipeline/api.go b/pkg/bundle/pipeline/api.go index aa748be7..6668567f 100644 --- a/pkg/bundle/pipeline/api.go +++ b/pkg/bundle/pipeline/api.go @@ -20,7 +20,7 @@ package pipeline import ( "context" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // Processor declares a bundle processor contract diff --git a/pkg/bundle/pipeline/executor.go b/pkg/bundle/pipeline/executor.go index e6344e39..b76d8581 100644 --- a/pkg/bundle/pipeline/executor.go +++ b/pkg/bundle/pipeline/executor.go @@ -22,8 +22,8 @@ import ( "fmt" "os" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" ) // Run a processor. diff --git a/pkg/bundle/ruleset/bundle.go b/pkg/bundle/ruleset/bundle.go index 4b2f26a2..5178273c 100644 --- a/pkg/bundle/ruleset/bundle.go +++ b/pkg/bundle/ruleset/bundle.go @@ -22,8 +22,8 @@ import ( "errors" "fmt" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" ) // FromBundle crawls secret structure to generate a linter ruleset. diff --git a/pkg/bundle/ruleset/engine/api.go b/pkg/bundle/ruleset/engine/api.go index 7121f286..b0bb9e17 100644 --- a/pkg/bundle/ruleset/engine/api.go +++ b/pkg/bundle/ruleset/engine/api.go @@ -21,7 +21,7 @@ import ( "context" "errors" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // ErrRuleNotValid is raised when a rule from a ruleset is false. diff --git a/pkg/bundle/ruleset/engine/cel/engine.go b/pkg/bundle/ruleset/engine/cel/engine.go index 4ce57162..97c3c560 100644 --- a/pkg/bundle/ruleset/engine/cel/engine.go +++ b/pkg/bundle/ruleset/engine/cel/engine.go @@ -25,9 +25,9 @@ import ( "github.com/google/cel-go/cel" celext "github.com/google/cel-go/ext" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/ruleset/engine" - "github.com/elastic/harp/pkg/bundle/ruleset/engine/cel/ext" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine/cel/ext" ) // ----------------------------------------------------------------------------- diff --git a/pkg/bundle/ruleset/engine/cel/engine_test.go b/pkg/bundle/ruleset/engine/cel/engine_test.go index 445b9ace..4dad6725 100644 --- a/pkg/bundle/ruleset/engine/cel/engine_test.go +++ b/pkg/bundle/ruleset/engine/cel/engine_test.go @@ -21,9 +21,9 @@ import ( "context" "testing" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/ruleset/engine" - "github.com/elastic/harp/pkg/bundle/secret" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine" + "github.com/zntrio/harp/pkg/bundle/secret" ) func TestNew(t *testing.T) { diff --git a/pkg/bundle/ruleset/engine/cel/ext/package.go b/pkg/bundle/ruleset/engine/cel/ext/package.go index ec748844..1c4ccef6 100644 --- a/pkg/bundle/ruleset/engine/cel/ext/package.go +++ b/pkg/bundle/ruleset/engine/cel/ext/package.go @@ -26,9 +26,9 @@ import ( "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - csov1 "github.com/elastic/harp/pkg/cso/v1" - htypes "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + htypes "github.com/zntrio/harp/pkg/sdk/types" ) // Packages exported package operations. diff --git a/pkg/bundle/ruleset/engine/cel/ext/secret.go b/pkg/bundle/ruleset/engine/cel/ext/secret.go index e3417973..ae5debd9 100644 --- a/pkg/bundle/ruleset/engine/cel/ext/secret.go +++ b/pkg/bundle/ruleset/engine/cel/ext/secret.go @@ -28,8 +28,8 @@ import ( "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" ) // Secrets exported secret operations. diff --git a/pkg/bundle/ruleset/engine/rego/engine.go b/pkg/bundle/ruleset/engine/rego/engine.go index a6514114..1f111c35 100644 --- a/pkg/bundle/ruleset/engine/rego/engine.go +++ b/pkg/bundle/ruleset/engine/rego/engine.go @@ -25,8 +25,8 @@ import ( "github.com/open-policy-agent/opa/rego" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/ruleset/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine" ) const ( diff --git a/pkg/bundle/ruleset/lint.go b/pkg/bundle/ruleset/lint.go index d4c1f2e1..86ba69a2 100644 --- a/pkg/bundle/ruleset/lint.go +++ b/pkg/bundle/ruleset/lint.go @@ -24,9 +24,9 @@ import ( "github.com/xeipuuv/gojsonschema" - "github.com/elastic/harp/api/jsonschema" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/api/jsonschema" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // JSONSchema returns the used json schema for validation. diff --git a/pkg/bundle/ruleset/package.go b/pkg/bundle/ruleset/package.go index 2fc18636..9146e55c 100644 --- a/pkg/bundle/ruleset/package.go +++ b/pkg/bundle/ruleset/package.go @@ -26,10 +26,10 @@ import ( "github.com/gobwas/glob" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/ruleset/engine" - "github.com/elastic/harp/pkg/bundle/ruleset/engine/cel" - "github.com/elastic/harp/pkg/bundle/ruleset/engine/rego" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine/cel" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine/rego" ) // Evaluate given bundl using the loaded ruleset. diff --git a/pkg/bundle/ruleset/package_test.go b/pkg/bundle/ruleset/package_test.go index 3299db6b..4615a33d 100644 --- a/pkg/bundle/ruleset/package_test.go +++ b/pkg/bundle/ruleset/package_test.go @@ -23,9 +23,9 @@ import ( "path/filepath" "testing" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/assert" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func mustLoadRuleSet(filePath string) *bundlev1.RuleSet { diff --git a/pkg/bundle/ruleset/reader.go b/pkg/bundle/ruleset/reader.go index abfda4ef..87cfed9a 100644 --- a/pkg/bundle/ruleset/reader.go +++ b/pkg/bundle/ruleset/reader.go @@ -23,9 +23,9 @@ import ( "google.golang.org/protobuf/encoding/protojson" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // YAML a given reader in order to extract a BundlePatch sepcification diff --git a/pkg/bundle/ruleset/ruleset.go b/pkg/bundle/ruleset/ruleset.go index b608dd01..dbb7fb96 100644 --- a/pkg/bundle/ruleset/ruleset.go +++ b/pkg/bundle/ruleset/ruleset.go @@ -25,7 +25,7 @@ import ( "google.golang.org/protobuf/proto" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // Validate bundle patch. diff --git a/pkg/bundle/ruleset/ruleset_test.go b/pkg/bundle/ruleset/ruleset_test.go index 04044b02..a7f2b0c8 100644 --- a/pkg/bundle/ruleset/ruleset_test.go +++ b/pkg/bundle/ruleset/ruleset_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func TestValidate(t *testing.T) { diff --git a/pkg/bundle/selector/match_cel.go b/pkg/bundle/selector/match_cel.go index d833ac1e..1b14ab4b 100644 --- a/pkg/bundle/selector/match_cel.go +++ b/pkg/bundle/selector/match_cel.go @@ -25,9 +25,9 @@ import ( celext "github.com/google/cel-go/ext" "go.uber.org/zap" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/ruleset/engine/cel/ext" - "github.com/elastic/harp/pkg/sdk/log" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/ruleset/engine/cel/ext" + "github.com/zntrio/harp/pkg/sdk/log" ) // MatchCEL returns a CEL package matcher specification. diff --git a/pkg/bundle/selector/match_cel_test.go b/pkg/bundle/selector/match_cel_test.go index 10c01bb6..3ccc62b4 100644 --- a/pkg/bundle/selector/match_cel_test.go +++ b/pkg/bundle/selector/match_cel_test.go @@ -20,7 +20,7 @@ package selector import ( "testing" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func Test_matchCel_IsSatisfiedBy(t *testing.T) { diff --git a/pkg/bundle/selector/match_jmespath.go b/pkg/bundle/selector/match_jmespath.go index a63746d8..6151feac 100644 --- a/pkg/bundle/selector/match_jmespath.go +++ b/pkg/bundle/selector/match_jmespath.go @@ -23,7 +23,7 @@ import ( "github.com/jmespath/go-jmespath" "google.golang.org/protobuf/encoding/protojson" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // MatchJMESPath returns a JMESPatch package matcher specification. diff --git a/pkg/bundle/selector/match_jmespath_test.go b/pkg/bundle/selector/match_jmespath_test.go index 8b500b96..a0389762 100644 --- a/pkg/bundle/selector/match_jmespath_test.go +++ b/pkg/bundle/selector/match_jmespath_test.go @@ -23,7 +23,7 @@ import ( fuzz "github.com/google/gofuzz" "github.com/jmespath/go-jmespath" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func Test_matchJMESPath_IsSatisfiedBy(t *testing.T) { diff --git a/pkg/bundle/selector/match_path.go b/pkg/bundle/selector/match_path.go index cc852351..0de7f6d6 100644 --- a/pkg/bundle/selector/match_path.go +++ b/pkg/bundle/selector/match_path.go @@ -23,7 +23,7 @@ import ( "github.com/gobwas/glob" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // MatchPathStrict returns a path matcher specification with strict profile. diff --git a/pkg/bundle/selector/match_path_test.go b/pkg/bundle/selector/match_path_test.go index 75026e36..92cd84ee 100644 --- a/pkg/bundle/selector/match_path_test.go +++ b/pkg/bundle/selector/match_path_test.go @@ -24,7 +24,7 @@ import ( "github.com/gobwas/glob" fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func Test_matchPath_IsSatisfiedBy(t *testing.T) { diff --git a/pkg/bundle/selector/match_rego.go b/pkg/bundle/selector/match_rego.go index 856c2828..6a4ba9f5 100644 --- a/pkg/bundle/selector/match_rego.go +++ b/pkg/bundle/selector/match_rego.go @@ -25,8 +25,8 @@ import ( "github.com/open-policy-agent/opa/rego" "go.uber.org/zap" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/sdk/log" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/sdk/log" ) // MatchRego returns a Rego package matcher specification. diff --git a/pkg/bundle/selector/match_rego_test.go b/pkg/bundle/selector/match_rego_test.go index e6bea470..4dedf7db 100644 --- a/pkg/bundle/selector/match_rego_test.go +++ b/pkg/bundle/selector/match_rego_test.go @@ -21,7 +21,7 @@ import ( "context" "testing" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func Test_matchRego_IsSatisfiedBy(t *testing.T) { diff --git a/pkg/bundle/selector/match_secret.go b/pkg/bundle/selector/match_secret.go index 73ce7268..7866225f 100644 --- a/pkg/bundle/selector/match_secret.go +++ b/pkg/bundle/selector/match_secret.go @@ -22,7 +22,7 @@ import ( "github.com/gobwas/glob" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // MatchSecretStrict returns a secret key matcher specification with strict profile. diff --git a/pkg/bundle/selector/match_secret_test.go b/pkg/bundle/selector/match_secret_test.go index de47e46c..0dadab22 100644 --- a/pkg/bundle/selector/match_secret_test.go +++ b/pkg/bundle/selector/match_secret_test.go @@ -24,7 +24,7 @@ import ( "github.com/gobwas/glob" fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) func Test_matchSecret_IsSatisfiedBy(t *testing.T) { diff --git a/pkg/bundle/template/executor.go b/pkg/bundle/template/executor.go index d00d915f..5325a58c 100644 --- a/pkg/bundle/template/executor.go +++ b/pkg/bundle/template/executor.go @@ -25,9 +25,9 @@ import ( "google.golang.org/protobuf/proto" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor" + "github.com/zntrio/harp/pkg/sdk/types" ) // Validate bundle template. diff --git a/pkg/bundle/template/executor_test.go b/pkg/bundle/template/executor_test.go index 1a31cea2..d7401ac7 100644 --- a/pkg/bundle/template/executor_test.go +++ b/pkg/bundle/template/executor_test.go @@ -23,9 +23,9 @@ import ( fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor/secretbuilder" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor/secretbuilder" + "github.com/zntrio/harp/pkg/template/engine" ) func TestValidate(t *testing.T) { diff --git a/pkg/bundle/template/lint.go b/pkg/bundle/template/lint.go index fb33ae8b..e5497e44 100644 --- a/pkg/bundle/template/lint.go +++ b/pkg/bundle/template/lint.go @@ -24,9 +24,9 @@ import ( "github.com/xeipuuv/gojsonschema" - "github.com/elastic/harp/api/jsonschema" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/api/jsonschema" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // JSONSchema returns the used json schema for validation. diff --git a/pkg/bundle/template/reader.go b/pkg/bundle/template/reader.go index 2d134d44..e3b741bc 100644 --- a/pkg/bundle/template/reader.go +++ b/pkg/bundle/template/reader.go @@ -23,9 +23,9 @@ import ( "google.golang.org/protobuf/encoding/protojson" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/sdk/convert" - "github.com/elastic/harp/pkg/sdk/types" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/sdk/convert" + "github.com/zntrio/harp/pkg/sdk/types" ) // YAML a given reader in order to extract a BundleTemplate sepcification diff --git a/pkg/bundle/template/visitor/api.go b/pkg/bundle/template/visitor/api.go index ddfd22b9..64f1d36b 100644 --- a/pkg/bundle/template/visitor/api.go +++ b/pkg/bundle/template/visitor/api.go @@ -18,7 +18,7 @@ package visitor import ( - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // InfrastructureAcceptor is the contract for visitor entrypoint. diff --git a/pkg/bundle/template/visitor/decorator.go b/pkg/bundle/template/visitor/decorator.go index b1f40ee4..9f87c2d9 100644 --- a/pkg/bundle/template/visitor/decorator.go +++ b/pkg/bundle/template/visitor/decorator.go @@ -18,7 +18,7 @@ package visitor import ( - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" ) // ----------------------------------------------------------------------------- diff --git a/pkg/bundle/template/visitor/secretbuilder/api.go b/pkg/bundle/template/visitor/secretbuilder/api.go index 0068d39f..17cf027a 100644 --- a/pkg/bundle/template/visitor/secretbuilder/api.go +++ b/pkg/bundle/template/visitor/secretbuilder/api.go @@ -21,9 +21,9 @@ import ( "errors" "fmt" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor" + "github.com/zntrio/harp/pkg/template/engine" ) // New returns a secret builder visitor instance. diff --git a/pkg/bundle/template/visitor/secretbuilder/api_test.go b/pkg/bundle/template/visitor/secretbuilder/api_test.go index 1210e53d..7482506f 100644 --- a/pkg/bundle/template/visitor/secretbuilder/api_test.go +++ b/pkg/bundle/template/visitor/secretbuilder/api_test.go @@ -22,8 +22,8 @@ import ( fuzz "github.com/google/gofuzz" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/template/engine" ) func TestVisit_Fuzz(t *testing.T) { diff --git a/pkg/bundle/template/visitor/secretbuilder/application.go b/pkg/bundle/template/visitor/secretbuilder/application.go index 8644074a..a4bab2ce 100644 --- a/pkg/bundle/template/visitor/secretbuilder/application.go +++ b/pkg/bundle/template/visitor/secretbuilder/application.go @@ -21,10 +21,10 @@ import ( "fmt" "strings" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/template/engine" ) type applicationSecretBuilder struct { diff --git a/pkg/bundle/template/visitor/secretbuilder/helpers.go b/pkg/bundle/template/visitor/secretbuilder/helpers.go index 3517dc99..5c962c58 100644 --- a/pkg/bundle/template/visitor/secretbuilder/helpers.go +++ b/pkg/bundle/template/visitor/secretbuilder/helpers.go @@ -23,10 +23,10 @@ import ( "fmt" "time" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/template/engine" ) func parseSecretTemplate(templateContext engine.Context, secretPath string, item *bundlev1.SecretSuffix, data interface{}) (*bundlev1.Package, error) { diff --git a/pkg/bundle/template/visitor/secretbuilder/helpers_test.go b/pkg/bundle/template/visitor/secretbuilder/helpers_test.go index 1630921d..ce996b31 100644 --- a/pkg/bundle/template/visitor/secretbuilder/helpers_test.go +++ b/pkg/bundle/template/visitor/secretbuilder/helpers_test.go @@ -22,9 +22,9 @@ import ( "github.com/google/go-cmp/cmp" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/template/engine" ) func TestSuffix(t *testing.T) { diff --git a/pkg/bundle/template/visitor/secretbuilder/infrastructure.go b/pkg/bundle/template/visitor/secretbuilder/infrastructure.go index 79542944..36519e56 100644 --- a/pkg/bundle/template/visitor/secretbuilder/infrastructure.go +++ b/pkg/bundle/template/visitor/secretbuilder/infrastructure.go @@ -20,10 +20,10 @@ package secretbuilder import ( "fmt" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/template/engine" ) type infrastructureSecretBuilder struct { diff --git a/pkg/bundle/template/visitor/secretbuilder/platform.go b/pkg/bundle/template/visitor/secretbuilder/platform.go index 5d9fe3ed..6b115c73 100644 --- a/pkg/bundle/template/visitor/secretbuilder/platform.go +++ b/pkg/bundle/template/visitor/secretbuilder/platform.go @@ -21,10 +21,10 @@ import ( "fmt" "strings" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/template/engine" ) type platformSecretBuilder struct { diff --git a/pkg/bundle/template/visitor/secretbuilder/product.go b/pkg/bundle/template/visitor/secretbuilder/product.go index 6d73b96c..2ab5f21c 100644 --- a/pkg/bundle/template/visitor/secretbuilder/product.go +++ b/pkg/bundle/template/visitor/secretbuilder/product.go @@ -21,10 +21,10 @@ import ( "fmt" "strings" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/template/visitor" - csov1 "github.com/elastic/harp/pkg/cso/v1" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/template/visitor" + csov1 "github.com/zntrio/harp/pkg/cso/v1" + "github.com/zntrio/harp/pkg/template/engine" ) type productSecretBuilder struct { diff --git a/pkg/bundle/vault/internal/operation/exporter.go b/pkg/bundle/vault/internal/operation/exporter.go index 0ca77fa3..a4e905b1 100644 --- a/pkg/bundle/vault/internal/operation/exporter.go +++ b/pkg/bundle/vault/internal/operation/exporter.go @@ -33,12 +33,12 @@ import ( "github.com/imdario/mergo" "go.uber.org/zap" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/vault/kv" - vaultPath "github.com/elastic/harp/pkg/vault/path" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/vault/kv" + vaultPath "github.com/zntrio/harp/pkg/vault/path" ) // Exporter initialize a secret exporter operation diff --git a/pkg/bundle/vault/internal/operation/importer.go b/pkg/bundle/vault/internal/operation/importer.go index 58fb607a..8e8c5731 100644 --- a/pkg/bundle/vault/internal/operation/importer.go +++ b/pkg/bundle/vault/internal/operation/importer.go @@ -30,11 +30,11 @@ import ( "github.com/hashicorp/vault/api" "go.uber.org/zap" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/vault/kv" - vpath "github.com/elastic/harp/pkg/vault/path" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/vault/kv" + vpath "github.com/zntrio/harp/pkg/vault/path" ) // Importer initialize a secret importer operation diff --git a/pkg/bundle/vault/pull.go b/pkg/bundle/vault/pull.go index d05ec609..08251b81 100644 --- a/pkg/bundle/vault/pull.go +++ b/pkg/bundle/vault/pull.go @@ -26,10 +26,10 @@ import ( "github.com/hashicorp/vault/api" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/vault/internal/operation" - "github.com/elastic/harp/pkg/vault/kv" - vpath "github.com/elastic/harp/pkg/vault/path" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/vault/internal/operation" + "github.com/zntrio/harp/pkg/vault/kv" + vpath "github.com/zntrio/harp/pkg/vault/path" ) // Pull all given path as a bundle. diff --git a/pkg/bundle/vault/push.go b/pkg/bundle/vault/push.go index 5e175d62..d1ba8a0b 100644 --- a/pkg/bundle/vault/push.go +++ b/pkg/bundle/vault/push.go @@ -24,8 +24,8 @@ import ( "github.com/hashicorp/vault/api" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/vault/internal/operation" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/vault/internal/operation" ) // Push the given bundle in Hashicorp Vault. diff --git a/pkg/container/codec.go b/pkg/container/codec.go index fe00a8cc..42479a6a 100644 --- a/pkg/container/codec.go +++ b/pkg/container/codec.go @@ -27,12 +27,12 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/container/identity/key" - "github.com/elastic/harp/pkg/container/seal" - v1 "github.com/elastic/harp/pkg/container/seal/v1" - v2 "github.com/elastic/harp/pkg/container/seal/v2" - "github.com/elastic/harp/pkg/sdk/types" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/container/identity/key" + "github.com/zntrio/harp/pkg/container/seal" + v1 "github.com/zntrio/harp/pkg/container/seal/v1" + v2 "github.com/zntrio/harp/pkg/container/seal/v2" + "github.com/zntrio/harp/pkg/sdk/types" ) const ( diff --git a/pkg/container/codec_test.go b/pkg/container/codec_test.go index f7d03118..857b0987 100644 --- a/pkg/container/codec_test.go +++ b/pkg/container/codec_test.go @@ -28,7 +28,7 @@ import ( "github.com/google/go-cmp/cmp/cmpopts" fuzz "github.com/google/gofuzz" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" ) var ( diff --git a/pkg/container/identity/api.go b/pkg/container/identity/api.go index 3d1dbf4a..4ba809c0 100644 --- a/pkg/container/identity/api.go +++ b/pkg/container/identity/api.go @@ -26,9 +26,9 @@ import ( "fmt" "time" - "github.com/elastic/harp/pkg/container/identity/key" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/container/identity/key" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" ) // Identity object to hold container sealer identity information. diff --git a/pkg/container/identity/codec.go b/pkg/container/identity/codec.go index 68b5bc59..0fffee1e 100644 --- a/pkg/container/identity/codec.go +++ b/pkg/container/identity/codec.go @@ -26,8 +26,8 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/elastic/harp/pkg/container/identity/key" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/container/identity/key" + "github.com/zntrio/harp/pkg/sdk/types" ) const ( diff --git a/pkg/container/identity/codec_test.go b/pkg/container/identity/codec_test.go index ec177eb0..887e194a 100644 --- a/pkg/container/identity/codec_test.go +++ b/pkg/container/identity/codec_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/container/identity/key" + "github.com/zntrio/harp/pkg/container/identity/key" ) var ( diff --git a/pkg/container/identity/key/json.go b/pkg/container/identity/key/json.go index c1766df9..fdcec15e 100644 --- a/pkg/container/identity/key/json.go +++ b/pkg/container/identity/key/json.go @@ -28,7 +28,7 @@ import ( "fmt" "math/big" - "github.com/elastic/harp/pkg/sdk/security/crypto/extra25519" + "github.com/zntrio/harp/pkg/sdk/security/crypto/extra25519" ) // JSONWebKey holds internal container key attributes. diff --git a/pkg/container/identity/key/key.go b/pkg/container/identity/key/key.go index b906349b..d08fe8c9 100644 --- a/pkg/container/identity/key/key.go +++ b/pkg/container/identity/key/key.go @@ -28,7 +28,7 @@ import ( "math/big" "strings" - "github.com/elastic/harp/pkg/sdk/security/crypto/extra25519" + "github.com/zntrio/harp/pkg/sdk/security/crypto/extra25519" ) const ( diff --git a/pkg/container/seal/api.go b/pkg/container/seal/api.go index b4b144d4..cda25008 100644 --- a/pkg/container/seal/api.go +++ b/pkg/container/seal/api.go @@ -22,7 +22,7 @@ import ( "github.com/awnumar/memguard" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" ) // Streategy describes the sealing/unsealing contract. diff --git a/pkg/container/seal/v1/api.go b/pkg/container/seal/v1/api.go index 6f8e66bb..73b581a4 100644 --- a/pkg/container/seal/v1/api.go +++ b/pkg/container/seal/v1/api.go @@ -20,7 +20,7 @@ package v1 import ( "crypto/ed25519" - "github.com/elastic/harp/pkg/container/seal" + "github.com/zntrio/harp/pkg/container/seal" ) const ( diff --git a/pkg/container/seal/v1/helpers.go b/pkg/container/seal/v1/helpers.go index 9de55d27..ffabd2a5 100644 --- a/pkg/container/seal/v1/helpers.go +++ b/pkg/container/seal/v1/helpers.go @@ -30,8 +30,8 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/sdk/security" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/sdk/security" ) func deriveSharedKeyFromRecipient(publicKey, privateKey *[privateKeySize]byte) *[encryptionKeySize]byte { diff --git a/pkg/container/seal/v1/helpers_test.go b/pkg/container/seal/v1/helpers_test.go index 6aadcbae..a416de0a 100644 --- a/pkg/container/seal/v1/helpers_test.go +++ b/pkg/container/seal/v1/helpers_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" "golang.org/x/crypto/nacl/box" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" ) func Test_deriveSharedKeyFromRecipient(t *testing.T) { diff --git a/pkg/container/seal/v1/key.go b/pkg/container/seal/v1/key.go index 6c46e7ab..d2b27986 100644 --- a/pkg/container/seal/v1/key.go +++ b/pkg/container/seal/v1/key.go @@ -29,8 +29,8 @@ import ( "github.com/awnumar/memguard" - "github.com/elastic/harp/pkg/container/seal" - "github.com/elastic/harp/pkg/sdk/security/crypto/extra25519" + "github.com/zntrio/harp/pkg/container/seal" + "github.com/zntrio/harp/pkg/sdk/security/crypto/extra25519" ) const ( diff --git a/pkg/container/seal/v1/key_test.go b/pkg/container/seal/v1/key_test.go index da114bd9..5fb0ba0c 100644 --- a/pkg/container/seal/v1/key_test.go +++ b/pkg/container/seal/v1/key_test.go @@ -23,7 +23,7 @@ import ( "github.com/awnumar/memguard" "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/container/seal" + "github.com/zntrio/harp/pkg/container/seal" ) func TestGenerateKey(t *testing.T) { diff --git a/pkg/container/seal/v1/seal.go b/pkg/container/seal/v1/seal.go index 92de3524..ae954c6b 100644 --- a/pkg/container/seal/v1/seal.go +++ b/pkg/container/seal/v1/seal.go @@ -29,9 +29,9 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/sdk/security/crypto/extra25519" - "github.com/elastic/harp/pkg/sdk/types" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/sdk/security/crypto/extra25519" + "github.com/zntrio/harp/pkg/sdk/types" ) // Seal a secret container diff --git a/pkg/container/seal/v1/seal_test.go b/pkg/container/seal/v1/seal_test.go index 3350c099..48ee7580 100644 --- a/pkg/container/seal/v1/seal_test.go +++ b/pkg/container/seal/v1/seal_test.go @@ -26,7 +26,7 @@ import ( fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/assert" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" ) var ( diff --git a/pkg/container/seal/v1/unseal.go b/pkg/container/seal/v1/unseal.go index 7cadcb68..6dcd41ac 100644 --- a/pkg/container/seal/v1/unseal.go +++ b/pkg/container/seal/v1/unseal.go @@ -28,8 +28,8 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/sdk/types" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/sdk/types" ) // Unseal a sealed container with the given identity diff --git a/pkg/container/seal/v2/api.go b/pkg/container/seal/v2/api.go index e5ba1f9d..32b26b93 100644 --- a/pkg/container/seal/v2/api.go +++ b/pkg/container/seal/v2/api.go @@ -20,7 +20,7 @@ package v2 import ( "crypto/elliptic" - "github.com/elastic/harp/pkg/container/seal" + "github.com/zntrio/harp/pkg/container/seal" ) const ( diff --git a/pkg/container/seal/v2/helpers.go b/pkg/container/seal/v2/helpers.go index c959d972..37f8ef0b 100644 --- a/pkg/container/seal/v2/helpers.go +++ b/pkg/container/seal/v2/helpers.go @@ -36,8 +36,8 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/sdk/security" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/sdk/security" ) func tryRecipientKeys(derivedKey *[32]byte, recipients []*containerv1.Recipient) (*[32]byte, error) { diff --git a/pkg/container/seal/v2/helpers_test.go b/pkg/container/seal/v2/helpers_test.go index 3c21c7fa..c6d6132b 100644 --- a/pkg/container/seal/v2/helpers_test.go +++ b/pkg/container/seal/v2/helpers_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/assert" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" ) func Test_deriveSharedKeyFromRecipient(t *testing.T) { diff --git a/pkg/container/seal/v2/key.go b/pkg/container/seal/v2/key.go index 79a805ad..53454267 100644 --- a/pkg/container/seal/v2/key.go +++ b/pkg/container/seal/v2/key.go @@ -31,7 +31,7 @@ import ( "github.com/awnumar/memguard" - "github.com/elastic/harp/pkg/container/seal" + "github.com/zntrio/harp/pkg/container/seal" ) const ( diff --git a/pkg/container/seal/v2/key_test.go b/pkg/container/seal/v2/key_test.go index c68c6836..1ab9cb2f 100644 --- a/pkg/container/seal/v2/key_test.go +++ b/pkg/container/seal/v2/key_test.go @@ -23,7 +23,7 @@ import ( "github.com/awnumar/memguard" "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/container/seal" + "github.com/zntrio/harp/pkg/container/seal" ) func TestGenerateKey(t *testing.T) { diff --git a/pkg/container/seal/v2/seal.go b/pkg/container/seal/v2/seal.go index 28b74a0c..b4749fec 100644 --- a/pkg/container/seal/v2/seal.go +++ b/pkg/container/seal/v2/seal.go @@ -24,8 +24,8 @@ import ( "fmt" "io" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/sdk/types" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/sdk/types" ) // Seal a secret container diff --git a/pkg/container/seal/v2/seal_test.go b/pkg/container/seal/v2/seal_test.go index 329d38ca..a7863fb8 100644 --- a/pkg/container/seal/v2/seal_test.go +++ b/pkg/container/seal/v2/seal_test.go @@ -26,7 +26,7 @@ import ( fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/assert" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" ) var ( diff --git a/pkg/container/seal/v2/unseal.go b/pkg/container/seal/v2/unseal.go index 5a09caf7..74769486 100644 --- a/pkg/container/seal/v2/unseal.go +++ b/pkg/container/seal/v2/unseal.go @@ -30,8 +30,8 @@ import ( "github.com/awnumar/memguard" "google.golang.org/protobuf/proto" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/sdk/types" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/sdk/types" ) // Unseal a sealed container with the given identity diff --git a/pkg/crate/api.go b/pkg/crate/api.go index 0ff7b7cf..428aeeb9 100644 --- a/pkg/crate/api.go +++ b/pkg/crate/api.go @@ -18,8 +18,8 @@ package crate import ( - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/pkg/crate/schema" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/pkg/crate/schema" ) const ( diff --git a/pkg/crate/build.go b/pkg/crate/build.go index f2f98c9c..a4dda6f9 100644 --- a/pkg/crate/build.go +++ b/pkg/crate/build.go @@ -28,11 +28,11 @@ import ( "go.uber.org/zap" - "github.com/elastic/harp/pkg/container" - "github.com/elastic/harp/pkg/crate/cratefile" - schemav1 "github.com/elastic/harp/pkg/crate/schema/v1" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/template/archive" + "github.com/zntrio/harp/pkg/container" + "github.com/zntrio/harp/pkg/crate/cratefile" + schemav1 "github.com/zntrio/harp/pkg/crate/schema/v1" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/template/archive" ) const ( diff --git a/pkg/crate/oci.go b/pkg/crate/oci.go index f86e649b..998ab79d 100644 --- a/pkg/crate/oci.go +++ b/pkg/crate/oci.go @@ -29,12 +29,12 @@ import ( ocispec "github.com/opencontainers/image-spec/specs-go/v1" "oras.land/oras-go/pkg/content" - containerv1 "github.com/elastic/harp/api/gen/go/harp/container/v1" - "github.com/elastic/harp/build/version" - "github.com/elastic/harp/pkg/container" - "github.com/elastic/harp/pkg/crate/schema" - schemav1 "github.com/elastic/harp/pkg/crate/schema/v1" - "github.com/elastic/harp/pkg/sdk/types" + containerv1 "github.com/zntrio/harp/api/gen/go/harp/container/v1" + "github.com/zntrio/harp/build/version" + "github.com/zntrio/harp/pkg/container" + "github.com/zntrio/harp/pkg/crate/schema" + schemav1 "github.com/zntrio/harp/pkg/crate/schema/v1" + "github.com/zntrio/harp/pkg/sdk/types" ) // StoreSetter is the interface used to mock the image store. diff --git a/pkg/crate/pull.go b/pkg/crate/pull.go index e32183f4..690737bb 100644 --- a/pkg/crate/pull.go +++ b/pkg/crate/pull.go @@ -27,7 +27,7 @@ import ( "oras.land/oras-go/pkg/oras" "oras.land/oras-go/pkg/target" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/types" ) // Pull the given image descriptor from the given repository. diff --git a/pkg/crate/push.go b/pkg/crate/push.go index 886b8206..7187e520 100644 --- a/pkg/crate/push.go +++ b/pkg/crate/push.go @@ -28,7 +28,7 @@ import ( "oras.land/oras-go/pkg/oras" "oras.land/oras-go/pkg/target" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/types" ) // Push the given image descriptor in the given repository. diff --git a/pkg/crate/schema/v1/config.go b/pkg/crate/schema/v1/config.go index 53f8bdaf..2972dd6b 100644 --- a/pkg/crate/schema/v1/config.go +++ b/pkg/crate/schema/v1/config.go @@ -21,7 +21,7 @@ import ( "encoding/json" "fmt" - "github.com/elastic/harp/pkg/crate/schema" + "github.com/zntrio/harp/pkg/crate/schema" ) func NewConfig() schema.Config { diff --git a/pkg/cso/v1/enums.go b/pkg/cso/v1/enums.go index 2cdecdd2..be629dee 100644 --- a/pkg/cso/v1/enums.go +++ b/pkg/cso/v1/enums.go @@ -20,7 +20,7 @@ package v1 import ( "strings" - csov1 "github.com/elastic/harp/api/gen/go/cso/v1" + csov1 "github.com/zntrio/harp/api/gen/go/cso/v1" ) const ( diff --git a/pkg/cso/v1/interpreter.go b/pkg/cso/v1/interpreter.go index cf5431c8..681c1abf 100644 --- a/pkg/cso/v1/interpreter.go +++ b/pkg/cso/v1/interpreter.go @@ -22,7 +22,7 @@ import ( "io" "text/template" - csov1 "github.com/elastic/harp/api/gen/go/cso/v1" + csov1 "github.com/zntrio/harp/api/gen/go/cso/v1" ) // Text returns english text templates. diff --git a/pkg/cso/v1/interpreter_test.go b/pkg/cso/v1/interpreter_test.go index 8b70278b..c1460d38 100644 --- a/pkg/cso/v1/interpreter_test.go +++ b/pkg/cso/v1/interpreter_test.go @@ -23,7 +23,7 @@ import ( "github.com/google/go-cmp/cmp" - csov1 "github.com/elastic/harp/api/gen/go/cso/v1" + csov1 "github.com/zntrio/harp/api/gen/go/cso/v1" ) func TestCso_Interpret_Text(t *testing.T) { diff --git a/pkg/cso/v1/pack.go b/pkg/cso/v1/pack.go index ca2ee347..ff36c2ce 100644 --- a/pkg/cso/v1/pack.go +++ b/pkg/cso/v1/pack.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - csov1 "github.com/elastic/harp/api/gen/go/cso/v1" + csov1 "github.com/zntrio/harp/api/gen/go/cso/v1" ) type ringPacker func([]string) *csov1.Secret diff --git a/pkg/cso/v1/pack_test.go b/pkg/cso/v1/pack_test.go index e8406e02..104170c8 100644 --- a/pkg/cso/v1/pack_test.go +++ b/pkg/cso/v1/pack_test.go @@ -24,7 +24,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - csov1 "github.com/elastic/harp/api/gen/go/cso/v1" + csov1 "github.com/zntrio/harp/api/gen/go/cso/v1" ) var cmpOpts = []cmp.Option{ diff --git a/pkg/cso/v1/validator.go b/pkg/cso/v1/validator.go index 1f188792..c77f01a6 100644 --- a/pkg/cso/v1/validator.go +++ b/pkg/cso/v1/validator.go @@ -25,7 +25,7 @@ import ( validation "github.com/go-ozzo/ozzo-validation/v4" "github.com/go-ozzo/ozzo-validation/v4/is" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/types" ) const ( diff --git a/pkg/kv/consul/api.go b/pkg/kv/consul/api.go index 4f70cad7..8374ea87 100644 --- a/pkg/kv/consul/api.go +++ b/pkg/kv/consul/api.go @@ -18,7 +18,7 @@ package consul import api "github.com/hashicorp/consul/api" -//go:generate mockgen -destination mock/client_mock.go -package mock github.com/elastic/harp/pkg/kv/consul Client +//go:generate mockgen -destination mock/client_mock.go -package mock github.com/zntrio/harp/pkg/kv/consul Client type Client interface { Get(key string, q *api.QueryOptions) (*api.KVPair, *api.QueryMeta, error) Put(p *api.KVPair, q *api.WriteOptions) (*api.WriteMeta, error) diff --git a/pkg/kv/consul/consul.go b/pkg/kv/consul/consul.go index d86c71c5..13a99d63 100644 --- a/pkg/kv/consul/consul.go +++ b/pkg/kv/consul/consul.go @@ -25,8 +25,8 @@ import ( api "github.com/hashicorp/consul/api" - "github.com/elastic/harp/pkg/kv" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/kv" + "github.com/zntrio/harp/pkg/sdk/types" ) type consulDriver struct { diff --git a/pkg/kv/consul/consul_test.go b/pkg/kv/consul/consul_test.go index 69d4f4f5..c4429d1e 100644 --- a/pkg/kv/consul/consul_test.go +++ b/pkg/kv/consul/consul_test.go @@ -28,8 +28,8 @@ import ( "github.com/hashicorp/consul/api" "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/kv" - "github.com/elastic/harp/pkg/kv/consul/mock" + "github.com/zntrio/harp/pkg/kv" + "github.com/zntrio/harp/pkg/kv/consul/mock" ) func Test_consulDriver_withNilClient(t *testing.T) { diff --git a/pkg/kv/consul/mock/client_mock.go b/pkg/kv/consul/mock/client_mock.go index 1e14950f..d25d2a0a 100644 --- a/pkg/kv/consul/mock/client_mock.go +++ b/pkg/kv/consul/mock/client_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/elastic/harp/pkg/kv/consul (interfaces: Client) +// Source: github.com/zntrio/harp/pkg/kv/consul (interfaces: Client) // Package mock is a generated GoMock package. package mock diff --git a/pkg/kv/etcd3/etcd3.go b/pkg/kv/etcd3/etcd3.go index 6de68df9..303104c5 100644 --- a/pkg/kv/etcd3/etcd3.go +++ b/pkg/kv/etcd3/etcd3.go @@ -27,8 +27,8 @@ import ( clientv3 "go.etcd.io/etcd/client/v3" "go.uber.org/zap" - "github.com/elastic/harp/pkg/kv" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/kv" + "github.com/zntrio/harp/pkg/sdk/log" ) const ( diff --git a/pkg/kv/zookeeper/zookeeper.go b/pkg/kv/zookeeper/zookeeper.go index 4e6329d2..7ce7f653 100644 --- a/pkg/kv/zookeeper/zookeeper.go +++ b/pkg/kv/zookeeper/zookeeper.go @@ -25,7 +25,7 @@ import ( zk "github.com/go-zookeeper/zk" - "github.com/elastic/harp/pkg/kv" + "github.com/zntrio/harp/pkg/kv" ) type zkDriver struct { diff --git a/pkg/sdk/cmdutil/bug.go b/pkg/sdk/cmdutil/bug.go index 364dbc86..f0fde268 100644 --- a/pkg/sdk/cmdutil/bug.go +++ b/pkg/sdk/cmdutil/bug.go @@ -28,7 +28,7 @@ import ( exec "golang.org/x/sys/execabs" - "github.com/elastic/harp/build/version" + "github.com/zntrio/harp/build/version" ) // BugReport generates a bug report body diff --git a/pkg/sdk/cmdutil/context.go b/pkg/sdk/cmdutil/context.go index 02cba471..38584e69 100644 --- a/pkg/sdk/cmdutil/context.go +++ b/pkg/sdk/cmdutil/context.go @@ -22,8 +22,8 @@ import ( "github.com/gosimple/slug" - "github.com/elastic/harp/build/version" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/build/version" + "github.com/zntrio/harp/pkg/sdk/log" ) // Context initializes a command context. diff --git a/pkg/sdk/cmdutil/password.go b/pkg/sdk/cmdutil/password.go index 983be93f..be80dc84 100644 --- a/pkg/sdk/cmdutil/password.go +++ b/pkg/sdk/cmdutil/password.go @@ -26,7 +26,7 @@ import ( "github.com/awnumar/memguard" - "github.com/elastic/harp/pkg/sdk/security" + "github.com/zntrio/harp/pkg/sdk/security" ) // ReadSecret reads password from Stdin and returns a lockedbuffer. diff --git a/pkg/sdk/config/cmd/builder.go b/pkg/sdk/config/cmd/builder.go index 557f6d70..bef4f85b 100644 --- a/pkg/sdk/config/cmd/builder.go +++ b/pkg/sdk/config/cmd/builder.go @@ -28,8 +28,8 @@ import ( "github.com/spf13/cobra" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/flags" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/flags" + "github.com/zntrio/harp/pkg/sdk/log" ) var configNewAsEnvFlag bool diff --git a/pkg/sdk/config/loader.go b/pkg/sdk/config/loader.go index 6eb87ed5..93c4a7ea 100644 --- a/pkg/sdk/config/loader.go +++ b/pkg/sdk/config/loader.go @@ -26,8 +26,8 @@ import ( "github.com/spf13/viper" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/flags" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/flags" + "github.com/zntrio/harp/pkg/sdk/log" ) // Load a config diff --git a/pkg/sdk/convert/yaml.go b/pkg/sdk/convert/yaml.go index d41e8438..41dea7ff 100644 --- a/pkg/sdk/convert/yaml.go +++ b/pkg/sdk/convert/yaml.go @@ -27,7 +27,7 @@ import ( "sigs.k8s.io/yaml" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/types" ) // YAMLtoJSON reads a given reader in order to extract a JSON representation diff --git a/pkg/sdk/flags/env.go b/pkg/sdk/flags/env.go index d9b005db..c615ead5 100644 --- a/pkg/sdk/flags/env.go +++ b/pkg/sdk/flags/env.go @@ -24,7 +24,7 @@ import ( "github.com/fatih/structs" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" ) // AsEnvVariables sets struct values from environment variables diff --git a/pkg/sdk/fsutil/builder.go b/pkg/sdk/fsutil/builder.go index c603725b..d7d7fe2b 100644 --- a/pkg/sdk/fsutil/builder.go +++ b/pkg/sdk/fsutil/builder.go @@ -25,7 +25,7 @@ import ( "path/filepath" "strings" - "github.com/elastic/harp/pkg/sdk/fsutil/targzfs" + "github.com/zntrio/harp/pkg/sdk/fsutil/targzfs" ) var ( diff --git a/pkg/sdk/fsutil/dump.go b/pkg/sdk/fsutil/dump.go index ca59d1a2..81caa4a1 100644 --- a/pkg/sdk/fsutil/dump.go +++ b/pkg/sdk/fsutil/dump.go @@ -25,7 +25,7 @@ import ( "os" "path/filepath" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" "go.uber.org/zap" ) diff --git a/pkg/sdk/platform/config.go b/pkg/sdk/platform/config.go index 615b5c9d..0da4a089 100644 --- a/pkg/sdk/platform/config.go +++ b/pkg/sdk/platform/config.go @@ -18,7 +18,7 @@ package platform import ( - "github.com/elastic/harp/pkg/sdk/platform/diagnostic" + "github.com/zntrio/harp/pkg/sdk/platform/diagnostic" ) // InstrumentationConfig holds all platform instrumentation settings diff --git a/pkg/sdk/platform/diagnostic/exporter.go b/pkg/sdk/platform/diagnostic/exporter.go index a60623af..830c201c 100644 --- a/pkg/sdk/platform/diagnostic/exporter.go +++ b/pkg/sdk/platform/diagnostic/exporter.go @@ -25,7 +25,7 @@ import ( "github.com/google/gops/agent" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" ) // Register adds diagnostic tools to main process diff --git a/pkg/sdk/platform/reloader/reloader_other.go b/pkg/sdk/platform/reloader/reloader_other.go index a9d15317..1c365e54 100644 --- a/pkg/sdk/platform/reloader/reloader_other.go +++ b/pkg/sdk/platform/reloader/reloader_other.go @@ -29,7 +29,7 @@ import ( "github.com/cloudflare/tableflip" "github.com/oklog/run" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" ) // TableflipReloader deleagtes socket reloading to tableflip library which his diff --git a/pkg/sdk/platform/reloader/reloader_windows.go b/pkg/sdk/platform/reloader/reloader_windows.go index 732edfc9..c4b366e6 100644 --- a/pkg/sdk/platform/reloader/reloader_windows.go +++ b/pkg/sdk/platform/reloader/reloader_windows.go @@ -15,6 +15,7 @@ // specific language governing permissions and limitations // under the License. +//go:build windows // +build windows package reloader @@ -25,7 +26,7 @@ import ( "github.com/oklog/run" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" ) // UnsupportedReloader is the file descriptor reloader mock for Windows. diff --git a/pkg/sdk/platform/server.go b/pkg/sdk/platform/server.go index b742325f..df825a38 100644 --- a/pkg/sdk/platform/server.go +++ b/pkg/sdk/platform/server.go @@ -31,9 +31,9 @@ import ( "github.com/oklog/run" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/platform/diagnostic" - "github.com/elastic/harp/pkg/sdk/platform/reloader" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/platform/diagnostic" + "github.com/zntrio/harp/pkg/sdk/platform/reloader" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/security/crypto/asymmetric.go b/pkg/sdk/security/crypto/asymmetric.go index 98cc8a79..a35ec8a3 100644 --- a/pkg/sdk/security/crypto/asymmetric.go +++ b/pkg/sdk/security/crypto/asymmetric.go @@ -29,7 +29,7 @@ import ( "github.com/pkg/errors" - "github.com/elastic/harp/build/fips" + "github.com/zntrio/harp/build/fips" ) // Keypair generates crypto keys according to given key type. diff --git a/pkg/sdk/security/crypto/bech32/bech32_test.go b/pkg/sdk/security/crypto/bech32/bech32_test.go index 6932b631..13bbad98 100644 --- a/pkg/sdk/security/crypto/bech32/bech32_test.go +++ b/pkg/sdk/security/crypto/bech32/bech32_test.go @@ -37,7 +37,7 @@ import ( "strings" "testing" - "github.com/elastic/harp/pkg/sdk/security/crypto/bech32" + "github.com/zntrio/harp/pkg/sdk/security/crypto/bech32" ) func TestBech32(t *testing.T) { diff --git a/pkg/sdk/security/crypto/encoder.go b/pkg/sdk/security/crypto/encoder.go index 83058744..7f89f73c 100644 --- a/pkg/sdk/security/crypto/encoder.go +++ b/pkg/sdk/security/crypto/encoder.go @@ -42,9 +42,9 @@ import ( jose "gopkg.in/square/go-jose.v2" "gopkg.in/square/go-jose.v2/jwt" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/sdk/security/crypto/bech32" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/sdk/security/crypto/bech32" + "github.com/zntrio/harp/pkg/sdk/types" ) // ToJWK encodes given key using JWK. diff --git a/pkg/sdk/security/crypto/extra25519/convert_test.go b/pkg/sdk/security/crypto/extra25519/convert_test.go index 17a2a798..ebc0cc64 100644 --- a/pkg/sdk/security/crypto/extra25519/convert_test.go +++ b/pkg/sdk/security/crypto/extra25519/convert_test.go @@ -24,7 +24,7 @@ import ( "fmt" "os" - "github.com/elastic/harp/pkg/sdk/security/crypto/extra25519" + "github.com/zntrio/harp/pkg/sdk/security/crypto/extra25519" ) func ExamplePrivateKeyToCurve25519() { diff --git a/pkg/sdk/security/crypto/paseto/v4/helpers.go b/pkg/sdk/security/crypto/paseto/v4/helpers.go index 68754985..9595549b 100644 --- a/pkg/sdk/security/crypto/paseto/v4/helpers.go +++ b/pkg/sdk/security/crypto/paseto/v4/helpers.go @@ -29,7 +29,7 @@ import ( "golang.org/x/crypto/blake2b" "golang.org/x/crypto/chacha20" - "github.com/elastic/harp/pkg/sdk/security" + "github.com/zntrio/harp/pkg/sdk/security" ) const ( diff --git a/pkg/sdk/security/crypto/rfc6979/ecdsa_test.go b/pkg/sdk/security/crypto/rfc6979/ecdsa_test.go index 3b33b2aa..aa5eb67b 100644 --- a/pkg/sdk/security/crypto/rfc6979/ecdsa_test.go +++ b/pkg/sdk/security/crypto/rfc6979/ecdsa_test.go @@ -29,7 +29,7 @@ import ( "math/big" "testing" - "github.com/elastic/harp/pkg/sdk/security/crypto/rfc6979" + "github.com/zntrio/harp/pkg/sdk/security/crypto/rfc6979" ) type ecdsaFixture struct { diff --git a/pkg/sdk/security/crypto/symmetric.go b/pkg/sdk/security/crypto/symmetric.go index ee88f223..41bdb027 100644 --- a/pkg/sdk/security/crypto/symmetric.go +++ b/pkg/sdk/security/crypto/symmetric.go @@ -25,7 +25,7 @@ import ( "github.com/fernet/fernet-go" "github.com/pkg/errors" - "github.com/elastic/harp/build/fips" + "github.com/zntrio/harp/build/fips" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/api.go b/pkg/sdk/value/api.go index c6081b6d..8b7d7ec0 100644 --- a/pkg/sdk/value/api.go +++ b/pkg/sdk/value/api.go @@ -24,7 +24,7 @@ import ( _ "github.com/golang/mock/mockgen/model" ) -//go:generate mockgen -destination test/mock/transformer.gen.go -package mock github.com/elastic/harp/pkg/sdk/value Transformer +//go:generate mockgen -destination test/mock/transformer.gen.go -package mock github.com/zntrio/harp/pkg/sdk/value Transformer // Transformer declares value transformer contract type Transformer interface { diff --git a/pkg/sdk/value/encoding/writer.go b/pkg/sdk/value/encoding/writer.go index 7a610c71..7bf4dc72 100644 --- a/pkg/sdk/value/encoding/writer.go +++ b/pkg/sdk/value/encoding/writer.go @@ -26,7 +26,7 @@ import ( "io" "strings" - "github.com/elastic/harp/pkg/sdk/ioutil" + "github.com/zntrio/harp/pkg/sdk/ioutil" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/encryption/aead/builders.go b/pkg/sdk/value/encryption/aead/builders.go index c155b98c..7ac219d7 100644 --- a/pkg/sdk/value/encryption/aead/builders.go +++ b/pkg/sdk/value/encryption/aead/builders.go @@ -28,9 +28,9 @@ import ( miscreant "github.com/miscreant/miscreant.go" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) var ( diff --git a/pkg/sdk/value/encryption/aead/helpers.go b/pkg/sdk/value/encryption/aead/helpers.go index 324ffbed..b097e6a0 100644 --- a/pkg/sdk/value/encryption/aead/helpers.go +++ b/pkg/sdk/value/encryption/aead/helpers.go @@ -25,7 +25,7 @@ import ( "fmt" "io" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) const ( diff --git a/pkg/sdk/value/encryption/age/transformer.go b/pkg/sdk/value/encryption/age/transformer.go index f0d00e73..7715d468 100644 --- a/pkg/sdk/value/encryption/age/transformer.go +++ b/pkg/sdk/value/encryption/age/transformer.go @@ -29,8 +29,8 @@ import ( "filippo.io/age" "filippo.io/age/armor" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) const ( diff --git a/pkg/sdk/value/encryption/context.go b/pkg/sdk/value/encryption/context.go index c465b4c9..4835b6f0 100644 --- a/pkg/sdk/value/encryption/context.go +++ b/pkg/sdk/value/encryption/context.go @@ -22,7 +22,7 @@ import "context" type contextKey string func (c contextKey) String() string { - return "github.com/elastic/harp/pkg/sdk/value/encryption#" + string(c) + return "github.com/zntrio/harp/pkg/sdk/value/encryption#" + string(c) } var ( diff --git a/pkg/sdk/value/encryption/dae/builders.go b/pkg/sdk/value/encryption/dae/builders.go index 8fb90cf8..42c9b484 100644 --- a/pkg/sdk/value/encryption/dae/builders.go +++ b/pkg/sdk/value/encryption/dae/builders.go @@ -28,9 +28,9 @@ import ( miscreant "github.com/miscreant/miscreant.go" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) var ( diff --git a/pkg/sdk/value/encryption/dae/transformer.go b/pkg/sdk/value/encryption/dae/transformer.go index b4a608d4..0b7da4c5 100644 --- a/pkg/sdk/value/encryption/dae/transformer.go +++ b/pkg/sdk/value/encryption/dae/transformer.go @@ -23,7 +23,7 @@ import ( "errors" "fmt" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/encryption/envelope/service.go b/pkg/sdk/value/encryption/envelope/service.go index b6961fe9..90ee8f66 100644 --- a/pkg/sdk/value/encryption/envelope/service.go +++ b/pkg/sdk/value/encryption/envelope/service.go @@ -19,7 +19,7 @@ package envelope import "context" -//go:generate mockgen -destination test/mock/service.gen.go -package mock github.com/elastic/harp/pkg/sdk/value/encryption/envelope Service +//go:generate mockgen -destination test/mock/service.gen.go -package mock github.com/zntrio/harp/pkg/sdk/value/encryption/envelope Service // Service declares envelope encryption service contract. type Service interface { diff --git a/pkg/sdk/value/encryption/envelope/transformer.go b/pkg/sdk/value/encryption/envelope/transformer.go index b00f754c..2cbe5f1f 100644 --- a/pkg/sdk/value/encryption/envelope/transformer.go +++ b/pkg/sdk/value/encryption/envelope/transformer.go @@ -25,8 +25,8 @@ import ( "golang.org/x/crypto/cryptobyte" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) // Transformer returns an envelope encryption value transformer. diff --git a/pkg/sdk/value/encryption/envelope/transformer_test.go b/pkg/sdk/value/encryption/envelope/transformer_test.go index 989e819b..03c43031 100644 --- a/pkg/sdk/value/encryption/envelope/transformer_test.go +++ b/pkg/sdk/value/encryption/envelope/transformer_test.go @@ -25,8 +25,8 @@ import ( "github.com/google/go-cmp/cmp" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption/secretbox" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption/secretbox" ) type testEnvelopeService struct{} diff --git a/pkg/sdk/value/encryption/fernet/transformer.go b/pkg/sdk/value/encryption/fernet/transformer.go index 7b8fb7c0..97576ffc 100644 --- a/pkg/sdk/value/encryption/fernet/transformer.go +++ b/pkg/sdk/value/encryption/fernet/transformer.go @@ -25,8 +25,8 @@ import ( "github.com/fernet/fernet-go" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) func init() { diff --git a/pkg/sdk/value/encryption/jwe/builders.go b/pkg/sdk/value/encryption/jwe/builders.go index 467e9cfc..d1bd4cbc 100644 --- a/pkg/sdk/value/encryption/jwe/builders.go +++ b/pkg/sdk/value/encryption/jwe/builders.go @@ -25,8 +25,8 @@ import ( "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) type KeyAlgorithm string diff --git a/pkg/sdk/value/encryption/jwe/transformer.go b/pkg/sdk/value/encryption/jwe/transformer.go index 6d0116db..40ed9bb0 100644 --- a/pkg/sdk/value/encryption/jwe/transformer.go +++ b/pkg/sdk/value/encryption/jwe/transformer.go @@ -23,8 +23,8 @@ import ( "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" ) // PBKDF2SaltSize is the default size of the salt for PBKDF2, 128-bit salt. diff --git a/pkg/sdk/value/encryption/paseto/transformer.go b/pkg/sdk/value/encryption/paseto/transformer.go index f9d7b20e..43696fdf 100644 --- a/pkg/sdk/value/encryption/paseto/transformer.go +++ b/pkg/sdk/value/encryption/paseto/transformer.go @@ -24,10 +24,10 @@ import ( "fmt" "strings" - "github.com/elastic/harp/build/fips" - pasetov4 "github.com/elastic/harp/pkg/sdk/security/crypto/paseto/v4" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/build/fips" + pasetov4 "github.com/zntrio/harp/pkg/sdk/security/crypto/paseto/v4" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) func init() { diff --git a/pkg/sdk/value/encryption/registry.go b/pkg/sdk/value/encryption/registry.go index 132bbac1..95365e8a 100644 --- a/pkg/sdk/value/encryption/registry.go +++ b/pkg/sdk/value/encryption/registry.go @@ -20,7 +20,7 @@ package encryption import ( "fmt" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) // TransformerFactoryFunc is used for transformer building for encryption. diff --git a/pkg/sdk/value/encryption/secretbox/transformer.go b/pkg/sdk/value/encryption/secretbox/transformer.go index d53e68b1..166e21c9 100644 --- a/pkg/sdk/value/encryption/secretbox/transformer.go +++ b/pkg/sdk/value/encryption/secretbox/transformer.go @@ -23,9 +23,9 @@ import ( "fmt" "strings" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" ) func init() { diff --git a/pkg/sdk/value/encryption/transformer.go b/pkg/sdk/value/encryption/transformer.go index f51e49bd..150dc1cc 100644 --- a/pkg/sdk/value/encryption/transformer.go +++ b/pkg/sdk/value/encryption/transformer.go @@ -22,8 +22,8 @@ import ( "fmt" "strings" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" ) // FromKey returns the value transformer that match the value format. diff --git a/pkg/sdk/value/encryption/transformer_test.go b/pkg/sdk/value/encryption/transformer_test.go index ae63ab2e..f50aba8d 100644 --- a/pkg/sdk/value/encryption/transformer_test.go +++ b/pkg/sdk/value/encryption/transformer_test.go @@ -25,17 +25,18 @@ import ( "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + // Register encryption transformers - _ "github.com/elastic/harp/pkg/sdk/value/encryption/aead" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/age" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/dae" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/fernet" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/jwe" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/paseto" - _ "github.com/elastic/harp/pkg/sdk/value/encryption/secretbox" - "github.com/elastic/harp/pkg/sdk/value/mock" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/aead" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/age" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/dae" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/fernet" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/jwe" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/paseto" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/secretbox" + "github.com/zntrio/harp/pkg/sdk/value/mock" ) func TestFromKey(t *testing.T) { diff --git a/pkg/sdk/value/flatmap/expand.go b/pkg/sdk/value/flatmap/expand.go index b2ecad37..e1aaadf8 100644 --- a/pkg/sdk/value/flatmap/expand.go +++ b/pkg/sdk/value/flatmap/expand.go @@ -20,7 +20,7 @@ package flatmap import ( "strings" - "github.com/elastic/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle" ) // Expand takes a map and a key (prefix) and expands that value into diff --git a/pkg/sdk/value/flatmap/expand_test.go b/pkg/sdk/value/flatmap/expand_test.go index 38c57970..9ee0c1a5 100644 --- a/pkg/sdk/value/flatmap/expand_test.go +++ b/pkg/sdk/value/flatmap/expand_test.go @@ -22,7 +22,7 @@ import ( "github.com/google/go-cmp/cmp" - "github.com/elastic/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle" ) func TestExpand(t *testing.T) { diff --git a/pkg/sdk/value/flatmap/flatmap.go b/pkg/sdk/value/flatmap/flatmap.go index e7ac5acb..fd031b01 100644 --- a/pkg/sdk/value/flatmap/flatmap.go +++ b/pkg/sdk/value/flatmap/flatmap.go @@ -22,7 +22,7 @@ import ( "path" "reflect" - "github.com/elastic/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/flatmap/flatmap_test.go b/pkg/sdk/value/flatmap/flatmap_test.go index 2869ee56..d3ffe9ee 100644 --- a/pkg/sdk/value/flatmap/flatmap_test.go +++ b/pkg/sdk/value/flatmap/flatmap_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/elastic/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle" ) func TestFlatten(t *testing.T) { diff --git a/pkg/sdk/value/identity/identity.go b/pkg/sdk/value/identity/identity.go index 43e6902b..7476d9ae 100644 --- a/pkg/sdk/value/identity/identity.go +++ b/pkg/sdk/value/identity/identity.go @@ -20,7 +20,7 @@ package identity import ( "context" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) type identityTransformer struct{} diff --git a/pkg/sdk/value/mock/mock.go b/pkg/sdk/value/mock/mock.go index f2d1c9a6..07f3f7b3 100644 --- a/pkg/sdk/value/mock/mock.go +++ b/pkg/sdk/value/mock/mock.go @@ -20,7 +20,7 @@ package mock import ( "context" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) func Transformer(err error) value.Transformer { diff --git a/pkg/sdk/value/signature/context.go b/pkg/sdk/value/signature/context.go index db934d39..7abcde7d 100644 --- a/pkg/sdk/value/signature/context.go +++ b/pkg/sdk/value/signature/context.go @@ -32,7 +32,7 @@ var ( type contextKey string func (c contextKey) String() string { - return "github.com/elastic/harp/pkg/sdk/value/signature/" + string(c) + return "github.com/zntrio/harp/pkg/sdk/value/signature/" + string(c) } // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/signature/jws/builders.go b/pkg/sdk/value/signature/jws/builders.go index c2485bd1..d9313198 100644 --- a/pkg/sdk/value/signature/jws/builders.go +++ b/pkg/sdk/value/signature/jws/builders.go @@ -26,8 +26,8 @@ import ( "github.com/dchest/uniuri" "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) func init() { diff --git a/pkg/sdk/value/signature/jws/builders_test.go b/pkg/sdk/value/signature/jws/builders_test.go index 251a58af..901670b8 100644 --- a/pkg/sdk/value/signature/jws/builders_test.go +++ b/pkg/sdk/value/signature/jws/builders_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) func TestTransformer(t *testing.T) { diff --git a/pkg/sdk/value/signature/jws/transformer.go b/pkg/sdk/value/signature/jws/transformer.go index 46ee1911..c0888ae3 100644 --- a/pkg/sdk/value/signature/jws/transformer.go +++ b/pkg/sdk/value/signature/jws/transformer.go @@ -23,8 +23,8 @@ import ( "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) type jwsTransformer struct { diff --git a/pkg/sdk/value/signature/jws/transformer_test.go b/pkg/sdk/value/signature/jws/transformer_test.go index 017d2b8c..a9b7db64 100644 --- a/pkg/sdk/value/signature/jws/transformer_test.go +++ b/pkg/sdk/value/signature/jws/transformer_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/assert" "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/signature/paseto/builders.go b/pkg/sdk/value/signature/paseto/builders.go index 3a46a909..0b7157ab 100644 --- a/pkg/sdk/value/signature/paseto/builders.go +++ b/pkg/sdk/value/signature/paseto/builders.go @@ -25,8 +25,8 @@ import ( "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) func init() { diff --git a/pkg/sdk/value/signature/paseto/builders_test.go b/pkg/sdk/value/signature/paseto/builders_test.go index dff85ca8..2b686c07 100644 --- a/pkg/sdk/value/signature/paseto/builders_test.go +++ b/pkg/sdk/value/signature/paseto/builders_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) var p384PrivateJWK = []byte(`{ diff --git a/pkg/sdk/value/signature/paseto/transformer.go b/pkg/sdk/value/signature/paseto/transformer.go index cb1f0ea2..51f11f32 100644 --- a/pkg/sdk/value/signature/paseto/transformer.go +++ b/pkg/sdk/value/signature/paseto/transformer.go @@ -27,7 +27,7 @@ import ( pasetov3 "zntr.io/paseto/v3" pasetov4 "zntr.io/paseto/v4" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/types" ) type pasetoTransformer struct { diff --git a/pkg/sdk/value/signature/raw/builders.go b/pkg/sdk/value/signature/raw/builders.go index 647150f6..16f7e686 100644 --- a/pkg/sdk/value/signature/raw/builders.go +++ b/pkg/sdk/value/signature/raw/builders.go @@ -25,8 +25,8 @@ import ( "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) func init() { diff --git a/pkg/sdk/value/signature/raw/builders_test.go b/pkg/sdk/value/signature/raw/builders_test.go index 57aa17fd..befe6078 100644 --- a/pkg/sdk/value/signature/raw/builders_test.go +++ b/pkg/sdk/value/signature/raw/builders_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) func TestTransformer(t *testing.T) { diff --git a/pkg/sdk/value/signature/raw/transformer.go b/pkg/sdk/value/signature/raw/transformer.go index f75a2fce..fc6709be 100644 --- a/pkg/sdk/value/signature/raw/transformer.go +++ b/pkg/sdk/value/signature/raw/transformer.go @@ -30,9 +30,9 @@ import ( "hash" "math/big" - "github.com/elastic/harp/pkg/sdk/security/crypto/rfc6979" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/security/crypto/rfc6979" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) type rawTransformer struct { diff --git a/pkg/sdk/value/signature/raw/transformer_test.go b/pkg/sdk/value/signature/raw/transformer_test.go index 74802e86..3b07d650 100644 --- a/pkg/sdk/value/signature/raw/transformer_test.go +++ b/pkg/sdk/value/signature/raw/transformer_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/assert" "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/sdk/value/signature" + "github.com/zntrio/harp/pkg/sdk/value/signature" ) // ----------------------------------------------------------------------------- diff --git a/pkg/sdk/value/signature/registry.go b/pkg/sdk/value/signature/registry.go index 5b22fad3..5c2180e0 100644 --- a/pkg/sdk/value/signature/registry.go +++ b/pkg/sdk/value/signature/registry.go @@ -20,7 +20,7 @@ package signature import ( "fmt" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value" ) // TransformerFactoryFunc is used for transformer building for signature. diff --git a/pkg/sdk/value/signature/transformer.go b/pkg/sdk/value/signature/transformer.go index 565445e3..80c1ec91 100644 --- a/pkg/sdk/value/signature/transformer.go +++ b/pkg/sdk/value/signature/transformer.go @@ -22,8 +22,8 @@ import ( "fmt" "strings" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" ) // FromKey returns the value transformer that match the value format. diff --git a/pkg/tasks/bundle/decrypt.go b/pkg/tasks/bundle/decrypt.go index cdf2efc9..5983e960 100644 --- a/pkg/tasks/bundle/decrypt.go +++ b/pkg/tasks/bundle/decrypt.go @@ -23,11 +23,11 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/tasks" ) // DecryptTask implements secret container decryption task. diff --git a/pkg/tasks/bundle/decrypt_test.go b/pkg/tasks/bundle/decrypt_test.go index 1f3f6e7f..ace63d0a 100644 --- a/pkg/tasks/bundle/decrypt_test.go +++ b/pkg/tasks/bundle/decrypt_test.go @@ -23,14 +23,15 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + // Import for tests - _ "github.com/elastic/harp/pkg/sdk/value/encryption/aead" - "github.com/elastic/harp/pkg/sdk/value/identity" - "github.com/elastic/harp/pkg/sdk/value/mock" - "github.com/elastic/harp/pkg/tasks" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/aead" + "github.com/zntrio/harp/pkg/sdk/value/identity" + "github.com/zntrio/harp/pkg/sdk/value/mock" + "github.com/zntrio/harp/pkg/tasks" ) func TestDecryptTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/diff.go b/pkg/tasks/bundle/diff.go index 989db112..43ba25c7 100644 --- a/pkg/tasks/bundle/diff.go +++ b/pkg/tasks/bundle/diff.go @@ -25,10 +25,10 @@ import ( "sigs.k8s.io/yaml" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/compare" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/compare" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // DiffTask implements secret container difference task. diff --git a/pkg/tasks/bundle/diff_test.go b/pkg/tasks/bundle/diff_test.go index 9ebc0322..c9dd1893 100644 --- a/pkg/tasks/bundle/diff_test.go +++ b/pkg/tasks/bundle/diff_test.go @@ -23,8 +23,8 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestDiffTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/dump.go b/pkg/tasks/bundle/dump.go index 0b5bc272..c1513042 100644 --- a/pkg/tasks/bundle/dump.go +++ b/pkg/tasks/bundle/dump.go @@ -26,10 +26,10 @@ import ( "github.com/jmespath/go-jmespath" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // DumpTask implements secret-container dumping task. diff --git a/pkg/tasks/bundle/dump_test.go b/pkg/tasks/bundle/dump_test.go index ce758538..bb5ac028 100644 --- a/pkg/tasks/bundle/dump_test.go +++ b/pkg/tasks/bundle/dump_test.go @@ -26,10 +26,10 @@ import ( "github.com/stretchr/testify/assert" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestDumpTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/encrypt.go b/pkg/tasks/bundle/encrypt.go index 8bac0efc..04becbd9 100644 --- a/pkg/tasks/bundle/encrypt.go +++ b/pkg/tasks/bundle/encrypt.go @@ -23,11 +23,11 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/tasks" ) // EncryptTask implements secret container encryption task. diff --git a/pkg/tasks/bundle/encrypt_test.go b/pkg/tasks/bundle/encrypt_test.go index 40f69758..13eb3f2d 100644 --- a/pkg/tasks/bundle/encrypt_test.go +++ b/pkg/tasks/bundle/encrypt_test.go @@ -23,12 +23,12 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" - "github.com/elastic/harp/pkg/sdk/value/identity" - "github.com/elastic/harp/pkg/sdk/value/mock" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value/identity" + "github.com/zntrio/harp/pkg/sdk/value/mock" + "github.com/zntrio/harp/pkg/tasks" ) func TestEncryptTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/filter.go b/pkg/tasks/bundle/filter.go index 8b0568de..33281c23 100644 --- a/pkg/tasks/bundle/filter.go +++ b/pkg/tasks/bundle/filter.go @@ -26,11 +26,11 @@ import ( "github.com/jmespath/go-jmespath" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/selector" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/selector" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // FilterTask implements secret container filtering task. diff --git a/pkg/tasks/bundle/filter_test.go b/pkg/tasks/bundle/filter_test.go index f40774b2..7693ac6d 100644 --- a/pkg/tasks/bundle/filter_test.go +++ b/pkg/tasks/bundle/filter_test.go @@ -26,9 +26,9 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) var ( diff --git a/pkg/tasks/bundle/lint.go b/pkg/tasks/bundle/lint.go index 83964480..fe064d0e 100644 --- a/pkg/tasks/bundle/lint.go +++ b/pkg/tasks/bundle/lint.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/ruleset" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/ruleset" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // LintTask implements bundle linting task. diff --git a/pkg/tasks/bundle/lint_test.go b/pkg/tasks/bundle/lint_test.go index d3767ca1..cbeaa2f9 100644 --- a/pkg/tasks/bundle/lint_test.go +++ b/pkg/tasks/bundle/lint_test.go @@ -21,8 +21,8 @@ import ( "context" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestLintTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/patch.go b/pkg/tasks/bundle/patch.go index 9a98fbf5..3b4a447e 100644 --- a/pkg/tasks/bundle/patch.go +++ b/pkg/tasks/bundle/patch.go @@ -22,10 +22,10 @@ import ( "errors" "fmt" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/patch" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/patch" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // PatchTask implements secret container patching task. diff --git a/pkg/tasks/bundle/patch_test.go b/pkg/tasks/bundle/patch_test.go index e1b317a8..2704b5ff 100644 --- a/pkg/tasks/bundle/patch_test.go +++ b/pkg/tasks/bundle/patch_test.go @@ -23,8 +23,8 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestPatchTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/prefixer.go b/pkg/tasks/bundle/prefixer.go index e11213ec..302277f6 100644 --- a/pkg/tasks/bundle/prefixer.go +++ b/pkg/tasks/bundle/prefixer.go @@ -24,9 +24,9 @@ import ( "path" "strings" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // PrefixerTask implements secret container prefix management task. diff --git a/pkg/tasks/bundle/prefixer_test.go b/pkg/tasks/bundle/prefixer_test.go index 751b5e22..2be3da47 100644 --- a/pkg/tasks/bundle/prefixer_test.go +++ b/pkg/tasks/bundle/prefixer_test.go @@ -23,8 +23,8 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestPrefixerTask_Run(t *testing.T) { diff --git a/pkg/tasks/bundle/read.go b/pkg/tasks/bundle/read.go index 5f041f6e..596074ef 100644 --- a/pkg/tasks/bundle/read.go +++ b/pkg/tasks/bundle/read.go @@ -23,9 +23,9 @@ import ( "errors" "fmt" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // ReadTask implements secret container reading task. diff --git a/pkg/tasks/bundle/read_test.go b/pkg/tasks/bundle/read_test.go index 0a421a63..8cbc2348 100644 --- a/pkg/tasks/bundle/read_test.go +++ b/pkg/tasks/bundle/read_test.go @@ -23,8 +23,8 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestReadTask_Run(t *testing.T) { diff --git a/pkg/tasks/container/identity.go b/pkg/tasks/container/identity.go index 3b658416..35ee04cf 100644 --- a/pkg/tasks/container/identity.go +++ b/pkg/tasks/container/identity.go @@ -25,12 +25,12 @@ import ( "errors" "fmt" - "github.com/elastic/harp/build/fips" - "github.com/elastic/harp/pkg/container/identity" - "github.com/elastic/harp/pkg/container/identity/key" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/build/fips" + "github.com/zntrio/harp/pkg/container/identity" + "github.com/zntrio/harp/pkg/container/identity/key" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/tasks" ) type IdentityVersion uint diff --git a/pkg/tasks/container/identity_test.go b/pkg/tasks/container/identity_test.go index c04d648a..67885cdb 100644 --- a/pkg/tasks/container/identity_test.go +++ b/pkg/tasks/container/identity_test.go @@ -23,11 +23,11 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/identity" - "github.com/elastic/harp/pkg/sdk/value/mock" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/identity" + "github.com/zntrio/harp/pkg/sdk/value/mock" + "github.com/zntrio/harp/pkg/tasks" ) func TestIdentityTask_Run(t *testing.T) { diff --git a/pkg/tasks/container/recover.go b/pkg/tasks/container/recover.go index 170b20c4..75c96277 100644 --- a/pkg/tasks/container/recover.go +++ b/pkg/tasks/container/recover.go @@ -23,10 +23,10 @@ import ( "errors" "fmt" - "github.com/elastic/harp/pkg/container/identity" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/container/identity" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/tasks" ) // RecoverTask implements secret container identity recovery task. diff --git a/pkg/tasks/container/recover_test.go b/pkg/tasks/container/recover_test.go index 24b9a42d..4f139599 100644 --- a/pkg/tasks/container/recover_test.go +++ b/pkg/tasks/container/recover_test.go @@ -23,14 +23,15 @@ import ( "io" "testing" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + // Imported for tests - _ "github.com/elastic/harp/pkg/sdk/value/encryption/jwe" - "github.com/elastic/harp/pkg/sdk/value/identity" - "github.com/elastic/harp/pkg/sdk/value/mock" - "github.com/elastic/harp/pkg/tasks" + _ "github.com/zntrio/harp/pkg/sdk/value/encryption/jwe" + "github.com/zntrio/harp/pkg/sdk/value/identity" + "github.com/zntrio/harp/pkg/sdk/value/mock" + "github.com/zntrio/harp/pkg/tasks" ) func TestRecoverTask_Run(t *testing.T) { diff --git a/pkg/tasks/container/seal.go b/pkg/tasks/container/seal.go index da37572e..95e53236 100644 --- a/pkg/tasks/container/seal.go +++ b/pkg/tasks/container/seal.go @@ -27,12 +27,12 @@ import ( "github.com/awnumar/memguard" - "github.com/elastic/harp/pkg/container" - "github.com/elastic/harp/pkg/container/seal" - sealv1 "github.com/elastic/harp/pkg/container/seal/v1" - sealv2 "github.com/elastic/harp/pkg/container/seal/v2" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/container" + "github.com/zntrio/harp/pkg/container/seal" + sealv1 "github.com/zntrio/harp/pkg/container/seal/v1" + sealv2 "github.com/zntrio/harp/pkg/container/seal/v2" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // SealTask implements secret container sealing task. diff --git a/pkg/tasks/container/seal_test.go b/pkg/tasks/container/seal_test.go index c3e8ff69..806acbb2 100644 --- a/pkg/tasks/container/seal_test.go +++ b/pkg/tasks/container/seal_test.go @@ -25,8 +25,8 @@ import ( fuzz "github.com/google/gofuzz" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestSealTask_Run_V1(t *testing.T) { diff --git a/pkg/tasks/container/unseal.go b/pkg/tasks/container/unseal.go index 393a6662..07db0150 100644 --- a/pkg/tasks/container/unseal.go +++ b/pkg/tasks/container/unseal.go @@ -24,9 +24,9 @@ import ( "github.com/awnumar/memguard" - "github.com/elastic/harp/pkg/container" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/container" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" ) // UnsealTask implements secret container unsealing task. diff --git a/pkg/tasks/container/unseal_test.go b/pkg/tasks/container/unseal_test.go index 696b95d8..5370ddb4 100644 --- a/pkg/tasks/container/unseal_test.go +++ b/pkg/tasks/container/unseal_test.go @@ -25,8 +25,8 @@ import ( "github.com/awnumar/memguard" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/tasks" ) func TestUnsealTask_Run(t *testing.T) { diff --git a/pkg/tasks/crate/copy.go b/pkg/tasks/crate/copy.go index ac57920b..1bf6c91c 100644 --- a/pkg/tasks/crate/copy.go +++ b/pkg/tasks/crate/copy.go @@ -26,8 +26,8 @@ import ( "oras.land/oras-go/pkg/content" "oras.land/oras-go/pkg/target" - "github.com/elastic/harp/pkg/crate" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/crate" + "github.com/zntrio/harp/pkg/sdk/log" ) // CopyTask implements secret-container pulling process to and OCI compatible registry. diff --git a/pkg/tasks/crate/extract-archive.go b/pkg/tasks/crate/extract-archive.go index 65e015d6..5625e35d 100644 --- a/pkg/tasks/crate/extract-archive.go +++ b/pkg/tasks/crate/extract-archive.go @@ -21,9 +21,9 @@ import ( "context" "fmt" - "github.com/elastic/harp/pkg/sdk/fsutil" - "github.com/elastic/harp/pkg/sdk/fsutil/targzfs" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/sdk/fsutil" + "github.com/zntrio/harp/pkg/sdk/fsutil/targzfs" + "github.com/zntrio/harp/pkg/tasks" ) // ExtractArchiveTask implements archive extraction task. diff --git a/pkg/tasks/crate/push.go b/pkg/tasks/crate/push.go index 2e69050b..744a7dfb 100644 --- a/pkg/tasks/crate/push.go +++ b/pkg/tasks/crate/push.go @@ -27,10 +27,10 @@ import ( "go.uber.org/zap" "oras.land/oras-go/pkg/content" - "github.com/elastic/harp/pkg/crate" - "github.com/elastic/harp/pkg/crate/cratefile" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/crate" + "github.com/zntrio/harp/pkg/crate/cratefile" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks" ) // PushTask implements secret-container publication process to and OCI compatible registry. diff --git a/pkg/tasks/from/dump.go b/pkg/tasks/from/dump.go index 506213ca..ac12a8e2 100644 --- a/pkg/tasks/from/dump.go +++ b/pkg/tasks/from/dump.go @@ -22,9 +22,9 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/tasks" ) // BundleDumpTask implements secret-container creation from a Bundle Dump. diff --git a/pkg/tasks/from/hcl.go b/pkg/tasks/from/hcl.go index 8b53a1e5..ab2f8f4c 100644 --- a/pkg/tasks/from/hcl.go +++ b/pkg/tasks/from/hcl.go @@ -22,10 +22,10 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/hcl" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/hcl" + "github.com/zntrio/harp/pkg/tasks" ) // JSONMapTask implements secret-container creation from JSON Map. diff --git a/pkg/tasks/from/json_map.go b/pkg/tasks/from/json_map.go index 6e3ba2dc..bdd66de3 100644 --- a/pkg/tasks/from/json_map.go +++ b/pkg/tasks/from/json_map.go @@ -23,9 +23,9 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/tasks" ) // JSONMapTask implements secret-container creation from JSON Map. diff --git a/pkg/tasks/from/kv.go b/pkg/tasks/from/kv.go index 3661dadf..4cc2d8b9 100644 --- a/pkg/tasks/from/kv.go +++ b/pkg/tasks/from/kv.go @@ -25,12 +25,12 @@ import ( "go.uber.org/zap" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/secret" - "github.com/elastic/harp/pkg/kv" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/secret" + "github.com/zntrio/harp/pkg/kv" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/tasks" ) type ExtractKVTask struct { diff --git a/pkg/tasks/from/object.go b/pkg/tasks/from/object.go index 73d11f62..5ee02f3d 100644 --- a/pkg/tasks/from/object.go +++ b/pkg/tasks/from/object.go @@ -26,10 +26,10 @@ import ( "gopkg.in/yaml.v3" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/value/flatmap" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/value/flatmap" + "github.com/zntrio/harp/pkg/tasks" ) // ObjectTask implements secret-container creation from a YAML/JSON structure. diff --git a/pkg/tasks/from/oplog.go b/pkg/tasks/from/oplog.go index 539a143b..7ee7c925 100644 --- a/pkg/tasks/from/oplog.go +++ b/pkg/tasks/from/oplog.go @@ -23,10 +23,10 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/compare" - "github.com/elastic/harp/pkg/tasks" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/compare" + "github.com/zntrio/harp/pkg/tasks" ) // OPLogTask implements secret-container creation from OpLog. diff --git a/pkg/tasks/from/template.go b/pkg/tasks/from/template.go index ef572828..80af8dca 100644 --- a/pkg/tasks/from/template.go +++ b/pkg/tasks/from/template.go @@ -22,12 +22,12 @@ import ( "fmt" "io" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/template" - "github.com/elastic/harp/pkg/bundle/template/visitor/secretbuilder" - "github.com/elastic/harp/pkg/tasks" - "github.com/elastic/harp/pkg/template/engine" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/template" + "github.com/zntrio/harp/pkg/bundle/template/visitor/secretbuilder" + "github.com/zntrio/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/template/engine" ) // BundleTemplateTask implements secret-container generation from BundleTemplate diff --git a/pkg/tasks/from/vault.go b/pkg/tasks/from/vault.go index dff07063..577dbb21 100644 --- a/pkg/tasks/from/vault.go +++ b/pkg/tasks/from/vault.go @@ -23,10 +23,10 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/bundle" - bundlevault "github.com/elastic/harp/pkg/bundle/vault" - "github.com/elastic/harp/pkg/tasks" - "github.com/elastic/harp/pkg/vault" + "github.com/zntrio/harp/pkg/bundle" + bundlevault "github.com/zntrio/harp/pkg/bundle/vault" + "github.com/zntrio/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/vault" ) // VaultTask implements secret-container building from Vault K/V. diff --git a/pkg/tasks/keygen/jwk.go b/pkg/tasks/keygen/jwk.go index c3bf14f7..23ff60ff 100644 --- a/pkg/tasks/keygen/jwk.go +++ b/pkg/tasks/keygen/jwk.go @@ -32,7 +32,7 @@ import ( "gopkg.in/square/go-jose.v2" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/tasks" ) // BundleDumpTask implements secret-container creation from a Bundle Dump. diff --git a/pkg/tasks/lint/validate.go b/pkg/tasks/lint/validate.go index 8d3f0f34..c3d31a49 100644 --- a/pkg/tasks/lint/validate.go +++ b/pkg/tasks/lint/validate.go @@ -26,11 +26,11 @@ import ( "github.com/xeipuuv/gojsonschema" "sigs.k8s.io/yaml" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/patch" - "github.com/elastic/harp/pkg/bundle/ruleset" - "github.com/elastic/harp/pkg/bundle/template" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/patch" + "github.com/zntrio/harp/pkg/bundle/ruleset" + "github.com/zntrio/harp/pkg/bundle/template" + "github.com/zntrio/harp/pkg/tasks" ) // ValidateTask implements input linter task. diff --git a/pkg/tasks/share/get.go b/pkg/tasks/share/get.go index 8249c2e2..cd5970ec 100644 --- a/pkg/tasks/share/get.go +++ b/pkg/tasks/share/get.go @@ -23,8 +23,8 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/tasks" - "github.com/elastic/harp/pkg/vault" + "github.com/zntrio/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/vault" ) // GetTask implements secret sharing via Vault Cubbyhole. diff --git a/pkg/tasks/share/put.go b/pkg/tasks/share/put.go index a67d67f7..63085a07 100644 --- a/pkg/tasks/share/put.go +++ b/pkg/tasks/share/put.go @@ -25,8 +25,8 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/tasks" - "github.com/elastic/harp/pkg/vault" + "github.com/zntrio/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/vault" ) // PutTask implements secret sharing via Vault Cubbyhole. diff --git a/pkg/tasks/template/fs.go b/pkg/tasks/template/fs.go index 05ddb664..1cd7c76d 100644 --- a/pkg/tasks/template/fs.go +++ b/pkg/tasks/template/fs.go @@ -24,8 +24,8 @@ import ( "github.com/psanford/memfs" - "github.com/elastic/harp/pkg/sdk/fsutil" - "github.com/elastic/harp/pkg/template/engine" + "github.com/zntrio/harp/pkg/sdk/fsutil" + "github.com/zntrio/harp/pkg/template/engine" ) // FileSystemTask implements filesystem template rendering task. diff --git a/pkg/tasks/template/render.go b/pkg/tasks/template/render.go index 480c6a15..dcc17482 100644 --- a/pkg/tasks/template/render.go +++ b/pkg/tasks/template/render.go @@ -25,14 +25,14 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/fsutil" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/tasks" - tplcmdutil "github.com/elastic/harp/pkg/template/cmdutil" - "github.com/elastic/harp/pkg/template/engine" - "github.com/elastic/harp/pkg/vault/kv" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/fsutil" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/tasks" + tplcmdutil "github.com/zntrio/harp/pkg/template/cmdutil" + "github.com/zntrio/harp/pkg/template/engine" + "github.com/zntrio/harp/pkg/vault/kv" ) // RenderTask implements single template rendering task. diff --git a/pkg/tasks/template/values.go b/pkg/tasks/template/values.go index 0e90dcf4..db5a3fdb 100644 --- a/pkg/tasks/template/values.go +++ b/pkg/tasks/template/values.go @@ -22,8 +22,8 @@ import ( "encoding/json" "fmt" - "github.com/elastic/harp/pkg/tasks" - tplcmdutil "github.com/elastic/harp/pkg/template/cmdutil" + "github.com/zntrio/harp/pkg/tasks" + tplcmdutil "github.com/zntrio/harp/pkg/template/cmdutil" ) // ValueTask implements value object generation task. diff --git a/pkg/tasks/to/gha.go b/pkg/tasks/to/gha.go index 35bb2dcb..a3991e03 100644 --- a/pkg/tasks/to/gha.go +++ b/pkg/tasks/to/gha.go @@ -30,8 +30,8 @@ import ( "github.com/google/go-github/v42/github" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/tasks" ) type GithubActionTask struct { diff --git a/pkg/tasks/to/kv.go b/pkg/tasks/to/kv.go index 842fe547..ccc0bb85 100644 --- a/pkg/tasks/to/kv.go +++ b/pkg/tasks/to/kv.go @@ -23,9 +23,9 @@ import ( "fmt" "path" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/kv" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/kv" + "github.com/zntrio/harp/pkg/tasks" ) type PublishKVTask struct { diff --git a/pkg/tasks/to/object.go b/pkg/tasks/to/object.go index 80e1ea89..d98d4eaa 100644 --- a/pkg/tasks/to/object.go +++ b/pkg/tasks/to/object.go @@ -25,9 +25,9 @@ import ( "github.com/pelletier/go-toml" "gopkg.in/yaml.v3" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/sdk/value/flatmap" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/sdk/value/flatmap" + "github.com/zntrio/harp/pkg/tasks" ) // ObjectTask implements secret-container publication process to json/yaml content. diff --git a/pkg/tasks/to/ruleset.go b/pkg/tasks/to/ruleset.go index e4d2213c..ffc4a560 100644 --- a/pkg/tasks/to/ruleset.go +++ b/pkg/tasks/to/ruleset.go @@ -23,9 +23,9 @@ import ( "sigs.k8s.io/yaml" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/ruleset" - "github.com/elastic/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/ruleset" + "github.com/zntrio/harp/pkg/tasks" ) // RuleSetTask implements RuleSet generation from a bundle. diff --git a/pkg/tasks/to/vault.go b/pkg/tasks/to/vault.go index 1b41bbca..a4098922 100644 --- a/pkg/tasks/to/vault.go +++ b/pkg/tasks/to/vault.go @@ -23,10 +23,10 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/bundle" - bundlevault "github.com/elastic/harp/pkg/bundle/vault" - "github.com/elastic/harp/pkg/tasks" - "github.com/elastic/harp/pkg/vault" + "github.com/zntrio/harp/pkg/bundle" + bundlevault "github.com/zntrio/harp/pkg/bundle/vault" + "github.com/zntrio/harp/pkg/tasks" + "github.com/zntrio/harp/pkg/vault" ) // VaultTask implements secret-container publication process to Vault. diff --git a/pkg/template/archive/create.go b/pkg/template/archive/create.go index 763689df..1c874d9a 100644 --- a/pkg/template/archive/create.go +++ b/pkg/template/archive/create.go @@ -28,8 +28,8 @@ import ( "github.com/gobwas/glob" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/types" ) // Create an archive from given options to the given writer. diff --git a/pkg/template/cmdutil/files.go b/pkg/template/cmdutil/files.go index f3ea648b..620f9f7c 100644 --- a/pkg/template/cmdutil/files.go +++ b/pkg/template/cmdutil/files.go @@ -21,9 +21,9 @@ import ( "fmt" "io/fs" - "github.com/elastic/harp/pkg/sdk/types" - "github.com/elastic/harp/pkg/template/engine" - "github.com/elastic/harp/pkg/template/files" + "github.com/zntrio/harp/pkg/sdk/types" + "github.com/zntrio/harp/pkg/template/engine" + "github.com/zntrio/harp/pkg/template/files" ) // Files returns template files. diff --git a/pkg/template/cmdutil/values.go b/pkg/template/cmdutil/values.go index d955aa17..1d27245c 100644 --- a/pkg/template/cmdutil/values.go +++ b/pkg/template/cmdutil/values.go @@ -27,10 +27,10 @@ import ( "path/filepath" "strings" - "github.com/elastic/harp/pkg/sdk/cmdutil" - "github.com/elastic/harp/pkg/sdk/flags/strvals" - "github.com/elastic/harp/pkg/sdk/log" - "github.com/elastic/harp/pkg/template/values" + "github.com/zntrio/harp/pkg/sdk/cmdutil" + "github.com/zntrio/harp/pkg/sdk/flags/strvals" + "github.com/zntrio/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/template/values" ) // Inspired from Helm v3 diff --git a/pkg/template/engine/files.go b/pkg/template/engine/files.go index a3fd3a84..25c7b5b8 100644 --- a/pkg/template/engine/files.go +++ b/pkg/template/engine/files.go @@ -24,7 +24,7 @@ import ( "github.com/gobwas/glob" - "github.com/elastic/harp/pkg/template/files" + "github.com/zntrio/harp/pkg/template/files" ) // Files is a map of files that can be accessed from a template. diff --git a/pkg/template/engine/funcs.go b/pkg/template/engine/funcs.go index c79a7005..c14d6988 100644 --- a/pkg/template/engine/funcs.go +++ b/pkg/template/engine/funcs.go @@ -32,11 +32,11 @@ import ( "github.com/alessio/shellescape" "go.step.sm/crypto/pemutil" - "github.com/elastic/harp/pkg/sdk/security/crypto" - "github.com/elastic/harp/pkg/sdk/security/crypto/bech32" - "github.com/elastic/harp/pkg/sdk/security/diceware" - "github.com/elastic/harp/pkg/sdk/security/password" - "github.com/elastic/harp/pkg/template/engine/internal/codec" + "github.com/zntrio/harp/pkg/sdk/security/crypto" + "github.com/zntrio/harp/pkg/sdk/security/crypto/bech32" + "github.com/zntrio/harp/pkg/sdk/security/diceware" + "github.com/zntrio/harp/pkg/sdk/security/password" + "github.com/zntrio/harp/pkg/template/engine/internal/codec" ) // FuncMap returns a mapping of all of the functions that Temmplate has. diff --git a/pkg/template/values/hocon/hocon.go b/pkg/template/values/hocon/hocon.go index 1cd8b016..586a3735 100644 --- a/pkg/template/values/hocon/hocon.go +++ b/pkg/template/values/hocon/hocon.go @@ -28,7 +28,7 @@ import ( "github.com/go-akka/configuration/hocon" "go.uber.org/zap" - "github.com/elastic/harp/pkg/sdk/log" + "github.com/zntrio/harp/pkg/sdk/log" ) // Parser is a HOCON parser diff --git a/pkg/template/values/parser.go b/pkg/template/values/parser.go index 600e3c3d..4aa2e64d 100644 --- a/pkg/template/values/parser.go +++ b/pkg/template/values/parser.go @@ -20,12 +20,12 @@ package values import ( "fmt" - "github.com/elastic/harp/pkg/template/values/hcl1" - "github.com/elastic/harp/pkg/template/values/hcl2" - "github.com/elastic/harp/pkg/template/values/hocon" - "github.com/elastic/harp/pkg/template/values/toml" - "github.com/elastic/harp/pkg/template/values/xml" - "github.com/elastic/harp/pkg/template/values/yaml" + "github.com/zntrio/harp/pkg/template/values/hcl1" + "github.com/zntrio/harp/pkg/template/values/hcl2" + "github.com/zntrio/harp/pkg/template/values/hocon" + "github.com/zntrio/harp/pkg/template/values/toml" + "github.com/zntrio/harp/pkg/template/values/xml" + "github.com/zntrio/harp/pkg/template/values/yaml" ) // Parser is the interface implemented by objects that can unmarshal diff --git a/pkg/template/values/parser_test.go b/pkg/template/values/parser_test.go index cad62d87..a49fd3a1 100644 --- a/pkg/template/values/parser_test.go +++ b/pkg/template/values/parser_test.go @@ -21,12 +21,12 @@ import ( "reflect" "testing" - "github.com/elastic/harp/pkg/template/values/hcl1" - "github.com/elastic/harp/pkg/template/values/hcl2" - "github.com/elastic/harp/pkg/template/values/hocon" - "github.com/elastic/harp/pkg/template/values/toml" - "github.com/elastic/harp/pkg/template/values/xml" - "github.com/elastic/harp/pkg/template/values/yaml" + "github.com/zntrio/harp/pkg/template/values/hcl1" + "github.com/zntrio/harp/pkg/template/values/hcl2" + "github.com/zntrio/harp/pkg/template/values/hocon" + "github.com/zntrio/harp/pkg/template/values/toml" + "github.com/zntrio/harp/pkg/template/values/xml" + "github.com/zntrio/harp/pkg/template/values/yaml" ) func TestGetParser(t *testing.T) { diff --git a/pkg/vault/client.go b/pkg/vault/client.go index 1e0cf4bc..d36fa0c9 100644 --- a/pkg/vault/client.go +++ b/pkg/vault/client.go @@ -22,9 +22,9 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/vault/cubbyhole" - "github.com/elastic/harp/pkg/vault/kv" - "github.com/elastic/harp/pkg/vault/transit" + "github.com/zntrio/harp/pkg/vault/cubbyhole" + "github.com/zntrio/harp/pkg/vault/kv" + "github.com/zntrio/harp/pkg/vault/transit" ) // ----------------------------------------------------------------------------- diff --git a/pkg/vault/cubbyhole/helpers.go b/pkg/vault/cubbyhole/helpers.go index ffcd848c..b644cbf8 100644 --- a/pkg/vault/cubbyhole/helpers.go +++ b/pkg/vault/cubbyhole/helpers.go @@ -23,7 +23,7 @@ import ( "github.com/dchest/uniuri" - "github.com/elastic/harp/pkg/vault/logical" + "github.com/zntrio/harp/pkg/vault/logical" ) // addToCubbyhole inserts the secrets in a cubbyhole and returns a response-wrapping token diff --git a/pkg/vault/cubbyhole/service.go b/pkg/vault/cubbyhole/service.go index cc9cf35f..f27069ba 100644 --- a/pkg/vault/cubbyhole/service.go +++ b/pkg/vault/cubbyhole/service.go @@ -26,8 +26,8 @@ import ( "github.com/golang/snappy" "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/vault/logical" - vpath "github.com/elastic/harp/pkg/vault/path" + "github.com/zntrio/harp/pkg/vault/logical" + vpath "github.com/zntrio/harp/pkg/vault/path" ) type service struct { diff --git a/pkg/vault/kv/builder.go b/pkg/vault/kv/builder.go index d4551a34..382c427f 100644 --- a/pkg/vault/kv/builder.go +++ b/pkg/vault/kv/builder.go @@ -22,7 +22,7 @@ import ( "github.com/hashicorp/vault/api" - vpath "github.com/elastic/harp/pkg/vault/path" + vpath "github.com/zntrio/harp/pkg/vault/path" ) // Option defines the functional option pattern. diff --git a/pkg/vault/kv/v1_service.go b/pkg/vault/kv/v1_service.go index 3397b575..00346993 100644 --- a/pkg/vault/kv/v1_service.go +++ b/pkg/vault/kv/v1_service.go @@ -21,8 +21,8 @@ import ( "context" "fmt" - "github.com/elastic/harp/pkg/vault/logical" - vpath "github.com/elastic/harp/pkg/vault/path" + "github.com/zntrio/harp/pkg/vault/logical" + vpath "github.com/zntrio/harp/pkg/vault/path" ) type kvv1Backend struct { diff --git a/pkg/vault/kv/v1_service_test.go b/pkg/vault/kv/v1_service_test.go index 18e4e9a3..ff1d8e46 100644 --- a/pkg/vault/kv/v1_service_test.go +++ b/pkg/vault/kv/v1_service_test.go @@ -26,7 +26,7 @@ import ( "github.com/golang/mock/gomock" vaultApi "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/vault/logical" + "github.com/zntrio/harp/pkg/vault/logical" ) func Test_KVV1_List(t *testing.T) { diff --git a/pkg/vault/kv/v2_service.go b/pkg/vault/kv/v2_service.go index a73d0d98..492f536d 100644 --- a/pkg/vault/kv/v2_service.go +++ b/pkg/vault/kv/v2_service.go @@ -24,8 +24,8 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/vault/logical" - vpath "github.com/elastic/harp/pkg/vault/path" + "github.com/zntrio/harp/pkg/vault/logical" + vpath "github.com/zntrio/harp/pkg/vault/path" ) type kvv2Backend struct { diff --git a/pkg/vault/kv/v2_service_test.go b/pkg/vault/kv/v2_service_test.go index f228aea8..33952e24 100644 --- a/pkg/vault/kv/v2_service_test.go +++ b/pkg/vault/kv/v2_service_test.go @@ -27,7 +27,7 @@ import ( "github.com/golang/mock/gomock" vaultApi "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/vault/logical" + "github.com/zntrio/harp/pkg/vault/logical" ) func Test_KVV2_List(t *testing.T) { diff --git a/pkg/vault/logical/api.go b/pkg/vault/logical/api.go index e4fc9ef3..ecf8dbbf 100644 --- a/pkg/vault/logical/api.go +++ b/pkg/vault/logical/api.go @@ -19,7 +19,7 @@ package logical import "github.com/hashicorp/vault/api" -//go:generate mockgen -destination logical.mock.go -package logical github.com/elastic/harp/pkg/vault/logical Logical +//go:generate mockgen -destination logical.mock.go -package logical github.com/zntrio/harp/pkg/vault/logical Logical // Logical backend interface type Logical interface { diff --git a/pkg/vault/logical/logical.mock.go b/pkg/vault/logical/logical.mock.go index 127c6bdb..e0325904 100644 --- a/pkg/vault/logical/logical.mock.go +++ b/pkg/vault/logical/logical.mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/elastic/harp/pkg/vault/logical (interfaces: Logical) +// Source: github.com/zntrio/harp/pkg/vault/logical (interfaces: Logical) // Package logical is a generated GoMock package. package logical diff --git a/pkg/vault/transformer.go b/pkg/vault/transformer.go index ccd8d1e4..58117489 100644 --- a/pkg/vault/transformer.go +++ b/pkg/vault/transformer.go @@ -22,12 +22,12 @@ import ( "path" "strings" - "github.com/elastic/harp/pkg/sdk/value" - "github.com/elastic/harp/pkg/sdk/value/encryption" - "github.com/elastic/harp/pkg/sdk/value/encryption/aead" - "github.com/elastic/harp/pkg/sdk/value/encryption/envelope" - "github.com/elastic/harp/pkg/sdk/value/encryption/secretbox" - vaultpath "github.com/elastic/harp/pkg/vault/path" + "github.com/zntrio/harp/pkg/sdk/value" + "github.com/zntrio/harp/pkg/sdk/value/encryption" + "github.com/zntrio/harp/pkg/sdk/value/encryption/aead" + "github.com/zntrio/harp/pkg/sdk/value/encryption/envelope" + "github.com/zntrio/harp/pkg/sdk/value/encryption/secretbox" + vaultpath "github.com/zntrio/harp/pkg/vault/path" ) type DataEncryption string diff --git a/pkg/vault/transit/service.go b/pkg/vault/transit/service.go index 46edc8fb..36edff80 100644 --- a/pkg/vault/transit/service.go +++ b/pkg/vault/transit/service.go @@ -28,8 +28,8 @@ import ( "github.com/hashicorp/vault/api" - "github.com/elastic/harp/pkg/vault/logical" - vpath "github.com/elastic/harp/pkg/vault/path" + "github.com/zntrio/harp/pkg/vault/logical" + vpath "github.com/zntrio/harp/pkg/vault/path" ) type service struct { diff --git a/samples/bundle-remapper/README.md b/samples/bundle-remapper/README.md index 8a285bd7..2a40691d 100644 --- a/samples/bundle-remapper/README.md +++ b/samples/bundle-remapper/README.md @@ -86,7 +86,7 @@ Update dependency references ```sh export HARP_HOME= -go mod edit -replace=github.com/elastic/harp=$HARP_HOME +go mod edit -replace=github.com/zntrio/harp=$HARP_HOME ``` Implement secret path mapper @@ -120,9 +120,9 @@ import ( "fmt" "strings" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/pipeline" - "github.com/elastic/harp/pkg/sdk/log" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/pipeline" + "github.com/zntrio/harp/pkg/sdk/log" "go.uber.org/zap" ) diff --git a/samples/bundle-remapper/go.mod b/samples/bundle-remapper/go.mod index eecd8141..6f3c27f2 100644 --- a/samples/bundle-remapper/go.mod +++ b/samples/bundle-remapper/go.mod @@ -2,10 +2,10 @@ module harp.elastic.co/remapper go 1.18 -replace github.com/elastic/harp => ../../ +replace github.com/zntrio/harp => ../../ require ( - github.com/elastic/harp v0.0.0-00010101000000-000000000000 + github.com/zntrio/harp v0.0.0-00010101000000-000000000000 go.uber.org/zap v1.21.0 ) diff --git a/samples/bundle-remapper/main.go b/samples/bundle-remapper/main.go index d0f775a3..89c32606 100644 --- a/samples/bundle-remapper/main.go +++ b/samples/bundle-remapper/main.go @@ -24,9 +24,9 @@ import ( "go.uber.org/zap" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle/pipeline" - "github.com/elastic/harp/pkg/sdk/log" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle/pipeline" + "github.com/zntrio/harp/pkg/sdk/log" ) func main() { diff --git a/samples/sops/README.md b/samples/sops/README.md index 6bad5b28..7c0f0b95 100644 --- a/samples/sops/README.md +++ b/samples/sops/README.md @@ -231,7 +231,7 @@ It will generate the following HCL script ```ruby # Generated with Harp Terraformer, Don't modify. -# https://github.com/elastic/harp-plugins/tree/main/cmd/harp-terraformer +# https://github.com/zntrio/harp-plugins/tree/main/cmd/harp-terraformer # --- # SpecificationHash: "8nuVOhyalizDvImmlIAoCqH91OBIPUhL4ab24bpUdNE=" # Owner: "cloud-security@elastic.co" diff --git a/test/fuzz/bundle/loader/fuzz_test.go b/test/fuzz/bundle/loader/fuzz_test.go index 560b05e7..fee4df53 100644 --- a/test/fuzz/bundle/loader/fuzz_test.go +++ b/test/fuzz/bundle/loader/fuzz_test.go @@ -26,7 +26,7 @@ import ( "os" "testing" - "github.com/elastic/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle" ) func loadFromFile(t testing.TB, filename string) []byte { diff --git a/test/fuzz/template/fuzz_test.go b/test/fuzz/template/fuzz_test.go index b999b4ca..c7891603 100644 --- a/test/fuzz/template/fuzz_test.go +++ b/test/fuzz/template/fuzz_test.go @@ -26,7 +26,7 @@ import ( "os" "testing" - "github.com/elastic/harp/pkg/bundle/template" + "github.com/zntrio/harp/pkg/bundle/template" ) func loadFromFile(t testing.TB, filename string) []byte { diff --git a/test/integration/kv/consul_test.go b/test/integration/kv/consul_test.go index 3c8eba73..08c1a2a7 100644 --- a/test/integration/kv/consul_test.go +++ b/test/integration/kv/consul_test.go @@ -26,8 +26,8 @@ import ( "github.com/hashicorp/consul/api" "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/kv/consul" - "github.com/elastic/harp/test/integration/resource" + "github.com/zntrio/harp/pkg/kv/consul" + "github.com/zntrio/harp/test/integration/resource" ) // ----------------------------------------------------------------------------- diff --git a/test/integration/kv/etcd3_test.go b/test/integration/kv/etcd3_test.go index d5b8f7fd..0e0844c9 100644 --- a/test/integration/kv/etcd3_test.go +++ b/test/integration/kv/etcd3_test.go @@ -27,8 +27,8 @@ import ( "github.com/stretchr/testify/assert" clientv3 "go.etcd.io/etcd/client/v3" - "github.com/elastic/harp/pkg/kv/etcd3" - "github.com/elastic/harp/test/integration/resource" + "github.com/zntrio/harp/pkg/kv/etcd3" + "github.com/zntrio/harp/test/integration/resource" ) // ----------------------------------------------------------------------------- diff --git a/test/integration/kv/suite_test.go b/test/integration/kv/suite_test.go index 78c50857..71134493 100644 --- a/test/integration/kv/suite_test.go +++ b/test/integration/kv/suite_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/kv" + "github.com/zntrio/harp/pkg/kv" ) func testSuite(ctx context.Context, s kv.Store) func(t *testing.T) { diff --git a/test/integration/kv/zookeeper_test.go b/test/integration/kv/zookeeper_test.go index 119abfa2..bfa13450 100644 --- a/test/integration/kv/zookeeper_test.go +++ b/test/integration/kv/zookeeper_test.go @@ -27,8 +27,8 @@ import ( "github.com/go-zookeeper/zk" "github.com/stretchr/testify/assert" - "github.com/elastic/harp/pkg/kv/zookeeper" - "github.com/elastic/harp/test/integration/resource" + "github.com/zntrio/harp/pkg/kv/zookeeper" + "github.com/zntrio/harp/test/integration/resource" ) // ----------------------------------------------------------------------------- diff --git a/test/integration/large/main.go b/test/integration/large/main.go index dfeffd40..380816e8 100644 --- a/test/integration/large/main.go +++ b/test/integration/large/main.go @@ -21,9 +21,9 @@ import ( "fmt" "os" - bundlev1 "github.com/elastic/harp/api/gen/go/harp/bundle/v1" - "github.com/elastic/harp/pkg/bundle" - "github.com/elastic/harp/pkg/bundle/secret" + bundlev1 "github.com/zntrio/harp/api/gen/go/harp/bundle/v1" + "github.com/zntrio/harp/pkg/bundle" + "github.com/zntrio/harp/pkg/bundle/secret" ) func main() { diff --git a/test/magefile.go b/test/magefile.go index 990a234e..892ac82d 100644 --- a/test/magefile.go +++ b/test/magefile.go @@ -15,14 +15,15 @@ // specific language governing permissions and limitations // under the License. -//+build mage +//go:build mage +// +build mage package main import ( "github.com/magefile/mage/mg" - "github.com/elastic/harp/build/mage/golang" + "github.com/zntrio/harp/build/mage/golang" ) // ----------------------------------------------------------------------------- @@ -31,14 +32,14 @@ type Fuzz mg.Namespace func (Fuzz) BundleLoader() { mg.SerialDeps( - golang.FuzzBuild("bundle-loader", "github.com/elastic/harp/test/fuzz/bundle/loader"), + golang.FuzzBuild("bundle-loader", "github.com/zntrio/harp/test/fuzz/bundle/loader"), golang.FuzzRun("bundle-loader"), ) } func (Fuzz) TemplateReader() { mg.SerialDeps( - golang.FuzzBuild("template-reader", "github.com/elastic/harp/test/fuzz/template"), + golang.FuzzBuild("template-reader", "github.com/zntrio/harp/test/fuzz/template"), golang.FuzzRun("template-reader"), ) } diff --git a/tools/go.mod b/tools/go.mod index bba0f93b..ec02a669 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,4 +1,4 @@ -module github.com/elastic/harp/tools +module github.com/zntrio/harp/tools go 1.18