diff options
author | Nick Sanders <nsanders@chromium.org> | 2018-09-04 16:54:08 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-10 13:33:45 -0700 |
commit | ebc8bb5fc79a0c3244df8650f162c3a94b62d0f7 (patch) | |
tree | 50b2c5948eb00aa655a9521106c6ce208c8a0a6b | |
parent | fe6d3ddf1aed16d0708f9f4d2e0aecf8eac05994 (diff) | |
download | vboot-ebc8bb5fc79a0c3244df8650f162c3a94b62d0f7.tar.gz |
accessory: script to generically generate accessory keysstabilize-jetstream-11056.B
All accessories leverage the key format of Hammer therefore this
script calls Hammer's one to generate a key pair and renames them.
The key name isn't referenced by the signer anymore, so we will
name them all "hammerlike".
BUG=chromium:859269
TEST=Run this script in the chroot.
BRANCH=None
Change-Id: Iba35b03e59216e96a99f8aa471b660f3805c1f23
Reviewed-on: https://chromium-review.googlesource.com/1205636
Commit-Ready: Nick Sanders <nsanders@chromium.org>
Tested-by: Nick Sanders <nsanders@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_hammer_like_keys.sh (renamed from scripts/keygeneration/accessory/create_new_hammer_keys.sh) | 2 | ||||
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh | 16 | ||||
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_rose_keys.sh | 16 | ||||
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_staff_keys.sh | 16 | ||||
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_wand.keys.sh | 16 | ||||
-rwxr-xr-x | scripts/keygeneration/accessory/create_new_whiskers_keys.sh | 16 |
6 files changed, 1 insertions, 81 deletions
diff --git a/scripts/keygeneration/accessory/create_new_hammer_keys.sh b/scripts/keygeneration/accessory/create_new_hammer_like_keys.sh index 30f005d9..3d5c96e2 100755 --- a/scripts/keygeneration/accessory/create_new_hammer_keys.sh +++ b/scripts/keygeneration/accessory/create_new_hammer_like_keys.sh @@ -10,7 +10,7 @@ main() { set -e - leverage_hammer_to_create_key "hammer" "$@" + leverage_hammer_to_create_key "hammerlike" "$@" } main "$@" diff --git a/scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh b/scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh deleted file mode 100755 index f65f20f6..00000000 --- a/scripts/keygeneration/accessory/create_new_nocturne-fp_keys.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/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 "$@" diff --git a/scripts/keygeneration/accessory/create_new_rose_keys.sh b/scripts/keygeneration/accessory/create_new_rose_keys.sh deleted file mode 100755 index 6fcbffa8..00000000 --- a/scripts/keygeneration/accessory/create_new_rose_keys.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/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 "rose" "$@" -} - -main "$@" diff --git a/scripts/keygeneration/accessory/create_new_staff_keys.sh b/scripts/keygeneration/accessory/create_new_staff_keys.sh deleted file mode 100755 index 1a582b57..00000000 --- a/scripts/keygeneration/accessory/create_new_staff_keys.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/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 "staff" "$@" -} - -main "$@" diff --git a/scripts/keygeneration/accessory/create_new_wand.keys.sh b/scripts/keygeneration/accessory/create_new_wand.keys.sh deleted file mode 100755 index 5622a827..00000000 --- a/scripts/keygeneration/accessory/create_new_wand.keys.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/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 "wand" "$@" -} - -main "$@" diff --git a/scripts/keygeneration/accessory/create_new_whiskers_keys.sh b/scripts/keygeneration/accessory/create_new_whiskers_keys.sh deleted file mode 100755 index 7439bc49..00000000 --- a/scripts/keygeneration/accessory/create_new_whiskers_keys.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# Copyright 2018 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 "whiskers" "$@" -} - -main "$@" |