summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2020-10-30 18:01:01 +0100
committerJakub Jelen <jjelen@redhat.com>2021-01-04 17:33:22 +0100
commit371b8841032a5c6db2c97c1aec9e3428a063209e (patch)
tree243fc051ee16623b36f3f3bf39750ae80ef24966
parentaca849bee8b64d3c83a7bcc57b12b1ced76ae5ac (diff)
tests: Temporarily generate only one key
This helps making sure we use for deciphering the same key that was used for encrypting the plaintext as we can not affect the ordering of the keys coming from softhsm to libcacard in any simple way. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rwxr-xr-xtests/setup-softhsm2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setup-softhsm2.sh b/tests/setup-softhsm2.sh
index 94b133c..32c49ca 100755
--- a/tests/setup-softhsm2.sh
+++ b/tests/setup-softhsm2.sh
@@ -106,7 +106,7 @@ if [ ! -d "tokens" ]; then
# Generate 1024b RSA Key pair
generate_cert "RSA:1024" "01" "RSA_auth"
- generate_cert "RSA:1024" "02" "RSA_sign"
+ #generate_cert "RSA:1024" "02" "RSA_sign"
fi
# NSS DB
if [ ! -d "$NSSDB" ]; then