Skip to content

Commit

Permalink
Fix CA override functions (#176)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
graebm authored Aug 16, 2021
1 parent af7ea1e commit 46375e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mvn clean install
# NOTE: use the latest version of the CRT here


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

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

``` sh
git clone --recursive --branch v0.11.5 https://github.com/awslabs/aws-crt-java.git
git clone --recursive --branch v0.14.0 https://github.com/awslabs/aws-crt-java.git
git clone https://github.com/awslabs/aws-iot-device-sdk-java-v2.git
cd aws-crt-java/android
./gradlew connectedCheck # optional, will run the unit tests on any connected devices/emulators
Expand All @@ -101,7 +101,7 @@ repositories {
}
dependencies {
implementation 'software.amazon.awssdk.crt:android:0.11.5'
implementation 'software.amazon.awssdk.crt:android:0.14.0'
}
```
#### Caution
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ repositories {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(":iotdevicesdk")
implementation 'software.amazon.awssdk.crt:android:0.11.5'
implementation 'software.amazon.awssdk.crt:android:0.14.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core:1.2.0'
Expand Down
2 changes: 1 addition & 1 deletion android/iotdevicesdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ repositories {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'software.amazon.awssdk.crt:android:0.11.5'
implementation 'software.amazon.awssdk.crt:android:0.14.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'androidx.appcompat:appcompat:1.1.0'
testImplementation 'junit:junit:4.12'
Expand Down
2 changes: 1 addition & 1 deletion sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<dependency>
<groupId>software.amazon.awssdk.crt</groupId>
<artifactId>aws-crt</artifactId>
<version>0.13.2</version>
<version>0.14.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit 46375e9

Please # to comment.