summaryrefslogtreecommitdiffstats
path: root/crtSignedContainer.sh
diff options
context:
space:
mode:
authorDave Heller <hellerda@us.ibm.com>2017-10-10 17:40:22 -0400
committerDave Heller <hellerda@us.ibm.com>2017-10-10 17:40:22 -0400
commit09479b5d5280c9706337a96116300ccce76b8053 (patch)
treeb188c593e02618ccd111512066b4fb039b9466c6 /crtSignedContainer.sh
parent85cf24005873846e147339155ed0ecea188382da (diff)
downloadsb-signing-utils-09479b5d5280c9706337a96116300ccce76b8053.tar.gz
sb-signing-utils-09479b5d5280c9706337a96116300ccce76b8053.zip
Change cmdline options --hwPrivKeyX to --hwKeyX (part 1)
Signed-off-by: Dave Heller <hellerda@us.ibm.com>
Diffstat (limited to 'crtSignedContainer.sh')
-rwxr-xr-xcrtSignedContainer.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/crtSignedContainer.sh b/crtSignedContainer.sh
index cfd5496..ee5da09 100755
--- a/crtSignedContainer.sh
+++ b/crtSignedContainer.sh
@@ -31,12 +31,12 @@ usage () {
echo " -v, --verbose show verbose output"
echo " -d, --debug show additional debug output"
echo " -w, --wrap column to wrap long output in verbose mode"
- echo " -a, --hwPrivKeyA file containing HW key A private key in PEM format"
- echo " -b, --hwPrivKeyB file containing HW key B private key in PEM format"
- echo " -c, --hwPrivKeyC file containing HW key C private key in PEM format"
- echo " -p, --swPrivKeyP file containing SW key P private key in PEM format"
- echo " -q, --swPrivKeyQ file containing SW key Q private key in PEM format"
- echo " -r, --swPrivKeyR file containing SW key R private key in PEM format"
+ echo " -a, --hwKeyA file containing HW key A private key in PEM format"
+ echo " -b, --hwKeyB file containing HW key B private key in PEM format"
+ echo " -c, --hwKeyC file containing HW key C private key in PEM format"
+ echo " -p, --swKeyP file containing SW key P private key in PEM format"
+ echo " -q, --swKeyQ file containing SW key Q private key in PEM format"
+ echo " -r, --swKeyR file containing SW key R private key in PEM format"
echo " -l, --protectedPayload file containing the payload to be signed"
echo " -i, --out file to write containerized payload"
echo " -o, --code-start-offset code start offset for software header in hex"
@@ -218,6 +218,12 @@ for arg in "$@"; do
"--swPrivKeyP") set -- "$@" "-p" ;;
"--swPrivKeyQ") set -- "$@" "-q" ;;
"--swPrivKeyR") set -- "$@" "-r" ;;
+ "--hwKeyA") set -- "$@" "-a" ;;
+ "--hwKeyB") set -- "$@" "-b" ;;
+ "--hwKeyC") set -- "$@" "-c" ;;
+ "--swKeyP") set -- "$@" "-p" ;;
+ "--swKeyQ") set -- "$@" "-q" ;;
+ "--swKeyR") set -- "$@" "-r" ;;
"--flags") set -- "$@" "-f" ;;
"--code-start-offset") set -- "$@" "-o" ;;
"--protectedPayload") set -- "$@" "-l" ;;
OpenPOWER on IntegriCloud