OSDN Git Service

boot_signer: allow verification using an external certificate
authorSami Tolvanen <samitolvanen@google.com>
Tue, 15 Sep 2015 09:41:16 +0000 (10:41 +0100)
committerSami Tolvanen <samitolvanen@google.com>
Tue, 15 Sep 2015 16:22:40 +0000 (17:22 +0100)
commit53e790468c3ce7d094f1003648e7766395912ddb
tree6144cb59c9ba2ed6cd67cf09ccb5617e4d12a2c6
parent12f454e24a518d81fe42043b7142582b81694363
boot_signer: allow verification using an external certificate

Add a -certificate parameter, which allows one to specify an external
public key certificate to use for verifying boot image signatures:

  boot_signer -verify boot.img -certificate cert.x509.pem

This makes it possible to confirm that the boot image has been signed
with a specific key.

Change-Id: I41f1a05e1c8be3bfac2a86678d81beaae0e371bb
verity/BootSignature.java