Skip to content

Library can't load eliptic curve keys #242

Closed
@brendandburns

Description

@brendandburns
Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters' to type 'Org.BouncyCastle.Crypto.Parameters.RsaPrivateCrtKeyParameters'.
   at k8s.CertUtils.GeneratePfx(KubernetesClientConfiguration config)
   at k8s.Kubernetes.SetCredentials(KubernetesClientConfiguration config, HttpClientHandler handler)
   at eventrouter.EventRouter.Main(String[] args) in /crypthome/brendan/src/k8s-event-bridge/src/EventRouter.cs:line 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions