Skip to content

Commit

Permalink
allow SOCKS5 thanks to golang 1.9/1.10 [fixes #253]
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic authored and geofffranks committed Mar 17, 2018
1 parent 05f75ba commit 7b37594
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions op_vault.go
Expand Up @@ -222,6 +222,7 @@ func getVaultSecret(secret string) (map[string]interface{}, error) {

client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{
RootCAs: roots,
InsecureSkipVerify: skipVaultVerify(os.Getenv("VAULT_SKIP_VERIFY")),
Expand Down

0 comments on commit 7b37594

Please sign in to comment.