Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryption #28

Merged
merged 10 commits into from
Apr 11, 2024
Merged

Encryption #28

merged 10 commits into from
Apr 11, 2024

Conversation

tcsullivan
Copy link
Collaborator

Closes #6 .

This PR adds encryption support for the saved WiFi credentials (plus anything else we decide to store). The ESP32's HMAC peripheral is used to generate an encryption key, which internally uses a 32-byte key that we'll generate per-device and burn into eFuse memory; this memory is write- and read-protected, giving us sufficient security for the stored data.

More security hardening could be done in the future, but that will most likely build on top of this base.

@tcsullivan tcsullivan linked an issue Apr 11, 2024 that may be closed by this pull request
@tcsullivan tcsullivan merged commit 88e25f9 into main Apr 11, 2024
2 checks passed
@tcsullivan tcsullivan deleted the encryption branch April 11, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Encryption for stored information
1 participant