Fix signing with elliptic curves

1) When using ec256 (aka secp256r1), passes the correct type to the
   marshalling function.

2) Update to use the standard library for parse the ed25519 PKCS#8 (must
   upgrade to go 1.13 or higher)

Signed-off-by: Fabio Utzig <utzig@apache.org>
2 files changed
tree: 9fdc9e3624f119f5ccb44aebf05e26d2084d9841
  1. errors/
  2. flash/
  3. image/
  4. manifest/
  5. mfg/
  6. sec/
  7. .gitignore
  8. .travis.yml
  9. go.mod
  10. go.sum
  11. LICENSE
  12. NOTICE
  13. README.md
README.md

Mynewt Artifact

Apache Mynewt Artifact is a Go library that parses, manipulates, validates, and outputs Mynewt artifacts. Supported artifacts are:

  • Images
  • Image manifests
  • Manufacturing images (mfgimages)
  • Manufacturing manifests