Skip to content

Commit a7a5058

Browse files
authored
Merge pull request #216 from smallstep/dependabot/go_modules/filippo.io/edwards25519-1.1.1
Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1
2 parents 74532a0 + d1e3598 commit a7a5058

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
)
1818

1919
require (
20-
filippo.io/edwards25519 v1.1.0 // indirect
20+
filippo.io/edwards25519 v1.1.1 // indirect
2121
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
2222
github.com/davecgh/go-spew v1.1.1 // indirect
2323
github.com/go-jose/go-jose/v3 v3.0.4 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
2-
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
1+
filippo.io/edwards25519 v1.1.1 h1:YpjwWWlNmGIDyXOn8zLzqiD+9TyIlPhGFG96P39uBpw=
2+
filippo.io/edwards25519 v1.1.1/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
33
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
44
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
55
github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM=

token/parse.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"time"
88

99
"github.com/pkg/errors"
10+
1011
"go.step.sm/crypto/jose"
1112
)
1213

@@ -52,7 +53,7 @@ type Payload struct {
5253
Version interface{} `json:"ver"`
5354
XMSMirID string `json:"xms_mirid"`
5455
K8sSANamespace string `json:"kubernetes.io/serviceaccount/namespace,omitempty"`
55-
K8sSASecretName string `json:"kubernetes.io/serviceaccount/secret.name,omitempty"`
56+
K8sSASecretName string `json:"kubernetes.io/serviceaccount/secret.name,omitempty"` // #nosec G117 -- property used for JSON (un)marshaling
5657
K8sSAServiceAccountName string `json:"kubernetes.io/serviceaccount/service-account.name,omitempty"`
5758
K8sSAServiceAccountUID string `json:"kubernetes.io/serviceaccount/service-account.uid,omitempty"`
5859
Google *GCPGooglePayload `json:"google"` // GCP token claims

ui/ui.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"github.com/chzyer/readline"
1111
"github.com/manifoldco/promptui"
1212
"github.com/pkg/errors"
13+
1314
"go.step.sm/crypto/randutil"
1415
)
1516

@@ -305,7 +306,7 @@ func preparePromptTerminal() (func(), error) {
305306
tty.Close()
306307
}
307308

308-
fd := int(tty.Fd())
309+
fd := int(tty.Fd()) // #nosec G115 -- uintptr comes from file descriptor
309310
state, err := readline.MakeRaw(fd)
310311
if err != nil {
311312
defer clean()
@@ -335,7 +336,7 @@ func prepareSelectTerminal() (func(), error) {
335336
tty.Close()
336337
}
337338

338-
fd := int(tty.Fd())
339+
fd := int(tty.Fd()) // #nosec G115 -- uintptr comes from file descriptor
339340
state, err := readline.MakeRaw(fd)
340341
if err != nil {
341342
defer clean()

usage/renderer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (r *Renderer) write(b []byte) {
9090
}
9191

9292
func (r *Renderer) printf(s string, a ...interface{}) {
93-
fmt.Fprintf(r.out.w, s, a...)
93+
fmt.Fprintf(r.out.w, s, a...) // #nosec G705 -- renders internal help content
9494
}
9595

9696
func (r *Renderer) capture(mode RenderMode) {

0 commit comments

Comments
 (0)