#16167: [Kernel Kit] Provide a mechanism to generate a unique identifier akin to
"/etc/machine-id"
------------------------------+-----------------------------
Reporter: CodeforEvolution | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/Kernel Kit | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Platform: All
------------------------------+-----------------------------
I'm currently working on fixing up support for Haiku in the Godot game
engine, and noticed that there is a function called "get_unique_id" which
requires the operating system to return an identifier unique to the
machine for online multiplayer support. Apparently, in BeOS, there was an
"id" member in the system_info struct, but this was either never
implemented in Haiku, or was removed at some point from our system_info
struct: https://www.haiku-os.org/legacy-
docs/bebook/TheKernelKit_SystemInfo.html
In addition, Haiku should most likely provide a mechanism to get an
encrypted machine specific identifier. According to Freedesktop's website:
"https://www.freedesktop.org/software/systemd/man/machine-id.html", one
should normally only use a machine's unique identifier in a "secure
context" and especially not in a network environment. Instead, it claims
that one should have a separate encrypted version of the machine id for
these unsecure use cases.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16167>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.