Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Private key does not belong in device OTA config #8

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

natevw
Copy link
Contributor

@natevw natevw commented May 28, 2020

The wording that one should include the private key into aws_ota_codesigner_certificate.h is surely incorrect? AFAICT only the (public) certificate should be needed on the device.

The documentation and sample code for the OTA tests also appears to confirm this:

Currently tests/common/include/aws_ota_codesigner_certificate.h is pre-filled in with the ecdsa-sha256-signer.crt.pem certificate located under tests/common/ota/test_files.

…the ecdsa-sha256-signer.crt.pem certificate being very distinct from the rsa-sha256-signer.key.pem private key. Only the former is included in the codesign configuration header which is built into the device.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The wording that one must include the **private key** into `aws_ota_codesigner_certificate.h` seems incorrect. AFAICT only the (public) certificate is needed on the device.
@robhath robhath merged commit 9ab8c6a into awsdocs:master Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants