Skip to content

Test failure in CryptoTest line 53 #22

@rpavlik

Description

@rpavlik

I poked at Ant some more to get the tests running using the jcardsim library: see https://github.com/rpavlik/GidsApplet/tree/junit . All the tests pass (on both variants), except for one: CryptoTest.

It fails on line 53, with the error message: expected: 9000 but was: 618c. Line 53 has the commennt "generate asymmetric key" and is using instruction 0x47.

I can't find where it's actually returning 618c in the first place, so I'm not sure if this is an issue with the jcardsim or something else.

Here's the log file:
TEST-com.mysmartlogon.gidsAppletTests.CryptoTest.txt

I checked out the 1.3 source without touching the build system, and it looks like it too has the same issue, though 1.2 does not.

Not sure what version of jcardsim you used originally, maybe I can revert to that version?

I'm running the tests with jcardsim 3.0.5 under jdk17, though I build the applet with jdk8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions