Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c37d6f

Browse files
committed
fix(lint): suppress gosec warning for deterministic Ed25519 key generation
1 parent0d2172e commit4c37d6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎agent/agentssh/agentssh.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,6 +1344,7 @@ func CoderSigner(seed int64, algorithm string) (gossh.Signer, error) {
13441344
switchalgorithm {
13451345
case"ed25519":
13461346
// Generate deterministic Ed25519 key
1347+
// nolint: gosec
13471348
rand:=rand.New(rand.NewSource(seed))
13481349
_,privateKey,err:=ed25519.GenerateKey(rand)
13491350
iferr!=nil {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp