Skip to content

Commit

Permalink
fixing SLV_ENV_SECRET_PASSWORD usage
Browse files Browse the repository at this point in the history
  • Loading branch information
shibme committed Mar 1, 2024
1 parent 59fb8db commit b1d9262
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/environments/providers/password.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func unBindWithPassword(ref map[string][]byte) (secretKeyBytes []byte, err error
if password == nil {
return nil, errPasswordNotSet
}
} else {
password = []byte(passwordStr)
}
xipherKey, err := xipher.NewPrivateKeyForPassword([]byte(password))
if err != nil {
Expand Down

0 comments on commit b1d9262

Please sign in to comment.