diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab668fe5..fe0333ab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -522,6 +522,18 @@ jobs: PIVGenKeyCert $s "/CN=CertAtSlot$s/" RSA4096 yubico-piv-tool -r "$RDID" -a import-certificate -s $s -i test-via-pcsc/long-cert.pem done + openssl rand -out /tmp/rand-pi 254 + openssl rand -out /tmp/rand-fig 512 + openssl rand -out /tmp/rand-face 512 + yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc109 -i /tmp/rand-pi + yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc108 -i /tmp/rand-face + yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc103 -i /tmp/rand-fig + yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc103 -i /tmp/read-fig + yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc109 -i /tmp/read-pi + yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc108 -i /tmp/read-face + diff /tmp/rand-pi /tmp/read-pi + diff /tmp/rand-face /tmp/read-face + diff /tmp/rand-fig /tmp/read-fig - name: Prepare the Test Coverage Report run: |