File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tmt/tests/examples/bootc-uki Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if test -z "${secureboot}"; then
2828 cd $secureboot
2929 if test ' !' -f db.cer; then
3030 echo " Generating test Secure Boot keys"
31- uuidgen --random > GUID.txt
31+ systemd-id128 new -u > GUID.txt
3232 openssl req -quiet -newkey rsa:4096 -nodes -keyout PK.key -new -x509 -sha256 -days 3650 -subj ' /CN=Test Platform Key/' -out PK.crt
3333 openssl x509 -outform DER -in PK.crt -out PK.cer
3434 openssl req -quiet -newkey rsa:4096 -nodes -keyout KEK.key -new -x509 -sha256 -days 3650 -subj ' /CN=Test Key Exchange Key/' -out KEK.crt
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if [[ ! -d "secureboot" ]]; then
1919 echo " Generating test Secure Boot keys"
2020 mkdir secureboot
2121 pushd secureboot > /dev/null
22- uuidgen --random > GUID.txt
22+ systemd-id128 new -u > GUID.txt
2323 openssl req -newkey rsa:4096 -nodes -keyout PK.key -new -x509 -sha256 -days 3650 -subj " /CN=Test Platform Key/" -out PK.crt
2424 openssl x509 -outform DER -in PK.crt -out PK.cer
2525 openssl req -newkey rsa:4096 -nodes -keyout KEK.key -new -x509 -sha256 -days 3650 -subj " /CN=Test Key Exchange Key/" -out KEK.crt
You can’t perform that action at this time.
0 commit comments