Commit a41e6e9a authored by Konrad Sztyber's avatar Konrad Sztyber
Browse files

test/fips: store TLS PSK in tmpfs



It makes it possible to run this test with repo mounted over nfs, as
keyring_file checks the ownership of the file, which can be different
with nfs (due to squashing).

Signed-off-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ib05804f116498f137b1499d8eb10fcd60cf18f0e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24806


Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 11cc2256
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ trap 'cleanup' EXIT

# Key taken from NVM Express TCP Transport Specification 1.0c.
key="NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
key_path="$testdir/key.txt"
key_path="$(mktemp -t "spdk-psk.XXX")"
echo -n "$key" > $key_path
chmod 0600 $key_path