Skip to content

Commit

Permalink
update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
z4yx authored Oct 10, 2024
1 parent 5fabae0 commit 0c13a48
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,12 @@ jobs:
openssl rand -base64 -out /tmp/rand-pi 254
openssl rand -base64 -out /tmp/rand-fig 512
openssl rand -base64 -out /tmp/rand-face 512
yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc109 -i /tmp/rand-pi -f base64
yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc108 -i /tmp/rand-face -f base64
yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc103 -i /tmp/rand-fig -f base64
yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc103 -i /tmp/read-fig -f base64
yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc109 -i /tmp/read-pi -f base64
yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc108 -i /tmp/read-face -f base64
yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc109 -k -i /tmp/rand-pi -f base64
yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc108 -k -i /tmp/rand-face -f base64
yubico-piv-tool -r "$RDID" -a write-object --id 0x5fc103 -k -i /tmp/rand-fig -f base64
yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc103 -o /tmp/read-fig -f base64
yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc109 -o /tmp/read-pi -f base64
yubico-piv-tool -r "$RDID" -a verify-pin -P 654321 -a read-object --id 0x5fc108 -o /tmp/read-face -f base64
diff /tmp/rand-pi /tmp/read-pi
diff /tmp/rand-face /tmp/read-face
diff /tmp/rand-fig /tmp/read-fig
Expand Down

0 comments on commit 0c13a48

Please sign in to comment.