key_app_writer writes invalid private key DER file #2239
The same bug as reported in #1257 and fixed in #1258 for public key output also exists in the private key output: When writing the private key in DER format, the contents of the file are shifted by one byte, which makes it an invalid DER file.
Yes: mbedtls-2.1, mbedtls-2.7
Steps to test or reproduce
ChangeLog: Apparently I’m supposed to make an entry there, but I’m not sure where it should go – I was expecting an “unreleased” section at the top of the file, but don’t see one.
@cwalther Thank you for your contribution!
As I believe this is your Mbed account, your CLA is valid.
As for the ChangeLog, if there is no section to put new entries, we simply create one. You can look at this commit for reference.
Please make a new commit to htis PR, with the section and the ChangeLog entry