Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinssgh committed Feb 8, 2024
1 parent 9cf01f7 commit 866e4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/localstate_mgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func getFragmentSeed(password string) ([]byte, error) {
if password == "" {
return nil, errors.New("empty fragment seed, please check password: " + password)
}
fmt.Println("using provided password !!!")
fmt.Println("using provided password !!!", password, len(password))

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

Sensitive data returned by an access to password
flows to a logging call.
seedStr = password
}

Expand Down

0 comments on commit 866e4a3

Please sign in to comment.