mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-25 21:59:22 +00:00
14 lines
525 B
Bash
14 lines
525 B
Bash
|
#!/bin/bash
|
||
|
#Tests for a missing key
|
||
|
# Capture location of this script to allow from invocation from any location
|
||
|
scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")
|
||
|
# go to the script directory so everything runs smoothly ...
|
||
|
pushd $scriptDir > /dev/null
|
||
|
|
||
|
. ./rim_functions.sh
|
||
|
#rim create
|
||
|
rim -c base -a ../configs/Base_Rim_Config.json -l ../eventlogs/TpmLog.bin -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o baseRimFile.swidtag
|
||
|
rim_create_fail_test $?
|
||
|
|
||
|
#Return to where ever you came from
|
||
|
popd > /dev/null
|