HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/key.cpython-310.pyc
o

�N�g��@s,dZddlZddlZddd�Zddd�ZdS)z7
Functions to view the minion's public key information
�NcC�0|durtd}tjjjtj�tdd�|d�S)z�
    Return the minion's public key fingerprint

    hash_type
        The hash algorithm used to calculate the fingerprint

    CLI Example:

    .. code-block:: bash

        salt '*' key.finger
    N�	hash_type�pki_dirz
minion.pub�Zsum_type�Z__opts__�salt�utilsZcryptZ
pem_finger�os�path�join�r�r
�D/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/key.py�finger
�

�rcCr)z�
    Return the fingerprint of the master's public key on the minion.

    hash_type
        The hash algorithm used to calculate the fingerprint

    CLI Example:

    .. code-block:: bash

        salt '*' key.finger_master
    Nrrzminion_master.pubrrrr
r
r�
finger_masterrr)N)�__doc__r	Zsalt.utils.cryptrrrr
r
r
r�<module>s