Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: scripts/keygeneration/make_keyblock.sh

Issue 6594131: Add support for using separate developer firmware keyblock while signing. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: fix typo Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « scripts/keygeneration/create_new_keys.sh ('k') | scripts/keygeneration/make_pair.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 #
6 # Generates a keyblock containing a public key and signed using the given
7 # signing key.
8
9 # Load common constants and functions.
10 . "$(dirname "$0")/common.sh"
11
12 if [ $# -ne 4 ]; then
13 cat <<EOF
14 Usage: $0 <in_public_key> <in_signing_key> <flags> <out_keyblock>
15
16 Emits <out_keyblock>.keyblock containing <in_public_key>.vbpubk signed with
17 <in_signing_key>.vbprivk with the given keyblock <flags>.
18 EOF
19 exit 1
20 fi
21
22 in_pubkey=$1
23 in_signkey=$2
24 keyblock_flags=$3
25 out_keyblock=$4
26
27 make_keyblock $out_keyblock $keyblock_flags $in_pubkey $in_signkey
OLDNEW
« no previous file with comments | « scripts/keygeneration/create_new_keys.sh ('k') | scripts/keygeneration/make_pair.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698