MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/share/crypto-policies/python/policygenerators/__pycache__/krb5.cpython-312.opt-1.pyc
�

��i���&�ddlmZGd�de�Zy)�)�ConfigGeneratorc�J�eZdZdZdddd�Zddddd	�Zed
��Zed��Zy)
�
KRB5Generator�krb5zcamellia256-cts-cmaczcamellia128-cts-cmac)zCAMELLIA-256-CBCzCAMELLIA-128-CBCzCAMELLIA-128-CTSzaes256-cts-hmac-sha1-96zaes256-cts-hmac-sha384-192zaes128-cts-hmac-sha1-96zaes128-cts-hmac-sha256-128)zAES-256-CBC-HMAC-SHA1zAES-256-CBC-HMAC-SHA2-384zAES-128-CBC-HMAC-SHA1zAES-128-CBC-HMAC-SHA2-256c���|jddh�}|j}d}d}|dz
}d}|dD]3}|dD])}	|j||j|d	z|z|�}�+�5|dD]#}	|j||j
||�}�%d
|dvrd|dvr|j|d
|�}||dzz
}|jddkDr|dz
}|S#t$rY��wxYw#t$rY��wxYw)N�kerberosr� z[libdefaults]
zpermitted_enctypes = ��mac�cipher�-zRC4-128�MD5�hashzarcfour-hmac-md5�
�min_dh_sizeizpkinit_dh_min_bits=4096
)�scoped�enabled�append�cipher_mac_map�KeyError�
cipher_map�integers)	�cls�unscoped_policy�policy�p�sep�cfg�s�j�is	         �:/usr/share/crypto-policies/python/policygenerators/krb5.py�generate_configzKRB5Generator.generate_configs5�� �'�'��V�(<�=���N�N�������&�&�����5��A��x�[����
�
�1�c�&8�&8��S��1��&E�s�K�A�!���8��A�
��J�J�q�#�.�.��"3�S�9�����(��#���6��(:��
�
�1�0�#�6�A��q�4�x����?�?�=�)�D�0�
�.�.�C��
��+ ������
��
�s#�&C�/ C"�	C�C�"	C.�-C.c��y)NT�)r�configs  r"�test_configzKRB5Generator.test_config?s���N)	�__name__�
__module__�__qualname__�CONFIG_NAMErr�classmethodr#r'r%r(r"rr	sW���K�3�2�2��J�";�%A�!:�%A�	�N��!��!�F���r(rN)�configgeneratorrrr%r(r"�<module>r/s��-�8�O�8r(