Skip to content

Commit c8ace98

Browse files
authored
Update awscrt to v0.30.0 (#666)
This includes migration of macOS from kqueue and security framework to Apple's dispatch queue, network, and secitem framework.
1 parent 5984ff5 commit c8ace98

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

README.md

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

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

97-
#### Mac-Only TLS Behavior
98-
99-
> [!NOTE]
100-
> This SDK does not support TLS 1.3 on macOS. Support for TLS 1.3 on macOS is planned for a future release.
101-
102-
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:
103-
104-
```
105-
static: certificate has an existing certificate-key pair that was previously imported into the Keychain.
106-
Using key from Keychain instead of the one provided.
107-
```
108-
10997
## Resources
11098

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

documents/FAQ.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* [How do debug in VSCode?](#how-do-debug-in-vscode)
1111
* [What certificates do I need?](#what-certificates-do-i-need)
1212
* [Where can I find MQTT 311 Samples?](#where-can-i-find-mqtt-311-samples)
13+
* [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)
1314
* [I still have more questions about this sdk?](#i-still-have-more-questions-about-this-sdk)
1415

1516
### Where should I start?
@@ -154,6 +155,9 @@ Here is an example launch.json file to run the pubsub sample
154155
### Where can I find MQTT 311 Samples?
155156
The MQTT 311 Samples can be found in the v1.24.0 samples folder [here](https://github.com/aws/aws-iot-device-sdk-python-v2/tree/v1.24.0/samples)
156157

158+
### Certificate and Private Key Usage Across Different Versions of the SDK on macOS
159+
A certificate and private key pair cannot be shared on a macOS device between aws-iot-device-sdk-python-v2 v1.27.0 and an earlier version. In the update to v1.27.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.
160+
157161
### I still have more questions about this sdk?
158162

159163
* [Here](https://docs.aws.amazon.com/iot/latest/developerguide/what-is-aws-iot.html) are the AWS IoT Core docs for more details about IoT Core

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _load_version():
4040
"Operating System :: OS Independent",
4141
],
4242
install_requires=[
43-
'awscrt==0.28.1',
43+
'awscrt==0.30.0',
4444
],
4545
python_requires='>=3.8',
4646
)

0 commit comments

Comments
 (0)