-
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
Logical Channel Support / pom.xml fix #138
base: master
Are you sure you want to change the base?
Commits on Dec 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7067725 - Browse repository at this point
Copy the full SHA 7067725View commit details -
fix for installing JavaCard and nor requiring version for pom executi…
…on in the beginning
Configuration menu - View commit details
-
Copy full SHA for 709ebe6 - Browse repository at this point
Copy the full SHA 709ebe6View commit details -
Karsten Ohme committed
Dec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 0e218eb - Browse repository at this point
Copy the full SHA 0e218ebView commit details -
add option to randomize RandomData seed
- if the System property `com.licel.jcardsim.randomdata.seed` is set, the hex-decoded value of the property is added as a seed material to the RandomData on initialization - else if the System property `com.licel.jcardsim.randomdata.secure` is set to `1`, the SecureRandom is used to generate 32 random bytes that are added as a seed material to the RandomData - else the original behavior is preserved to be consistent with previous versions (some tests might rely on the fixed randomness)
Configuration menu - View commit details
-
Copy full SHA for a7ec688 - Browse repository at this point
Copy the full SHA a7ec688View commit details -
Wrap 'nbsp' to CDATA in pom.xml
peroksid authored and Karsten Ohme committedDec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 6ad0234 - Browse repository at this point
Copy the full SHA 6ad0234View commit details -
test: Do not reuse KeyPair context to generate second key pair
This occasionally fails with java.lang.ArrayIndexOutOfBoundsException when the ECDSA key starts with 0 and the length is trimmed in setBigInteger() of ByteContainer for the first key pair and the second one does not fit. Backtraces collected from OpenSC testsuite were sometimes very different, but all point to this place: Error: testGenerateSecretECDH(com.licel.jcardsim.crypto.KeyAgreementImplTest) Time elapsed: 0.2 s <<< ERROR! java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at javacard.framework.Util.arrayCopy(Unknown Source) at com.licel.jcardsim.crypto.ByteContainer.setBytes(ByteContainer.java:122) at com.licel.jcardsim.crypto.ByteContainer.setBytes(ByteContainer.java:99) at com.licel.jcardsim.crypto.ByteContainer.setBigInteger(ByteContainer.java:87) at com.licel.jcardsim.crypto.ECPrivateKeyImpl.setParameters(ECPrivateKeyImpl.java:57) at com.licel.jcardsim.crypto.KeyPairImpl.genKeyPair(KeyPairImpl.java:93) at javacard.security.KeyPair.genKeyPair(Unknown Source) at com.licel.jcardsim.crypto.KeyAgreementImplTest.testGenerateSecret(KeyAgreementImplTest.java:119) at com.licel.jcardsim.crypto.KeyAgreementImplTest.testGenerateSecretECDH(KeyAgreementImplTest.java:56) Error: Errors: Error: com.licel.jcardsim.crypto.KeyAgreementImplTest#testGenerateSecretECDH ArrayIndexOutOfBoundsException [ERROR] testGenerateSecretDH(com.licel.jcardsim.crypto.KeyAgreementImplTest) Time elapsed: 0.023 s <<< ERROR! java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at javacard.framework.Util.arrayCopy(Unknown Source) at com.licel.jcardsim.crypto.ByteContainer.setBytes(ByteContainer.java:122) at com.licel.jcardsim.crypto.ByteContainer.setBytes(ByteContainer.java:99) at com.licel.jcardsim.crypto.ByteContainer.setBigInteger(ByteContainer.java:90) at com.licel.jcardsim.crypto.DHPrivateKeyImpl.setParameters(DHPrivateKeyImpl.java:45) at com.licel.jcardsim.crypto.KeyPairImpl.genKeyPair(KeyPairImpl.java:93) at javacard.security.KeyPair.genKeyPair(Unknown Source) at com.licel.jcardsim.crypto.KeyAgreementImplTest.generateSecretDH(KeyAgreementImplTest.java:86) at com.licel.jcardsim.crypto.KeyAgreementImplTest.testGenerateSecretDH(KeyAgreementImplTest.java:71)
Configuration menu - View commit details
-
Copy full SHA for 6976b7f - Browse repository at this point
Copy the full SHA 6976b7fView commit details -
Bump bcprov-jdk14 from 1.46 to 1.67
Bumps [bcprov-jdk14](https://github.com/bcgit/bc-java) from 1.46 to 1.67. - [Release notes](https://github.com/bcgit/bc-java/releases) - [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html) - [Commits](https://github.com/bcgit/bc-java/commits) --- updated-dependencies: - dependency-name: org.bouncycastle:bcprov-jdk14 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 562bd9a - Browse repository at this point
Copy the full SHA 562bd9aView commit details -
Do not throw CryptoException if EC KeyBuilder.buildKey() does not mat…
…ch a known curve The curve parameters can in any case be set later via the ECKeyImpl.setX().
Luka Logar authored and Karsten Ohme committedDec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 888ef4b - Browse repository at this point
Copy the full SHA 888ef4bView commit details -
Max case 4 command APDU size is 261
== APDU 0000: 00 46 00 00 FF 81 28 D3 0008: 5E 47 20 36 BC 4F B7 E1 0010: 3C 78 5E D2 01 E0 65 F9 0018: 8F CF A6 F6 F4 0D EF 4F 0020: 92 B9 EC 78 93 EC 28 FC 0028: D4 12 B1 F1 B3 2E 27 82 0030: 28 3E E3 0B 56 8F BA B0 0038: F8 83 CC EB D4 6D 3F 3B 0040: B8 A2 A7 35 13 F5 EB 79 0048: DA 66 19 0E B0 85 FF A9 0050: F4 92 F3 75 A9 7D 86 0E 0058: B4 83 28 52 08 83 94 9D 0060: FD BC 42 D3 AD 19 86 40 0068: 68 8A 6F E1 3F 41 34 95 0070: 54 B4 9A CC 31 DC CD 88 0078: 45 39 81 6F 5E B4 AC 8F 0080: B1 F1 A6 84 51 04 43 BD 0088: 7E 9A FB 53 D8 B8 52 89 0090: BC C4 8E E5 BF E6 F2 01 0098: 37 D1 0A 08 7E B6 E7 87 00A0: 1E 2A 10 A5 99 C7 10 AF 00A8: 8D 0D 39 E2 06 11 14 FD 00B0: D0 55 45 EC 1C C8 AB 40 00B8: 93 24 7F 77 27 5E 07 43 00C0: FF ED 11 71 82 EA A9 C7 00C8: 78 77 AA AC 6A C7 D3 52 00D0: 45 D1 69 2E 8E E1 85 28 00D8: D3 5E 47 20 36 BC 4F B7 00E0: E1 3C 78 5E D2 01 E0 65 00E8: F9 8F CF A5 B6 8F 12 A3 00F0: 2D 48 2E C7 EE 86 58 E9 00F8: 86 91 55 5B 44 C5 93 11 0100: 87 02 00 01 00 java.lang.RuntimeException: Internal reflection error at com.licel.jcardsim.base.SimulatorRuntime.resetAPDU(SimulatorRuntime.java:426) at com.licel.jcardsim.base.SimulatorRuntime.transmitCommand(SimulatorRuntime.java:301) at com.licel.jcardsim.base.Simulator.transmitCommand(Simulator.java:260) at com.licel.jcardsim.base.CardManager.dispatchApduImpl(CardManager.java:66) at com.licel.jcardsim.base.CardManager.dispatchApdu(CardManager.java:36) at com.licel.jcardsim.remote.VSmartCard$IOThread.run(VSmartCard.java:158) Caused by: java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.licel.jcardsim.base.SimulatorRuntime.resetAPDU(SimulatorRuntime.java:424) ... 5 more Caused by: java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 261 out of bounds for byte[2 at java.base/java.lang.System.arraycopy(Native Method) at javacard.framework.APDU.internalReset(Unknown Source) ... 9 more
Luka Logar authored and Karsten Ohme committedDec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 3af8af5 - Browse repository at this point
Copy the full SHA 3af8af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 503e9df - Browse repository at this point
Copy the full SHA 503e9dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for dba7692 - Browse repository at this point
Copy the full SHA dba7692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 339e8a1 - Browse repository at this point
Copy the full SHA 339e8a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6f79f7 - Browse repository at this point
Copy the full SHA d6f79f7View commit details -
excluding BC services provider configuration for Java 9+ compatibility
Karsten Ohme committedDec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 8d16532 - Browse repository at this point
Copy the full SHA 8d16532View commit details -
Documentation not limiting compilation to Windows
Karsten Ohme committedDec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for ea50e1e - Browse repository at this point
Copy the full SHA ea50e1eView commit details -
Karsten Ohme committed
Dec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 15fe56d - Browse repository at this point
Copy the full SHA 15fe56dView commit details -
Karsten Ohme committed
Dec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 09a6571 - Browse repository at this point
Copy the full SHA 09a6571View commit details -
Documented which pull requests are included
Karsten Ohme committedDec 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 1704e4c - Browse repository at this point
Copy the full SHA 1704e4cView commit details
Commits on Dec 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8eb31d8 - Browse repository at this point
Copy the full SHA 8eb31d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7946e58 - Browse repository at this point
Copy the full SHA 7946e58View commit details
Commits on Dec 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a0e7619 - Browse repository at this point
Copy the full SHA a0e7619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a6b2da - Browse repository at this point
Copy the full SHA 5a6b2daView commit details -
Configuration menu - View commit details
-
Copy full SHA for f60a14d - Browse repository at this point
Copy the full SHA f60a14dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70e964b - Browse repository at this point
Copy the full SHA 70e964bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36db988 - Browse repository at this point
Copy the full SHA 36db988View commit details
Commits on Dec 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cee3101 - Browse repository at this point
Copy the full SHA cee3101View commit details -
Configuration menu - View commit details
-
Copy full SHA for 229be72 - Browse repository at this point
Copy the full SHA 229be72View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6bfc7a - Browse repository at this point
Copy the full SHA d6bfc7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb3dc65 - Browse repository at this point
Copy the full SHA cb3dc65View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3e2adb - Browse repository at this point
Copy the full SHA d3e2adbView commit details
Commits on May 7, 2022
-
* Update <group.id> in pom.xml from "com.licel" to "de.ohmesoftware" …
…to fix inconsistent module metadata that breaks gradle artifact resolution >> Could not resolve de.ohmesoftware:jcardsim:3.0.5-2. >> inconsistent module metadata found. Descriptor: com.licel:jcardsim:3.0.5-2 Errors: bad group: expected='de.ohmesoftware' found='com.licel'
Configuration menu - View commit details
-
Copy full SHA for 7086d7f - Browse repository at this point
Copy the full SHA 7086d7fView commit details -
Merge pull request #1 from extensia/master
* Update <group.id> in pom.xml from "com.licel" to "de.ohmesoftware"
Configuration menu - View commit details
-
Copy full SHA for 6a1635b - Browse repository at this point
Copy the full SHA 6a1635bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a461ce6 - Browse repository at this point
Copy the full SHA a461ce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ec596 - Browse repository at this point
Copy the full SHA a3ec596View commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for eda8d38 - Browse repository at this point
Copy the full SHA eda8d38View commit details -
Updated SimulatorRuntime to throw only ISOException in applet process…
… and injected more proxy exception classes for javacardx in JavaCardApiProcessor
Configuration menu - View commit details
-
Copy full SHA for 95d16a8 - Browse repository at this point
Copy the full SHA 95d16a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b513a4 - Browse repository at this point
Copy the full SHA 0b513a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c1b50 - Browse repository at this point
Copy the full SHA c9c1b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ebf42c - Browse repository at this point
Copy the full SHA 8ebf42cView commit details -
Updated mismatched AES/DES cipher and key type from applet apdu proce…
…ss to expect ISO7816.SW_UNKNOWN
Configuration menu - View commit details
-
Copy full SHA for e209010 - Browse repository at this point
Copy the full SHA e209010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7b8dd - Browse repository at this point
Copy the full SHA 2b7b8ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb65359 - Browse repository at this point
Copy the full SHA eb65359View commit details -
Configuration menu - View commit details
-
Copy full SHA for b32f2f9 - Browse repository at this point
Copy the full SHA b32f2f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc8408d - Browse repository at this point
Copy the full SHA dc8408dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 690aae6 - Browse repository at this point
Copy the full SHA 690aae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ebe89 - Browse repository at this point
Copy the full SHA 88ebe89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ea448 - Browse repository at this point
Copy the full SHA 87ea448View commit details
Commits on Jun 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c13087c - Browse repository at this point
Copy the full SHA c13087cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5756570 - Browse repository at this point
Copy the full SHA 5756570View commit details -
Configuration menu - View commit details
-
Copy full SHA for b217302 - Browse repository at this point
Copy the full SHA b217302View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8d4dd7 - Browse repository at this point
Copy the full SHA a8d4dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9219ad0 - Browse repository at this point
Copy the full SHA 9219ad0View commit details