Crates.io | app-machine-id |
lib.rs | app-machine-id |
version | 0.1.0 |
source | src |
created_at | 2023-02-20 14:43:36.285485 |
updated_at | 2023-02-20 14:43:36.285485 |
description | Generate app-specific machine IDs |
homepage | |
repository | https://github.com/d-k-bo/app-machine-id |
max_upload_size | |
id | 789846 |
size | 35,060 |
Generate app-specific machine IDs derived from the machine ID defined in
/etc/machine-id
and an application ID.
Unlike the default machine ID, which should be considered "confidential", this implementation uses HMAC-SHA256 to generate an app-specific machine ID which could be used in less secure contexts.
This implementation is based on systemd's sd_id128_get_machine_app_specific()
.
See man machine-id(5)
and man sd_id128_get_machine(3)
for details.
This project is licensed under GNU Lesser General Public License version 2.1 or later (LGPL-2.1-or-later).