Skip to content

Commit

Permalink
Keys can be listed
Browse files Browse the repository at this point in the history
Workaround an issue in Vault, see hashicorp/vault#3873
  • Loading branch information
LeSuisse committed Jan 31, 2018
1 parent 79ef4bb commit 4ea5d25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ func main() {
tlsConfig := apiClientMeta.GetTLSConfig()
tlsProviderFunc := pluginutil.VaultPluginTLSProvider(tlsConfig)

// Fail the version check, falling back to netRPC
// Workaround hashicorp/vault#3873
os.Unsetenv("VAULT_VERSION")

err := plugin.Serve(&plugin.ServeOpts{
BackendFactoryFunc: gpg.Factory,
TLSProviderFunc: tlsProviderFunc,
Expand Down

0 comments on commit 4ea5d25

Please sign in to comment.