diff --git a/pkg/controller/certificates/internal/secretsmanager/keystore.go b/pkg/controller/certificates/internal/secretsmanager/keystore.go index b061654e7..1fbede66b 100644 --- a/pkg/controller/certificates/internal/secretsmanager/keystore.go +++ b/pkg/controller/certificates/internal/secretsmanager/keystore.go @@ -28,9 +28,10 @@ import ( "crypto/x509" "time" - "github.com/jetstack/cert-manager/pkg/util/pki" jks "github.com/pavel-v-chernykh/keystore-go/v4" "software.sslmate.com/src/go-pkcs12" + + "github.com/jetstack/cert-manager/pkg/util/pki" ) const ( diff --git a/pkg/controller/certificates/internal/secretsmanager/keystore_test.go b/pkg/controller/certificates/internal/secretsmanager/keystore_test.go index bbfe1ccce..738fb6d72 100644 --- a/pkg/controller/certificates/internal/secretsmanager/keystore_test.go +++ b/pkg/controller/certificates/internal/secretsmanager/keystore_test.go @@ -23,12 +23,13 @@ import ( "fmt" "testing" - cmapi "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1" - "github.com/jetstack/cert-manager/pkg/util/pki" jks "github.com/pavel-v-chernykh/keystore-go/v4" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "software.sslmate.com/src/go-pkcs12" + + cmapi "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1" + "github.com/jetstack/cert-manager/pkg/util/pki" ) func mustGeneratePrivateKey(t *testing.T, encoding cmapi.PrivateKeyEncoding) []byte {