Skip to content
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

jcardsim 3.0.5.11 -> 3.0.6 update breaks RSA handling #18

Open
mrautio opened this issue Dec 4, 2023 · 1 comment
Open

jcardsim 3.0.5.11 -> 3.0.6 update breaks RSA handling #18

mrautio opened this issue Dec 4, 2023 · 1 comment

Comments

@mrautio
Copy link
Owner

mrautio commented Dec 4, 2023

TODO: Check if it's issue in jcardsim or the card simulator implementation...

    javacard.security.CryptoException
        at javacard.security.CryptoException.throwIt(Unknown Source)
        at com.licel.jcardsim.crypto.AsymmetricCipherImpl.doFinal(AsymmetricCipherImpl.java:103)
        at emvcardsimulator.PaymentApplication.processDynamicDataAuthentication(PaymentApplication.java:241)
        at emvcardsimulator.PaymentApplication.process(PaymentApplication.java:377)
        at emvcardsimulator.PaymentApplicationContainer.process(PaymentApplicationContainer.java:24)
        at com.licel.jcardsim.base.SimulatorRuntime.transmitCommand(SimulatorRuntime.java:314)
        at com.licel.jcardsim.base.Simulator.transmitCommand(Simulator.java:260)
        at com.licel.jcardsim.smartcardio.CardSimulator.transmitCommand(CardSimulator.java:68)
        at emvcardsimulator.SmartCard.transmitCommand(SmartCard.java:69)
        at emvcardsimulator.SmartCard.transmitCommand(SmartCard.java:57)
        at emvcardsimulator.SimulatorTest.sendApduRequest(SimulatorTest.java:68)
        at emvcardsimulator.SimulatorTest.entryPoint(Native Method)
        at emvcardsimulator.SimulatorTest.simulatorEndToEndTransactionTest(SimulatorTest.java:52)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
        ...
@mrautio
Copy link
Owner Author

mrautio commented Dec 5, 2023

ph4r05/jcardsim#3

@mrautio mrautio changed the title jcardsim 3.0.5.11 -> 3.0.6 update broke RSA handling jcardsim 3.0.5.11 -> 3.0.6 update breaks RSA handling Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant