File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
pkg/internal/testabilities/fixture Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ import (
1414 clients "github.com/bsv-blockchain/go-sdk/auth/clients/authhttp"
1515)
1616
17+ // EXAMPLE_CREDENTIALS - These are test/example credentials for demonstration purposes only
18+ // nosemgrep: hardcoded-credential
1719const (
18- serverWIF = "L1cReZseWmqcYra3vrqj9TPBGHhvDQFD2jYuu1RUj5rrfpVLiKHs"
20+ serverWIF = "L1cReZseWmqcYra3vrqj9TPBGHhvDQFD2jYuu1RUj5rrfpVLiKHs" // gitleaks:allow
1921 clientPrivHex = "143ab18a84d3b25e1a13cefa90038411e5d2014590a2a4a57263d1593c8dee1c"
2022)
2123
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ import (
1717 "github.com/bsv-blockchain/go-bsv-middleware/pkg/middleware"
1818)
1919
20- const serverWIF = "L1cReZseWmqcYra3vrqj9TPBGHhvDQFD2jYuu1RUj5rrfpVLiKHs"
20+ // EXAMPLE_CREDENTIAL - This is a test/example WIF for demonstration purposes only
21+ // nosemgrep: hardcoded-credential
22+ const serverWIF = "L1cReZseWmqcYra3vrqj9TPBGHhvDQFD2jYuu1RUj5rrfpVLiKHs" // gitleaks:allow
2123
2224func main () {
2325 // The wallet here is tweaked for example purposes.
Original file line number Diff line number Diff line change 66 primitives "github.com/bsv-blockchain/go-sdk/primitives/ec"
77)
88
9- const WIF = "L1cReZseWmqcYra3vrqj9TPBGHhvDQFD2jYuu1RUj5rrfpVLiKHs"
9+ // WIF is a test fixture credential for internal testing purposes only
10+ // nosemgrep: hardcoded-credential
11+ const WIF = "L1cReZseWmqcYra3vrqj9TPBGHhvDQFD2jYuu1RUj5rrfpVLiKHs" // gitleaks:allow
1012
1113type identity struct {
1214 WIF string
You can’t perform that action at this time.
0 commit comments