pub fn machine_id_raw() -> Option<Vec<u8>>Expand description
Raw, stable machine identifier bytes for the same-machine attestation
fingerprint (RFC-001 amendment #182, same_machine::machine_fingerprint).
- Linux:
/etc/machine-id(systemd), falling back to/var/lib/dbus/machine-id. - macOS:
IOPlatformUUIDfromioreg -rd1 -c IOPlatformExpertDevice. - Windows:
HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid(reg query).
Returns None on any read failure — the caller omits the attestation and
the session still functions, it just can’t join the same-machine lane
(fail-closed, §A). The bytes are used only as hash input; their exact
encoding is irrelevant as long as it is stable for a given machine.