Commit Graph

3 Commits

Author SHA1 Message Date
David Brown 5e1d8f9d5d doc: Add a note to imgtool docs
Because of branch, and https server configuration issues, the plain 'go
get' instructions to build imgtool don't work.  Add a note to the README
file for imgtool and give some instructions on how to manually clone the
necessary git repositories.
2017-02-06 08:10:16 -07:00
David Brown 6b0df8103a imgtool: Add support for P-224
The --key-type (-t) parameter to keygen allows (requires) the user to
specify the type of key to generate.  This now supports "ecdsa-p224" and
"ecdsa-256".  Note that the curve must match the one coded into the
bootloader.
2017-01-31 13:38:34 -07:00
David Brown 039649548c imgtool: Create simple signing tool
The imgtool is a simple image signing tool based on the libraries in the
`newt` tool, but appropriate for images that live outside of a Mynewt
project.

This initial version is able to generate, extract public keys from, and
sign ECDSA P-256 keys.  The signing tool is also able to add an image
trailer to mark this image for upgrade.
2017-01-31 09:00:45 -07:00