nextflow-io / nextflow

A DSL for data-driven computational pipelines
http://nextflow.io
Apache License 2.0
2.61k stars 605 forks source link

Fix Invalid DER: object is not integer when using EC private key #4972

Closed jagedn closed 3 weeks ago

jagedn commented 1 month ago

Trying to run pipelines using the k8s operator against a k3s cluster it seems the EC private key is not well supported and following exception is raised:

Caused by: java.io.IOException: Invalid DER: object is not integer

Fabric8io suffered same error and they fixed it using bouncy-castle library:

https://github.com/fabric8io/kubernetes-client/pull/1349/files#diff-6c5691ee4cb5995ee4820377a4703695a3cdbc4ea4711022199ea0388ad8370aR124

This PR use same approach and it's tested against a k3d cluster

netlify[bot] commented 1 month ago

Deploy Preview for nextflow-docs-staging ready!

Name Link
Latest commit 13c2a44c7650e3be3a1d3f1d0083f615cc9ed1d5
Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/665371241694cd0008eac22a
Deploy Preview https://deploy-preview-4972--nextflow-docs-staging.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

pditommaso commented 3 weeks ago

Merged manually via 4dbb5193. Thanks Jorge