PolarSSL is now part of ARM Official announcement and rebranded as mbed TLS.

Parse RSA V1.0 public key


Sep 22, 2017 03:03
Jasmine

The latest version of public key is using "-----BEGIN PUBLIC KEY-----" and "-----END PUBLIC KEY-----". But the previous version which using "-----BEGIN RSA PUBLIC KEY-----" and "-----END RSA PUBLIC KEY-----" cannot be parse now.

Cloud you support to parse the previous version public key?

 
Oct 3, 2017 12:11
Ron Eldor

Hi Jasmine,
I have raised an issue in github to support this feature. Note that you could convert the PKCS#1 public key to PKCS#8 format, which is supported by Mbed TLS:

Regards,
Mbed TLS Team member
Ron

 
Oct 29, 2017 11:29
Ron Eldor

Hi Jasmine,
We have made a PR supporting this feature.
Note it is still pending full approval and merging, so it may change.
Regards,
Mbed TLS Team member
Ron