diff options
author | Nick Sanders <nsanders@chromium.org> | 2018-06-29 20:51:22 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-02 15:32:42 -0700 |
commit | da8a0d701c563eb93ebfa944f4997bddc0ae67d4 (patch) | |
tree | c4069834b43d5929c6336e2294fea9580f7713bb /scripts | |
parent | 043e645be9fafe6aecba5c24284d4d791ff58b42 (diff) | |
download | vboot-da8a0d701c563eb93ebfa944f4997bddc0ae67d4.tar.gz |
nocturne-fp: copypasta script to generate keypair for signing FW
All accessories leverage the key format of Hammer therefore this
script calls Hammer's one to generate a key pair and renames them.
BUG=b:110880196
TEST=Run this script in the chroot.
BRANCH=None
Change-Id: I955f28fbe2c1dab1b5f76672c34e6022660a77ed
Reviewed-on: https://chromium-review.googlesource.com/1121632
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Nick Sanders <nsanders@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh b/scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh new file mode 100755 index 00000000..f65f20f6 --- /dev/null +++ b/scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Copyright 2017 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Load common constants and functions. +. "$(dirname "$0")/common_leverage_hammer.sh" + +main() { + set -e + + leverage_hammer_to_create_key "nocturne-fp" "$@" +} + +main "$@" |