Skip to content

Select a stable machine identity from network adapters - #605

Merged
majd merged 1 commit into
mainfrom
branch/fix-machine-identity
Oct 1, 2026
Merged

majd merged 1 commit into
mainfrom
branch/fix-machine-identity

Conversation

@majd

@majd majd commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Selecting the first network interface can produce an unusable or changing device identity. Choose a validated MAC address deterministically, prefer physical adapters, and cache the identity so authentication, bag requests, and downloads use the same value throughout a run.

Use IOKit hardware addresses on macOS, permanent adapter addresses when available on Windows, and sysfs metadata on Linux. Preserve macOS 27 redacted-address recovery and valid-address fallbacks for VMs and containers. Add regression coverage for adapter selection, invalid addresses, and concurrent lookups.

@majd
majd enabled auto-merge (rebase) October 1, 2026 18:30
@majd
majd merged commit 0cc226a into main Oct 1, 2026
16 checks passed
@majd
majd deleted the branch/fix-machine-identity branch October 1, 2026 18:32
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.

1 participant