Skip to content

Switch ipcfg utility for get-mac to find MAC addresses #216

@rtibbles

Description

@rtibbles

Observed behavior

The ipcfg library is currently unmaintained, and has issues in getting MAC addresses, especially on Windows machines where the system language is set to something other than English.

Expected behavior

We should use a maintained library that does not suffer from issues getting MAC addresses in different circumstances.

One candidate for this is https://pypi.org/project/get-mac/ a library that rather than using CLI utilities and parsing the output like ipcfg does, instead uses direct C APIs in the different OSes it supports.

### Acceptance Criteria
- [ ] Swap out ipcfg for the get-mac library
- [ ] Confirm that the same MAC address is elicited from a range of different machines by the two different libraries
- [ ] Confirm that get-mac performs better on Windows systems with non-English system languages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions