diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2dce69..d8835b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -161,6 +161,23 @@ run_cardtest_ykneo: # (the base image of run_cardtest uses bookworm) key: "bookworm" +run_cardtest_fluffypgp: + stage: virtual-test + image: registry.gitlab.com/hkos/openpgp-card-images/fluffypgp-builddeps + script: + - /etc/init.d/pcscd start + - su - -c "sh /home/jcardsim/run-card.sh" jcardsim + - cargo run -p openpgp-card-tests --bin import -- $CONFIG + - cargo run -p openpgp-card-tests --bin keygen -- $CONFIG + variables: + CONFIG: "card-functionality/docker/test-fluffypgp.toml" + cache: + # inherit all general cache settings + <<: *general_cache_config + # override the key + # (the base image of run_cardtest uses bookworm) + key: "bookworm" + hardware-builddeps: stage: hw-builddeps needs: [ ] diff --git a/card-functionality/docker/test-fluffypgp.toml b/card-functionality/docker/test-fluffypgp.toml new file mode 100644 index 0000000..ce18d99 --- /dev/null +++ b/card-functionality/docker/test-fluffypgp.toml @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: 2022 Heiko Schaefer +# SPDX-License-Identifier: CC0-1.0 + +[card.fluffypgp] +backend.pcsc = "FFFD:00000001" +config.keygen = [ + "RSA2k" +] +config.import = [ + "card-functionality/data/rsa2k.sec", +]