aws-samples / aws-samples/aws-iot-core-getting-started-micropython

No SSL validation? Prone to man-in-the-middle attacks?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Does the MQTT client do validation of SSL certificates on an ESP32 or a Raspberry Pi Pico? I see this note in the [MicroPython ssl documentation](https://docs.micropython.org/en/latest/library/ssl.html):

> Warning: Some implementations of ssl module do NOT validate server certificates, which makes an SSL connection established prone to man-in-the-middle attacks.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the MQTT client's SSL setup for ESP32 and Raspberry Pi Pico and compare it with MicroPython's ssl certificate-validation behavior. Done means documenting whether server certificates are validated on each target and identifying the needed follow-up.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.