Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go mod ref #2

Merged
merged 11 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/scripts/report_failed_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ ${#failed_jobs[@]} -eq 0 ]; then
All builds succeeded! :white_check_mark:"
else
new_body="Build Results:
Build failed for these jobs: ${failed_jobs[*]}. Please refer to this workflow to learn more: https://github.com/hashicorp/vault/actions/runs/$RUN_ID"
Build failed for these jobs: ${failed_jobs[*]}. Please refer to this workflow to learn more: https://github.com/lf-edge/openbao/actions/runs/$RUN_ID"
naphelps marked this conversation as resolved.
Show resolved Hide resolved
fi


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ jobs:
# This jq query filters out successful tests, leaving only the failures.
# Then, it formats the results into rows of a Markdown table.
# An example row will resemble this:
# | github.com/hashicorp/vault/package | TestName | fips | 0 | 2 | [view results](github.com/link-to-logs) |
# | github.com/lf-edge/openbao/package | TestName | fips | 0 | 2 | [view results](github.com/link-to-logs) |
naphelps marked this conversation as resolved.
Show resolved Hide resolved
jq -r -n 'inputs
| select(.Action == "fail")
| "| ${{inputs.name}} | \(.Package) | \(.Test // "-") | \(.Elapsed) | ${{ matrix.id }} | [view test results :scroll:](${{ env.GH_JOB_URL }}) |"' \
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ If you have never worked with Go before, you will have to complete the
following steps listed in the README, under the section [Developing Vault][1].


[1]: https://github.com/hashicorp/vault#developing-vault
[1]: https://github.com/lf-edge/openbao#developing-vault
naphelps marked this conversation as resolved.
Show resolved Hide resolved
[2]: https://discuss.hashicorp.com/c/vault

## Contributor License Agreement
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- Tutorials: [HashiCorp's Learn Platform](https://learn.hashicorp.com/vault)
- Certification Exam: [Vault Associate](https://www.hashicorp.com/certification/#hashicorp-certified-vault-associate)

<img width="300" alt="Vault Logo" src="https://github.com/hashicorp/vault/blob/f22d202cde2018f9455dec755118a9b84586e082/Vault_PrimaryLogo_Black.png">
<img width="300" alt="Vault Logo" src="https://github.com/lf-edge/openbao/blob/f22d202cde2018f9455dec755118a9b84586e082/Vault_PrimaryLogo_Black.png">
naphelps marked this conversation as resolved.
Show resolved Hide resolved

Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log.

Expand Down Expand Up @@ -124,7 +124,7 @@ $ make test TEST=./vault
### Importing Vault

This repository publishes two libraries that may be imported by other projects:
`github.com/hashicorp/vault/api` and `github.com/hashicorp/vault/sdk`.
`github.com/lf-edge/openbao/api` and `github.com/lf-edge/openbao/sdk`.
naphelps marked this conversation as resolved.
Show resolved Hide resolved

Note that this repository also contains Vault (the product), and as with most Go
projects, Vault uses Go modules to manage its dependencies. The mechanism to do
Expand Down Expand Up @@ -180,7 +180,7 @@ An example of how to use it:
```go
import (
"testing"
"github.com/hashicorp/vault/sdk/helper/testcluster/docker"
"github.com/lf-edge/openbao/sdk/helper/testcluster/docker"
naphelps marked this conversation as resolved.
Show resolved Hide resolved
)

func Test_Something_With_Docker(t *testing.T) {
Expand All @@ -204,7 +204,7 @@ Or for Enterprise:
```go
import (
"testing"
"github.com/hashicorp/vault/sdk/helper/testcluster/docker"
"github.com/lf-edge/openbao/sdk/helper/testcluster/docker"
naphelps marked this conversation as resolved.
Show resolved Hide resolved
)

func Test_Something_With_Docker(t *testing.T) {
Expand Down Expand Up @@ -237,7 +237,7 @@ func Test_Custom_Build_With_Docker(t *testing.T) {
}
```

There are a variety of helpers in the `github.com/hashicorp/vault/sdk/helper/testcluster`
There are a variety of helpers in the `github.com/lf-edge/openbao/sdk/helper/testcluster`
naphelps marked this conversation as resolved.
Show resolved Hide resolved
package, e.g. these tests below will create a pair of 3-node clusters and link them using
PR or DR replication respectively, and fail if the replication state doesn't become healthy
before the passed context expires.
Expand Down Expand Up @@ -284,5 +284,5 @@ Finally, here's an example of running an existing OSS docker test with a custom
```bash
$ GOOS=linux make dev
$ VAULT_BINARY=$(pwd)/bin/vault go test -run 'TestRaft_Configuration_Docker' ./vault/external_tests/raft/raft_binary
ok github.com/hashicorp/vault/vault/external_tests/raft/raft_binary 20.960s
ok github.com/lf-edge/openbao/vault/external_tests/raft/raft_binary 20.960s
naphelps marked this conversation as resolved.
Show resolved Hide resolved
```
4 changes: 2 additions & 2 deletions api/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Vault API
=================

This provides the `github.com/hashicorp/vault/api` package which contains code useful for interacting with a Vault server.
This provides the `github.com/lf-edge/openbao/api` package which contains code useful for interacting with a Vault server.
naphelps marked this conversation as resolved.
Show resolved Hide resolved

For examples of how to use this module, see the [vault-examples](https://github.com/hashicorp/vault-examples) repo.
For a step-by-step walkthrough on using these client libraries, see the [developer quickstart](https://www.vaultproject.io/docs/get-started/developer-qs).

[![GoDoc](https://godoc.org/github.com/hashicorp/vault/api?status.png)](https://godoc.org/github.com/hashicorp/vault/api)
[![GoDoc](https://godoc.org/github.com/lf-edge/openbao/api?status.png)](https://godoc.org/github.com/lf-edge/openbao/api)
2 changes: 1 addition & 1 deletion api/auth/approle/approle.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"strings"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

type AppRoleAuth struct {
Expand Down
2 changes: 1 addition & 1 deletion api/auth/approle/approle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

// testHTTPServer creates a test HTTP server that handles requests until
Expand Down
4 changes: 2 additions & 2 deletions api/auth/approle/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hashicorp/vault/api/auth/approle
module github.com/lf-edge/openbao/api/auth/approle

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

require github.com/hashicorp/vault/api v1.9.2
require github.com/lf-edge/openbao/api v1.9.2
4 changes: 2 additions & 2 deletions api/auth/approle/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0S
github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
Expand Down
2 changes: 1 addition & 1 deletion api/auth/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-secure-stdlib/awsutil"
"github.com/hashicorp/go-uuid"
"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

type AWSAuth struct {
Expand Down
4 changes: 2 additions & 2 deletions api/auth/aws/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/hashicorp/vault/api/auth/aws
module github.com/lf-edge/openbao/api/auth/aws

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

Expand All @@ -7,5 +7,5 @@ require (
github.com/hashicorp/go-hclog v0.16.2
github.com/hashicorp/go-secure-stdlib/awsutil v0.1.6
github.com/hashicorp/go-uuid v1.0.2
github.com/hashicorp/vault/api v1.9.2
github.com/lf-edge/openbao/api v1.9.2
)
naphelps marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 2 additions & 2 deletions api/auth/aws/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2I
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/jmespath/go-jmespath v0.3.0 h1:OS12ieG61fsCg5+qLJ+SsW9NicxNkg3b25OyT2yCeUc=
github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
Expand Down
2 changes: 1 addition & 1 deletion api/auth/azure/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"net/url"
"time"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

type AzureAuth struct {
Expand Down
4 changes: 2 additions & 2 deletions api/auth/azure/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hashicorp/vault/api/auth/azure
module github.com/lf-edge/openbao/api/auth/azure

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

require github.com/hashicorp/vault/api v1.9.2
require github.com/lf-edge/openbao/api v1.9.2
4 changes: 2 additions & 2 deletions api/auth/azure/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0S
github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
Expand Down
2 changes: 1 addition & 1 deletion api/auth/gcp/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"cloud.google.com/go/compute/metadata"
credentials "cloud.google.com/go/iam/credentials/apiv1"
"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
credentialspb "google.golang.org/genproto/googleapis/iam/credentials/v1"
)

Expand Down
4 changes: 2 additions & 2 deletions api/auth/gcp/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/hashicorp/vault/api/auth/gcp
module github.com/lf-edge/openbao/api/auth/gcp

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

require (
cloud.google.com/go v0.97.0
github.com/hashicorp/vault/api v1.9.2
github.com/lf-edge/openbao/api v1.9.2
google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0
naphelps marked this conversation as resolved.
Show resolved Hide resolved
google.golang.org/grpc v1.41.0 // indirect
)
4 changes: 2 additions & 2 deletions api/auth/gcp/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
Expand Down
4 changes: 2 additions & 2 deletions api/auth/kubernetes/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hashicorp/vault/api/auth/kubernetes
module github.com/lf-edge/openbao/api/auth/kubernetes

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

require github.com/hashicorp/vault/api v1.9.2
require github.com/lf-edge/openbao/api v1.9.2
4 changes: 2 additions & 2 deletions api/auth/kubernetes/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0S
github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
Expand Down
2 changes: 1 addition & 1 deletion api/auth/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"os"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

type KubernetesAuth struct {
Expand Down
4 changes: 2 additions & 2 deletions api/auth/ldap/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hashicorp/vault/api/auth/ldap
module github.com/lf-edge/openbao/api/auth/ldap

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

require github.com/hashicorp/vault/api v1.9.2
require github.com/lf-edge/openbao/api v1.9.2
4 changes: 2 additions & 2 deletions api/auth/ldap/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0S
github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
Expand Down
2 changes: 1 addition & 1 deletion api/auth/ldap/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"strings"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

type LDAPAuth struct {
Expand Down
2 changes: 1 addition & 1 deletion api/auth/ldap/ldap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

// testHTTPServer creates a test HTTP server that handles requests until
Expand Down
4 changes: 2 additions & 2 deletions api/auth/userpass/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hashicorp/vault/api/auth/userpass
module github.com/lf-edge/openbao/api/auth/userpass

naphelps marked this conversation as resolved.
Show resolved Hide resolved
go 1.16

require github.com/hashicorp/vault/api v1.9.2
require github.com/lf-edge/openbao/api v1.9.2
4 changes: 2 additions & 2 deletions api/auth/userpass/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0S
github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
github.com/lf-edge/openbao/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/lf-edge/openbao/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8=
naphelps marked this conversation as resolved.
Show resolved Hide resolved
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
Expand Down
2 changes: 1 addition & 1 deletion api/auth/userpass/userpass.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"strings"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

type UserpassAuth struct {
Expand Down
2 changes: 1 addition & 1 deletion api/auth/userpass/userpass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

"github.com/hashicorp/vault/api"
"github.com/openbao/openbao/api"
)

// testHTTPServer creates a test HTTP server that handles requests until
Expand Down
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/hashicorp/vault/api
module github.com/lf-edge/openbao/api

naphelps marked this conversation as resolved.
Show resolved Hide resolved
// The Go version directive for the api package should normally only be updated when
// code in the api package requires a newer Go version to build. It should not
Expand Down
2 changes: 1 addition & 1 deletion api/plugin_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package api

// NOTE: this file was copied from
// https://github.com/hashicorp/vault/blob/main/sdk/helper/consts/plugin_types.go
// https://github.com/openbao/openbao/blob/main/sdk/helper/consts/plugin_types.go
// Any changes made should be made to both files at the same time.

import "fmt"
Expand Down
4 changes: 2 additions & 2 deletions audit/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package audit
import (
"context"

"github.com/hashicorp/vault/sdk/helper/salt"
"github.com/hashicorp/vault/sdk/logical"
"github.com/openbao/openbao/sdk/helper/salt"
"github.com/openbao/openbao/sdk/logical"
)

// Backend interface must be implemented for an audit
Expand Down
6 changes: 3 additions & 3 deletions audit/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (

"github.com/go-jose/go-jose/v3/jwt"

"github.com/hashicorp/vault/helper/namespace"
"github.com/hashicorp/vault/sdk/helper/salt"
"github.com/hashicorp/vault/sdk/logical"
"github.com/openbao/openbao/helper/namespace"
"github.com/openbao/openbao/sdk/helper/salt"
"github.com/openbao/openbao/sdk/logical"
)

type AuditFormatWriter interface {
Expand Down
2 changes: 1 addition & 1 deletion audit/format_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"io"

"github.com/hashicorp/vault/sdk/helper/salt"
"github.com/openbao/openbao/sdk/helper/salt"
)

// JSONFormatWriter is an AuditFormatWriter implementation that structures data into
Expand Down
8 changes: 4 additions & 4 deletions audit/format_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"testing"
"time"

"github.com/hashicorp/vault/helper/namespace"
"github.com/hashicorp/vault/sdk/helper/jsonutil"
"github.com/hashicorp/vault/sdk/helper/salt"
"github.com/hashicorp/vault/sdk/logical"
"github.com/openbao/openbao/helper/namespace"
"github.com/openbao/openbao/sdk/helper/jsonutil"
"github.com/openbao/openbao/sdk/helper/salt"
"github.com/openbao/openbao/sdk/logical"
)

func TestFormatJSON_formatRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion audit/format_jsonx.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"fmt"
"io"

"github.com/hashicorp/vault/sdk/helper/salt"
"github.com/jefferai/jsonx"
"github.com/openbao/openbao/sdk/helper/salt"
)

// JSONxFormatWriter is an AuditFormatWriter implementation that structures data into
Expand Down
Loading
Loading