Skip to content

Commit

Permalink
test new DOs
Browse files Browse the repository at this point in the history
  • Loading branch information
z4yx committed Oct 10, 2024
1 parent 573a543 commit 61bbf03
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 61bbf03

Please sign in to comment.