commit | 05cace2b3fab7b106f2eb6d644663fa92f3bfb62 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Mon Jul 01 14:19:39 2019 -0700 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Wed Jul 03 13:14:36 2019 -0700 |
tree | be8ffa170d7e15c3d03be4615a14d7e7da2660fd | |
parent | 49a78be1e9eb942a502d31d9af3a445d0d18e3eb [diff] |
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.