Skip to content

Commit 46375e9

Browse files
authored
Fix CA override functions (#176)
Update to aws-crt 0.14.0. This fixes the issue where "overrideDefaultTrustStore" functions did not actually override the system trust store on Linux and Apple platforms.
1 parent af7ea1e commit 46375e9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ mvn clean install
6565
# NOTE: use the latest version of the CRT here
6666

6767

68-
git clone --branch v0.11.5 https://github.com/awslabs/aws-crt-java.git
68+
git clone --branch v0.14.0 https://github.com/awslabs/aws-crt-java.git
6969

7070
git clone https://github.com/awslabs/aws-iot-device-sdk-java-v2.git
7171
cd aws-crt-java
@@ -80,7 +80,7 @@ Supports API 26 or newer.
8080
NOTE: The shadow sample does not currently complete on android due to its dependence on stdin keyboard input.
8181

8282
``` sh
83-
git clone --recursive --branch v0.11.5 https://github.com/awslabs/aws-crt-java.git
83+
git clone --recursive --branch v0.14.0 https://github.com/awslabs/aws-crt-java.git
8484
git clone https://github.com/awslabs/aws-iot-device-sdk-java-v2.git
8585
cd aws-crt-java/android
8686
./gradlew connectedCheck # optional, will run the unit tests on any connected devices/emulators
@@ -101,7 +101,7 @@ repositories {
101101
}
102102
103103
dependencies {
104-
implementation 'software.amazon.awssdk.crt:android:0.11.5'
104+
implementation 'software.amazon.awssdk.crt:android:0.14.0'
105105
}
106106
```
107107
#### Caution

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ repositories {
5050
dependencies {
5151
implementation fileTree(dir: 'libs', include: ['*.jar'])
5252
implementation project(":iotdevicesdk")
53-
implementation 'software.amazon.awssdk.crt:android:0.11.5'
53+
implementation 'software.amazon.awssdk.crt:android:0.14.0'
5454
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
5555
implementation 'androidx.appcompat:appcompat:1.1.0'
5656
implementation 'androidx.core:core:1.2.0'

android/iotdevicesdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ repositories {
8787

8888
dependencies {
8989
implementation fileTree(dir: 'libs', include: ['*.jar'])
90-
implementation 'software.amazon.awssdk.crt:android:0.11.5'
90+
implementation 'software.amazon.awssdk.crt:android:0.14.0'
9191
implementation 'com.google.code.gson:gson:2.8.5'
9292
implementation 'androidx.appcompat:appcompat:1.1.0'
9393
testImplementation 'junit:junit:4.12'

sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>software.amazon.awssdk.crt</groupId>
4444
<artifactId>aws-crt</artifactId>
45-
<version>0.13.2</version>
45+
<version>0.14.0</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>junit</groupId>

0 commit comments

Comments
 (0)