Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
encKeyVersionByte = byte(77) // magic number EncryptionKey encoding
secKeyVersionByte = byte(78) // magic number SecretKey encoding

password = "123a123"
password = "password"
secret = "Welcome1"
filename = ".creds"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/common/apikey.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func GetTestAPIKey(satelliteID string) (string, error) {
idHash := sha256.Sum256([]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1})
base64Salt := base64.StdEncoding.EncodeToString(idHash[:])

accessGrant, err := consolewasm.GenAccessGrant(satelliteID, key.Serialize(), "123a123", base64Salt)
accessGrant, err := consolewasm.GenAccessGrant(satelliteID, key.Serialize(), "password", base64Salt)
if err != nil {
return "", errs.Wrap(err)
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (ce *ConsoleEndpoint) tryLogin(ctx context.Context, email string) (string,
Password string `json:"password"`
}

authToken.Password = "123a123"
authToken.Password = "password"
authToken.Email = email

res, err := json.Marshal(authToken)
Expand Down Expand Up @@ -172,7 +172,7 @@ func (ce *ConsoleEndpoint) createUser(ctx context.Context, regToken string, emai

registerData.FullName = "Alice"
registerData.Email = email
registerData.Password = "123a123"
registerData.Password = "password"
registerData.ShortName = "al"
registerData.Secret = regToken

Expand Down