creds: Secretkey should be generated upto 40 characters in length. (#4471)

Current code allowed it wrongly to generate secret key upto 100
we should only use 100 as a value to validate but for generating
it should be 40.

Fixes #4470
This commit is contained in:
Harshavardhana
2017-06-05 15:18:03 -07:00
committed by GitHub
parent 986aa8fabf
commit 1c3f244fc5
4 changed files with 31 additions and 18 deletions
+3 -2
View File
@@ -19,11 +19,12 @@ package cmd
import (
"errors"
"fmt"
"github.com/gorilla/mux"
"github.com/minio/cli"
"net/url"
"os"
"strings"
"github.com/gorilla/mux"
"github.com/minio/cli"
)
var gatewayTemplate = `NAME: