Skip to content

Commit 58acb23

Browse files
authored
Update aws-crt to v0.41.0 (#671)
This includes migration of macOS from kqueue and security framework to Apple's dispatch queue, network, and secitem framework.
1 parent 3d3ffd8 commit 58acb23

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,6 @@ The best way to interact with our team is through GitHub.
9797

9898
If you have a support plan with [AWS Support](https://aws.amazon.com/premiumsupport/), you can also create a new support case.
9999

100-
#### Mac-Only TLS Behavior
101-
102-
> [!NOTE]
103-
> This SDK does not support TLS 1.3 on macOS. Support for TLS 1.3 on macOS is planned for a future release.
104-
105-
Please note that on Mac, once a private key is used with a certificate, that certificate-key pair is imported into the Mac Keychain. All subsequent uses of that certificate will use the stored private key and ignore anything passed in programmatically. Beginning in v1.7.3, when a stored private key from the Keychain is used, the following will be logged at the "info" log level:
106-
107-
```
108-
static: certificate has an existing certificate-key pair that was previously imported into the Keychain.
109-
Using key from Keychain instead of the one provided.
110-
```
111-
112100
## Resources
113101

114102
Check out our resources for additional guidance too before opening an issue:

android/iotdevicesdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ repositories {
114114
}
115115

116116
dependencies {
117-
api 'software.amazon.awssdk.crt:aws-crt-android:0.38.13'
117+
api 'software.amazon.awssdk.crt:aws-crt-android:0.41.0'
118118
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
119119
implementation 'org.slf4j:slf4j-api:1.7.30'
120120
implementation 'com.google.code.gson:gson:2.9.0'

documents/FAQ.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [How do I build and use the Android SDK?](#how-do-i-build-and-use-the-android-sdk)
1313
* [Where can I find MQTT 311 Samples?](#where-can-i-find-mqtt-311-samples)
1414
* [How can I improve the library size?](#how-can-i-improve-the-library-size)
15+
* [Certificate and Private Key Usage Across Different Versions of the SDK on macOS](#certificate-and-private-key-usage-across-different-versions-of-the-sdk-on-macos)
1516
* [I still have more questions about this sdk?](#i-still-have-more-questions-about-this-sdk)
1617

1718
### Where should I start?
@@ -172,6 +173,8 @@ For maximum control, build both CRT and SDK locally:
172173
```
173174
3. [Build the SDK from source](./DEVELOPING.md#building-from-source)
174175

176+
### Certificate and Private Key Usage Across Different Versions of the SDK on macOS
177+
A certificate and private key pair cannot be shared on a macOS device between aws-iot-device-sdk-java-v2 v1.29.0 and an earlier version. In the update to v1.29.0 we migrated macOS from using Apple's deprecated Security Framework to SecItem API. In doing so, certificate and private keys are imported in a non-backwards compatible manner into the Apple Keychain.
175178

176179
### I still have more questions about this sdk?
177180

sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<dependency>
6161
<groupId>software.amazon.awssdk.crt</groupId>
6262
<artifactId>aws-crt</artifactId>
63-
<version>0.38.13</version>
63+
<version>0.41.0</version>
6464
</dependency>
6565
<dependency>
6666
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)