use newer SDK
This commit is contained in:
parent
576cabb04b
commit
08be5158da
|
@ -57,7 +57,7 @@ dependencies {
|
||||||
testCompile(files("../jcardsim/jcardsim-3.0.5-SNAPSHOT.jar"))
|
testCompile(files("../jcardsim/jcardsim-3.0.5-SNAPSHOT.jar"))
|
||||||
testCompile('org.web3j:core:2.3.1')
|
testCompile('org.web3j:core:2.3.1')
|
||||||
testCompile('org.bitcoinj:bitcoinj-core:0.14.5')
|
testCompile('org.bitcoinj:bitcoinj-core:0.14.5')
|
||||||
testCompile('com.github.status-im.status-keycard-java:desktop:49ad217')
|
testCompile('com.github.status-im.status-keycard-java:desktop:239505b')
|
||||||
testCompile('org.bouncycastle:bcprov-jdk15on:1.60')
|
testCompile('org.bouncycastle:bcprov-jdk15on:1.60')
|
||||||
testCompile("org.junit.jupiter:junit-jupiter-api:5.1.1")
|
testCompile("org.junit.jupiter:junit-jupiter-api:5.1.1")
|
||||||
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.1.1")
|
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.1.1")
|
||||||
|
|
|
@ -4,5 +4,5 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.github.status-im.status-keycard-java:desktop:49ad217'
|
compile 'com.github.status-im.status-keycard-java:desktop:239505b'
|
||||||
}
|
}
|
|
@ -242,7 +242,7 @@ public class KeycardTest {
|
||||||
assertEquals(0x6A86, response.getSw());
|
assertEquals(0x6A86, response.getSw());
|
||||||
|
|
||||||
// Wrong data
|
// Wrong data
|
||||||
response = cmdSet.openSecureChannel(secureChannel.getPairingIndex(), new byte[65]);
|
response = cmdSet.openSecureChannel(secureChannel.getPairingIndex(), new byte[66]);
|
||||||
assertEquals(0x6A80, response.getSw());
|
assertEquals(0x6A80, response.getSw());
|
||||||
|
|
||||||
// Good case
|
// Good case
|
||||||
|
@ -1278,7 +1278,7 @@ public class KeycardTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@DisplayName("STORE/GET DATA")
|
@DisplayName("STORE/GET DATA")
|
||||||
void storeGetData() throws Exception {
|
void storeGetDataTest() throws Exception {
|
||||||
APDUResponse response;
|
APDUResponse response;
|
||||||
|
|
||||||
if (cmdSet.getApplicationInfo().hasSecureChannelCapability()) {
|
if (cmdSet.getApplicationInfo().hasSecureChannelCapability()) {
|
||||||
|
|
Loading…
Reference in New Issue