Files
OpenCellular/tests
Daisuke Nojiri 3d25d2b4ba futility: Make rwsig sign command produce EC_RW image
This change makes futility write out a EC_RW image to the filesystem.
It also allows the command to run without '--prikey' option. When a
private key isn't provided, the command copies the previous signature.
This can be used to extract EC_RW without changing the key or the
signature. Since data only mode doesn't have a previous signature,
the command returns error if '--prikey' isn't specified (as done
before).

BUG=b:65027647
BRANCH=none
TEST=Run futility as follows
futility sign --type rwsig ec.RW.flat ec.RW.sig (Missing key error, expected)
futility sign --type rwsig ec.bin (EC_RW.bin is produced)
futility sign --type rwsig EC_RW.bin
futility sign --type rwsig --prikey key.vbprik2 ec.RW.flat ec.RW.sig
futility sign --type rwsig --prikey key.vbprik2 ec.bin (EC_RW.bin is produced)
futility sign --type rwsig --prikey key.vbprik2 EC_RW.bin
make runfutiltests

Change-Id: I8c1e0cef147967cfd6d28aa7272b88c03e109e0d
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/647804
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2017-09-09 02:26:17 -07:00
..
2016-10-12 06:30:03 -07:00
2016-10-11 10:56:54 -07:00
2016-10-11 10:56:54 -07:00
2013-03-19 16:55:44 -07:00
2010-05-27 09:20:11 -07:00
2016-05-10 19:41:46 -07:00
2010-02-12 11:21:18 -08:00
2013-03-19 16:55:44 -07:00
2016-05-20 20:49:35 -07:00
2016-09-15 16:16:13 -07:00