diff --git a/CHANGELOG.md b/CHANGELOG.md index d2b47571e..d2b714394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -121,7 +121,7 @@ generate them, leading to client errors. MISC: * Various documentation fixes and improvements [GH-685] [GH-688] [GH-697] - [GH-710] [GH-715] + [GH-710] [GH-715] [GH-831] ## 0.3.1 (October 6, 2015) diff --git a/api/SPEC.md b/api/SPEC.md index e73683e5b..15345f390 100644 --- a/api/SPEC.md +++ b/api/SPEC.md @@ -87,7 +87,7 @@ The following HTTP status codes are used throughout the API. - `200` - Success with data. - `204` - Success, no data returned. - `400` - Invalid request, missing or invalid data. -- `401` - Unauthorized, your authentication details are either +- `403` - Forbidden, your authentication details are either incorrect or you don't have access to this feature. - `404` - Invalid path. This can both mean that the path truly doesn't exist or that you don't have permission to view a diff --git a/helper/certutil/certutil_test.go b/helper/certutil/certutil_test.go index 2d03a42c1..0673bfc26 100644 --- a/helper/certutil/certutil_test.go +++ b/helper/certutil/certutil_test.go @@ -4,7 +4,6 @@ import ( "bytes" "encoding/json" "fmt" - "log" "strings" "testing" @@ -158,7 +157,6 @@ func compareCertBundleToParsedCertBundle(cbut *CertBundle, pcbut *ParsedCertBund return fmt.Errorf("Bundle has wrong private key type") } if cb.PrivateKey != privRSAKeyPem && cb.PrivateKey != privRSA8KeyPem { - log.Println(cb.PrivateKey, privRSAKeyPem, privRSA8KeyPem) return fmt.Errorf("Bundle private key does not match") } case "ec": diff --git a/scripts/dist.sh b/scripts/dist.sh index cf5531b13..9e428b125 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -14,6 +14,11 @@ if ([ -z $AWS_ACCESS_KEY_ID ] || [ -z $AWS_SECRET_ACCESS_KEY ]) && [ ! -z $HC_RE exit 1 fi +if [ -z $NOBUILD ] && [ -z $DOCKER_CROSS_IMAGE ]; then + echo "Please set the Docker cross-compile image in DOCKER_CROSS_IMAGE" + exit 1 +fi + # Get the parent directory of where this script is. SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done diff --git a/website/config.rb b/website/config.rb index 550e7e1e8..fdf880ee5 100644 --- a/website/config.rb +++ b/website/config.rb @@ -2,7 +2,7 @@ set :base_url, "https://www.vaultproject.io/" activate :hashicorp do |h| h.name = "vault" - h.version = "0.3.1" + h.version = "0.4.0" h.github_slug = "hashicorp/vault" h.website_root = "website" diff --git a/website/source/docs/http/index.html.md b/website/source/docs/http/index.html.md index 19064b63f..0c180774d 100644 --- a/website/source/docs/http/index.html.md +++ b/website/source/docs/http/index.html.md @@ -133,7 +133,7 @@ The following HTTP status codes are used throughout the API. - `204` - Success, no data returned. - `400` - Invalid request, missing or invalid data. See the "validation" section for more details on the error response. -- `401` - Unauthorized, your authentication details are either +- `403` - Forbidden, your authentication details are either incorrect or you don't have access to this feature. - `404` - Invalid path. This can both mean that the path truly doesn't exist or that you don't have permission to view a