Support for raw(?) EC private keys
See original GitHub issueI’m not sure what the actual name of the format is, but EC keys are often generated in a non-PKCS8 format by default, e.g., with
$ openssl ecparam -out core/src/test/resources/com/linecorp/armeria/internal/crypto/pkcs1.key -genkey -name prime256v1
and currently Armeria can’t load them. It’d be nice if it could. Not sure the ideal way, but I’ve found that converting to PKCS8 when there’s an error works ok, but quite gross…
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Converting raw ECC private key into ASN.1 DER encoded key
If your structure lacks a public key, I would first just try and import it; it's pretty easy to compute the public key...
Read more >Python : Create ECC Keys from private and public key ...
This is a test key. The details of generating a key from the raw data depend on the respective library, e.g. in PyCryptodome...
Read more >Command Line Elliptic Curve Operations - OpenSSLWiki
OpenSSL provides two command line tools for working with keys suitable for Elliptic Curve (EC) algorithms: openssl ecparam openssl ec.
Read more >EC Private Keys Are Incompatible With iOS/OS X Security ...
The problem begins when I extract these two octet strings and present them to the Security APIs on OS X and iOS. These...
Read more >MacOS: EC public key creation from data failed
takeRetainedValue() as Error }. This helped. but I have another question. If I use the following PHP code: $kString = "-----BEGIN EC PRIVATE...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh yeah. My bad.
I guess this issue may be a duplicate of #1985? It’s not EC but PKCS12 that causes the problem IIUC.