diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-10-15 17:54:34 -0700 |
---|---|---|
committer | ChromeOS bot <3su6n15k.default@developer.gserviceaccount.com> | 2015-10-20 17:31:43 +0000 |
commit | 13f337b22097f65d89641326da01687e117f9bf2 (patch) | |
tree | 4083a93a75d141b1d7c3942a51ff423ab4350fc8 /scripts/image_signing/nv_pkc_signing.sh | |
parent | b6343ce4ca9bdd9634d7baa9496c7be90ba4cd2e (diff) | |
download | vboot-13f337b22097f65d89641326da01687e117f9bf2.tar.gz |
futility: add support for .pem with public key
Add support for PEM file containing a RSA Public key in futility "show"
and "create" commands.
When "futility create" is given a PEM file with only a RSA public key,
generate the proper .vbpubk2 rather than failing.
BRANCH=smaug
BUG=none
TEST=make runtests
and run manually
futility show tests/testkeys/key_rsa4096.pub.pem
futility show tests/testkeys/key_rsa4096.pem
Reviewed-on: https://chromium-review.googlesource.com/306683
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
(cherry picked from commit 27c90708e63f5f042aa52de6bc1b89c282ca8c4a)
Change-Id: Idd82d88bd024e7af74046782dd374b9d8400bfb4
Reviewed-on: https://chromium-review.googlesource.com/307433
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'scripts/image_signing/nv_pkc_signing.sh')
0 files changed, 0 insertions, 0 deletions