Skip to content

Commit

Permalink
chore: adds fb.
Browse files Browse the repository at this point in the history
Signed-off-by: ianhundere <138915+ianhundere@users.noreply.github.com>
  • Loading branch information
ianhundere committed Feb 3, 2025
1 parent dd0f340 commit f6018ed
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/certmaker/certmaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,16 +279,6 @@ func CreateCertificates(sv signature.SignerVerifier, config KMSConfig,
return fmt.Errorf("error getting leaf public key: %w", err)
}

leafCryptoSV, ok := leafSV.(CryptoSignerVerifier)
if !ok {
return fmt.Errorf("leaf signer does not implement CryptoSigner")
}

_, _, err = leafCryptoSV.CryptoSigner(context.Background(), nil)
if err != nil {
return fmt.Errorf("error getting leaf crypto signer: %w", err)
}

var leafTemplate interface{}
if leafTemplatePath == "" {
defaultTemplate, err := GetDefaultTemplate("leaf")
Expand Down

0 comments on commit f6018ed

Please # to comment.