Commit c31140c
committed
test-piv.sh - Better PIV testing
test-piv.sh has been failing because PivApplet enforceses limited access
to card over contactless interface.The ATR used in the virtual card
test envirnment is for the contactless intrface.
A fictitious ATR is now used which makes the virtual smartcard appear
on a contact interface.
test-piv.sh now creates a test-piv-jcardsim.cfg with the new ATR.
OpenSC card-piv.c identifies the applet based on response to
SELECT AID not on the ATR.
The test that would fail was with pkcs11-tool -t -l - p 123456
whit the first GENERAL AUTHENTICATE crypto command.
On branch sm-nist-2
Changes to be committed:
modified: test-piv.sh1 parent 3b48c5f commit c31140c
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | | - | |
| 56 | + | |
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
| |||
0 commit comments