Skip to content

Commit

Permalink
Fixing a low severity issue with parsing certificate Common Name (CN) (
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK authored Feb 1, 2023
1 parent 7f999c8 commit 61b3963
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ mvn versions:use-latest-versions -Dincludes="software.amazon.awssdk.crt*"
mkdir sdk-workspace
cd sdk-workspace
# Clone the CRT repository
# (Use the latest version of the CRT here instead of "v0.21.3")
git clone --branch v0.21.3 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.21.4")
git clone --branch v0.21.4 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
cd aws-crt-java
# Compile and install the CRT
mvn install -Dmaven.test.skip=true
Expand All @@ -112,8 +112,8 @@ NOTE: The shadow sample does not currently complete on android due to its depend
mkdir sdk-workspace
cd sdk-workspace
# Clone the CRT repository
# (Use the latest version of the CRT here instead of "v0.21.3")
git clone --branch v0.21.3 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.21.4")
git clone --branch v0.21.4 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# Compile and install the CRT for Android
cd aws-crt-java/android
./gradlew connectedCheck # optional, will run the unit tests on any connected devices/emulators
Expand All @@ -138,11 +138,11 @@ repositories {
}
dependencies {
implementation 'software.amazon.awssdk.crt:android:0.21.3'
implementation 'software.amazon.awssdk.crt:android:0.21.4'
}
```

Replace `0.21.3` in `software.amazon.awssdk.crt:android:0.21.3` with the latest version of the CRT.
Replace `0.21.4` in `software.amazon.awssdk.crt:android:0.21.4` with the latest version of the CRT.
Look up the latest CRT version here: https://github.com/awslabs/aws-crt-java/releases

#### Caution
Expand Down
2 changes: 1 addition & 1 deletion android/iotdevicesdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ repositories {
}

dependencies {
api 'software.amazon.awssdk.crt:aws-crt-android:0.21.3'
api 'software.amazon.awssdk.crt:aws-crt-android:0.21.4'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
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.21.3</version>
<version>0.21.4</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 61b3963

Please sign in to comment.