diff --git a/command/certificate/fingerprint.go b/command/certificate/fingerprint.go index a272ac53a..491777ded 100644 --- a/command/certificate/fingerprint.go +++ b/command/certificate/fingerprint.go @@ -139,7 +139,7 @@ func fingerprintAction(ctx *cli.Context) error { if csrErr != nil { return err } - // We will only need the raw the generate a fingerprint. + // We will only need the raw DER bytes to generate a fingerprint. certs = []*x509.Certificate{ {Raw: csr.Raw}, } diff --git a/token/options.go b/token/options.go index 4a8daac33..6bdd0ff47 100644 --- a/token/options.go +++ b/token/options.go @@ -99,7 +99,7 @@ func WithConfirmationFingerprint(fp string) Options { // WithFingerprint returns an Options function that the cnf claims with // "x5rt#S256" representing the fingerprint of the CSR -func WithFingerprint(v interface{}) Options { +func WithFingerprint(v any) Options { return func(c *Claims) error { var data []byte switch vv := v.(type) {