�
i��d� � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�IndependentPluginc � � e Zd ZdZdZdZd� Zy)�Cryptoz"System crypto services information�crypto)�system�hardwarec
� � d}| j d|z dd|z ddddd i� | j g d
�� | j g d�� y )Nz/etc/crypto-policies/back-endsz%s/bind.config�crypto_policies_bindz%s/opensshserver.config�crypto_policies_opensshserverz/etc/crypto-policies/.*/current�crypto_policies_state_currentz/etc/crypto-policies/config�crypto_policies_config)z/proc/cryptoz/proc/sys/crypto/fips_enabledz/etc/system-fipsz/etc/crypto-policies/*)zfips-mode-setup --checkzupdate-crypto-policies --showz#update-crypto-policies --is-applied)�
add_file_tags�
add_copy_spec�add_cmd_output)�self�cpths �;/usr/lib/python3/dist-packages/sos/report/plugins/crypto.py�setupzCrypto.setup sf � �/������t�#�%;�%��,�.M�-�/N�)�+C�
� �
���
� �
���
� � N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr � r r r r s � �5�J��K�%�H�r r N)�sos.report.pluginsr r r r r r �<module>r s �� 9��V�&� r |