Skip to content

Commit 2f0500a

Browse files
marainohslatman
andauthored
Apply suggestions from code review
Co-authored-by: Herman Slatman <[email protected]>
1 parent 3eb2564 commit 2f0500a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

command/certificate/fingerprint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func fingerprintAction(ctx *cli.Context) error {
139139
if csrErr != nil {
140140
return err
141141
}
142-
// We will only need the raw the generate a fingerprint.
142+
// We will only need the raw DER bytes to generate a fingerprint.
143143
certs = []*x509.Certificate{
144144
{Raw: csr.Raw},
145145
}

token/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func WithConfirmationFingerprint(fp string) Options {
9999

100100
// WithFingerprint returns an Options function that the cnf claims with
101101
// "x5rt#S256" representing the fingerprint of the CSR
102-
func WithFingerprint(v interface{}) Options {
102+
func WithFingerprint(v any) Options {
103103
return func(c *Claims) error {
104104
var data []byte
105105
switch vv := v.(type) {

0 commit comments

Comments
 (0)