GSA / piv-conformance

Tool to verify conformance to the PIV data model per most recent releases of FIPS 201 and associated publications
Other
24 stars 13 forks source link

Application appears to hang with invalid CHUID #305

Closed mistial-dev closed 9 months ago

mistial-dev commented 2 years ago

I loaded a number of certificates to a Yubikey PIV applet in order to test them. The card is not going to be compliant, but it would be nice to see how compliant the certificates are.

When attempting to run the tests, I get the following error:

00:10:42.532 [Thread-1] DEBUG gov.gsa.pivconformance.cardlib.apdu - Sending Command APDU 00 cb 3f ff 05 5c 03 5f c1 02 00
00:10:42.534 [Thread-1] DEBUG gov.gsa.pivconformance.cardlib.apdu - Received response 53 3b 30 19 d4 e7 39 da 73 9c ed 39 ce 73 9d 83 68 58 21 08 42 10 84 21 c8 42 10 c3 eb 34 10 6a 9b 2c 1a ca 49 3e e4 a8 74 74 0c 3f 65 f6 65 35 08 32 30 33 30 30 31 30 31 3e 00 fe 00 90 00
00:10:42.567 [Thread-1] ERROR gov.gsa.pivconformance.cardlib.card.client.CardHolderUniqueIdentifier - Error parsing Card Holder Unique Identifier: null
Exception in thread "Thread-1" org.opentest4j.AssertionFailedError
    at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:47)
    at org.junit.jupiter.api.Assertions.fail(Assertions.java:140)
    at gov.gsa.pivconformance.conformancelib.utilities.AtomHelper.getDataObject(AtomHelper.java:140)
    at gov.gsa.pivconformance.conformancelib.utilities.TestRunLogController.captureIdentifiers(TestRunLogController.java:333)
    at gov.gsa.pivconformance.gui.GuiTestExecutionController.runAllTests(GuiTestExecutionController.java:171)
    at gov.gsa.pivconformance.gui.SimpleTestExecutionPanel$2.lambda$actionPerformed$0(SimpleTestExecutionPanel.java:197)
    at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: gov.gsa.pivconformance.conformancelib.tests.ConformanceTestException: Failed to decode object for OID 2.16.840.1.101.3.7.2.48.0
    at gov.gsa.pivconformance.conformancelib.utilities.AtomHelper.getDataObject(AtomHelper.java:139)
    ... 4 more

At this point the application seems to just hang.

image

Is this the expected behaviour?