File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -733,7 +733,7 @@ testLocalKeys() {
733733 echo " Testing creation of container from encrypted image with local keys (JWE)"
734734 MSG=$( $CTR container rm testcontainer1 2>&1 )
735735 MSG=$( $CTR snapshot rm testcontainer1 2>&1 )
736- MSG=$( sudo $CTR container create ${ALPINE_ENC} --skip-decrypt-auth --key ${PRIVKEY2PEM } testcontainer1 2>&1 )
736+ MSG=$( sudo $CTR container create --skip-decrypt-auth ${ALPINE_ENC } testcontainer1 2>&1 )
737737
738738 failExit $? " Should have been able to create a container from encrypted image when local keys exists (JWE)\n${MSG} "
739739 MSG=$( $CTR container rm testcontainer1 2>&1 )
@@ -749,7 +749,7 @@ testLocalKeys() {
749749 echo " Testing creation of container from encrypted image with local keys (PKCS11)"
750750 MSG=$( $CTR container rm testcontainer1 2>&1 )
751751 MSG=$( $CTR snapshot rm testcontainer1 2>&1 )
752- MSG=$( sudo $CTR container create ${ALPINE_ENC} --skip-decrypt-auth --key ${PRIVKEY2PEM } testcontainer1 2>&1 )
752+ MSG=$( sudo $CTR container create --skip-decrypt-auth ${ALPINE_ENC } testcontainer1 2>&1 )
753753
754754 failExit $? " Should have been able to create a container from encrypted image when local keys exists (PKCS11)\n${MSG} "
755755 MSG=$( $CTR container rm testcontainer1 2>&1 )
You can’t perform that action at this time.
0 commit comments