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

Investigate execution results with simulator backend #268

Open
petrs opened this issue Nov 19, 2024 · 1 comment
Open

Investigate execution results with simulator backend #268

petrs opened this issue Nov 19, 2024 · 1 comment

Comments

@petrs
Copy link
Member

petrs commented Nov 19, 2024

When executed with '-simulator' option, all OneShot results return NullPointerException and all javacardx.crypto.Cipher.getInstance returns yes

Potential bug

@petrs
Copy link
Member Author

petrs commented Nov 24, 2024

The latest version of jcardsim 3.0.6 correctly reports 'no' (unsupported) for majority of combinations for calls listed below, while previous versions were returning (incorrectly) yes. This seems to be bug in simulator implementations rather than jcalgtest.

All OneShot calls still result in NullPointerException

javacardx.crypto.Cipher.getInstance(byte cipherAlgorithm, byte paddingAlgorithm, boolean externalAccess)
javacard.crypto.Signature.getInstance(byte messageDigestAlgorithm, byte cipherAlgorithm, byte paddingAlgorithm, boolean externalAccess)

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