spacemonkeygo / openssl

OpenSSL bindings for Go
http://godoc.org/github.com/spacemonkeygo/openssl
Apache License 2.0
472 stars 237 forks source link

ec key generation issue #93

Open rajnikant12345 opened 6 years ago

rajnikant12345 commented 6 years ago

While generating key via api call openssl.GenerateECKey(), the generation is success when decoding the key via asn1.1 i found there is no curve id in key asn1 dump.

When when i generate key using go or openssl, the key asn1 dump shows curve id.

I need to write my own wrapper function.