HEX
Server: nginx/1.24.0
System: Linux ip-172-31-22-109 6.17.0-1012-aws #12~24.04.1-Ubuntu SMP Mon Apr 6 17:36:28 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/landscape/lib/__pycache__/machine_id.cpython-312.pyc
�

z�h��f�ddlZddlZgd�Zejd�ZdZdZdefd�Zdedzfd�Z	y)	�N)�get_namespaced_machine_id�LANDSCAPE_CLIENT_APP_UUID�MACHINE_ID_FILE�MACHINE_ID_SIZEz$534a0cda-35a7-4f8a-a5cb-d8d9bb24a790z/etc/machine-id� �returnc�|�ttd�5}|jt�}ddd�|S#1swYSxYw)N�r)�openr�readr)�f�
machine_ids  �:/usr/lib/python3/dist-packages/landscape/lib/machine_id.py�_get_machine_idrs8��	
�o�s�	#�-�q��V�V�O�,�
�-���-���s�1�;c���	t�}|syt	tjt|��S#t$r(}tjt	|��Yd}~yd}~wwxYw)N)r�	Exception�logging�warning�str�uuid�uuid5r)r�es  rrrsS���$�&�
����t�z�z�3�Z�@�A�A��������A������s�
2�	A#�A�A#)
rr�__all__�UUIDrrrrrr��r�<module>rsP������&�D�I�I�&L�M��
$�������B�3��:�Br