-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIN still verified after reset / select? #67
Comments
Hi Joey, |
Hi @josecastillo, The bug is present in jcardsim 2.2.2. |
Great! Two things though: one, I don't see the commit in master that fixed the issue. And two, do you know if this will be incorporated into an official release at some point? |
See commit 132be8d.
The commit is on I don't know when |
@licel, please close this issue. |
Was there ever an official release for |
I think I've run across a bug in jCardSim. Working on a test case, I discovered that if I verified a PIN, then reset the simulator with
simulator.reset()
, the PIN remained verified once the applet was re-selected. I made a simple applet and test case to demonstrate the issue. This test applet has two commands: VERIFY and GET DATA:The test case implements three tests:
On a real Java Card, the following (abbreviated) transcript shows each case succeeding:
The same test, executed on the jcardsim simulator, succeeds in cases 1 and 2, but in case 3, it fails:
The data object is returned despite the fact that the PIN has not been submitted. Is this a bug in jCardSim, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: