image: return correct key index during sig verify

This commit fixes a bug involving image signature verification.  The
`"image".Image.VerifySigs()` function is intended to return the index of
the key that successfully verified an image's signature.  The bug is:
this function was returning the index of the signature, not the index of
the key.
1 file changed
tree: be8ffa170d7e15c3d03be4615a14d7e7da2660fd
  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