On Fri, Jun 23, 2023 at 08:55:56AM +0300, Svyatoslav Ryhel wrote:
> This is a small tool for calculation of SoC UID based on the same
> Linux function. It can be further used for generation of device
> unique data like mac address or exposing it as serial number.

It's a very bad idea to use the SoC UID as a MAC address. There are
better ways (such as MAC address randomization) to generate one if for
some reason you don't have a real MAC address or are concerned about
privacy.

The SoC UID is also not very well suited as a serial number because it
identifies only the SoC, but doesn't say anything about any of the other
components of a device. Many devices have serial numbers in some EEPROM
chip, so those would be more appropriate.

I suppose not all devices have such a system-wide serial number, so
perhaps there are cases where this would be better than nothing.

Thierry

Attachment: signature.asc
Description: PGP signature

Reply via email to