diff --git a/APPLICATION.MD b/APPLICATION.MD index 9f18555..ff2f5af 100644 --- a/APPLICATION.MD +++ b/APPLICATION.MD @@ -3,9 +3,10 @@ ## Version Version numbers are in the form major.minor. An major revision increment indicates the presence of breaking changes as -compared to the previous released version. This is version 2.0 of the specs (unreleased). +compared to the previous released version. This is version 2.0 of the specs. ### Changes since 1.2 +* **BREAKING** Changed application AID * **BREAKING** Completely redefined the EXPORT KEY command * **BREAKING** Removed assisted key derivation * **BREAKING** Removed plain data signing, now only 32-byte long hashes can be signed @@ -65,7 +66,7 @@ SW 0x6985 is returned. All tagged data structures are encoded in the [BER-TLV fo * INS = 0xA4 * P1 = 0x04 * P2 = 0x00 -* Data = 53746174757357616C6C6574417070 (hex) +* Data = the instance AID * Response = Application Info Template or ECC public key. Response Data format: diff --git a/build.gradle b/build.gradle index 69e8935..e6bb62c 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { dependencies { classpath 'com.fidesmo:gradle-javacard:0.2.7' classpath 'org.junit.platform:junit-platform-gradle-plugin:1.1.1' - classpath 'com.github.status-im.status-keycard-java:desktop:2.0rc1' + classpath 'com.github.status-im.status-keycard-java:desktop:2.0.0' } } @@ -19,14 +19,14 @@ javacard { sdkVersion = "3.0.4" cap { - aid = '0x53:0x74:0x61:0x74:0x75:0x73:0x57:0x61:0x6c:0x6c:0x65:0x74' + aid = '0xA0:0x00:0x00:0x08:0x04:0x00:0x01' packageName = 'im.status.keycard' applet { - aid = '0x53:0x74:0x61:0x74:0x75:0x73:0x57:0x61:0x6c:0x6c:0x65:0x74:0x41:0x70:0x70' + aid = '0xA0:0x00:0x00:0x08:0x04:0x00:0x01:0x01' className = 'KeycardApplet' } applet { - aid = '0x53:0x74:0x61:0x74:0x75:0x73:0x57:0x61:0x6c:0x6c:0x65:0x74:0x4e:0x46:0x43' + aid = '0xA0:0x00:0x00:0x08:0x04:0x00:0x01:0x02' className = 'NDEFApplet' } @@ -43,7 +43,7 @@ dependencies { testCompile(files("../jcardsim/jcardsim-3.0.5-SNAPSHOT.jar")) testCompile('org.web3j:core:2.3.1') testCompile('org.bitcoinj:bitcoinj-core:0.14.5') - testCompile('com.github.status-im.status-keycard-java:desktop:2.0rc1') + testCompile('com.github.status-im.status-keycard-java:desktop:2.0.0') testCompile('org.bouncycastle:bcprov-jdk15on:1.60') testCompile("org.junit.jupiter:junit-jupiter-api:5.1.1") testRuntime("org.junit.jupiter:junit-jupiter-engine:5.1.1") diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index efb5425..939e455 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -4,5 +4,5 @@ repositories { } dependencies { - compile 'com.github.status-im.status-keycard-java:desktop:2.0rc1' + compile 'com.github.status-im.status-keycard-java:desktop:2.0.0' } \ No newline at end of file