We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb2564 commit 2f0500aCopy full SHA for 2f0500a
2 files changed
command/certificate/fingerprint.go
@@ -139,7 +139,7 @@ func fingerprintAction(ctx *cli.Context) error {
139
if csrErr != nil {
140
return err
141
}
142
- // We will only need the raw the generate a fingerprint.
+ // We will only need the raw DER bytes to generate a fingerprint.
143
certs = []*x509.Certificate{
144
{Raw: csr.Raw},
145
token/options.go
@@ -99,7 +99,7 @@ func WithConfirmationFingerprint(fp string) Options {
99
100
// WithFingerprint returns an Options function that the cnf claims with
101
// "x5rt#S256" representing the fingerprint of the CSR
102
-func WithFingerprint(v interface{}) Options {
+func WithFingerprint(v any) Options {
103
return func(c *Claims) error {
104
var data []byte
105
switch vv := v.(type) {
0 commit comments