Bump urllib3 from 2.6.0 to 2.6.3
This dependency update adds decompression-bomb safeguards to HTTP redirects. See CVE-2026-21441.
https://nvd.nist.gov/vuln/detail/CVE-2026-21441
The fix - https://github.com/urllib3/urllib3/releases/tag/2.6.3
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
AWS-Simplify-OTA-Script
This repository provides a command line interface wizard for easily onboarding IoT things to AWS IoT core, thing group management, and OTA job creation. This library is distributed under the Apache-2.0 Open Source License.
Overview
This package currently has 4 source files:
aws_operations.pyis a wrapper for each AWS SDK callutils.pyhelps handle input and outputsetup_ota_update.pyruns infrastructure setup for the user. This is the entry point of the script.config.json.run_ota_update.pyis a wrapper for CreateOTAUpdate API and reads fromconfig.jsonto get the input needed for it.Prerequisites
Install Python
Once Python is installed, run
pip install pipenvto install pipenv, enabling you to optionally create a virtual environment for the project viapipenv shelland use the pipfile to install dependencies via thepipenv installcommand.Install OpenSSL
MacOS OpenSSL Installation:
Ubuntu OpenSSL Installation:
Create AWS Account
Follow the instructions here to create an AWS account.
Setup AWS CLI
Follow the instructions here to set up AWS CLI.
Getting started
This documentation page describes how to run an Over-the-Air (OTA) update agent as one of the RTOS tasks that share the same MQTT connection.
Steps to run the script
To run this tool, you must first configure your AWS credentials. To see how to do this, refer to the following here. For example, in the terminal, run this with your configured credentials:
After configuring your CLI credentials in your preferred method, simply run the following:
python3 setup-ota-update.pyThis will take you through setting up the infrastructure for an OTA update. You will be prompted if you want to create a new resource or use an existing one for each needed resource, such as IAM roles, S3 buckets, Code signing profiles, etc.
If you generate an OpenSSL certificate through the wizard, you will have two files in your directory,
ecdsasigner-priv-key.pemandecdsasigner.crt. You should make sure that your device is signed with the private key file, or else the OTA update will not succeed.When you are ready, simply run
python3 run-ota-update.pyWhich will create the OTA update. You should go into your account or use the CLI to view the status of the update.