Skip to content

openevec: add-wireless for encrypted WiFi port - #1202

Merged
rene merged 1 commit into
lf-edge:masterfrom
eriknordmark:openevec-add-wireless
Jul 8, 2026
Merged

openevec: add-wireless for encrypted WiFi port#1202
rene merged 1 commit into
lf-edge:masterfrom
eriknordmark:openevec-add-wireless

Conversation

@eriknordmark

@eriknordmark eriknordmark commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Motivation: testing the kvm-to-k partition-resizing recovery from a lost /persist.

A new eden controller edge-node add-wireless command injects a WiFi device
port into the device config with its credentials encrypted (ECDH) against the
device certificate, so EVE decrypts them at device-config ingest. This
exercises credential decryption independent of the app pipeline and of physical
radio presence.

The encryption is factored out of the app-userdata path as a reusable
EncryptForDevice helper (hard error, no plaintext fallback). Since the QEMU
device model has no radio, the command synthesizes a wireless PhysicalIO and a
non-management SystemAdapter; verified in a sandbox that nim decrypts the
credentials at ingest even with no radio present.

🤖 Generated with Claude Code

A new 'eden controller edge-node add-wireless' command injects a WiFi device port into the device config with its credentials encrypted (ECDH) against the device certificate, so EVE decrypts them at device-config ingest. This exercises credential decryption independent of the app pipeline and of physical radio presence.

The encryption is factored out of the app-userdata path as a reusable EncryptForDevice helper (hard error, no plaintext fallback). Since the QEMU device model has no radio, the command synthesizes a wireless PhysicalIO and a non-management SystemAdapter; verified in a sandbox that nim decrypts the credentials at ingest even with no radio present.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@eriknordmark
eriknordmark force-pushed the openevec-add-wireless branch from 116fee4 to 40eef8b Compare July 6, 2026 05:46

@rene rene left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rene
rene merged commit a8fde03 into lf-edge:master Jul 8, 2026
18 of 20 checks passed
@eriknordmark
eriknordmark deleted the openevec-add-wireless branch August 4, 2026 15:33
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.

2 participants