%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/paramiko/__pycache__/ |
| Current File : //lib/python3/dist-packages/paramiko/__pycache__/kex_gss.cpython-312.pyc |
�
�ec ` � � � d Z ddlZddlmZ ddlmZmZmZ ddlm Z ddl
mZ ddlm
Z
mZmZ ddlmZ ed d
� \ ZZZZZ edd� \ ZZ ed d
� D � cg c]
} e
| � �� c} \ ZZZZZ edd� D � cg c]
} e
| � �� c} \ ZZ G d
� de!� Z" G d� de"� Z# G d� de!� Z$ G d� de!� Z%yc c} w c c} w )a�
This module provides GSS-API / SSPI Key Exchange as defined in :rfc:`4462`.
.. note:: Credential delegation is not supported in server mode.
.. note::
`RFC 4462 Section 2.2
<https://tools.ietf.org/html/rfc4462.html#section-2.2>`_ says we are not
required to implement GSS-API error messages. Thus, in many methods within
this module, if an error occurs an exception will be thrown and the
connection will be terminated.
.. seealso:: :doc:`/api/ssh_gss`
.. versionadded:: 1.15
� N)�sha1)�DEBUG�max_byte� zero_byte)�util)�Message)�byte_chr� byte_mask�byte_ord)�SSHException� �# �( �* c �x � e Zd ZdZdZdZ ed� edz z Ze dz Z
dZd� Zd � Z
d
� Zd� Zd� Zd
� Zd� Zd� Zd� Zy)�KexGSSGroup1z�
GSS-API / SSPI Authenticated Diffie-Hellman Key Exchange as defined in `RFC
4462 Section 2 <https://tools.ietf.org/html/rfc4462.html#section-2>`_
lE ����8�{3If?�E y�Z�3�V�58n�oP�e�?a-�
�tBL�
�y3W[�<�p�6m5��P��&a�F!�33*�w& �AR�M;L}.�c|&A�@�h\�&&#-D�v�d���� � � � � z(gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==c � � || _ | j j | _ d | _ d| _ d| _ d| _ y )Nr )� transport�kexgss_ctxt�kexgss�gss_host�x�e�f��selfr s �2/usr/lib/python3/dist-packages/paramiko/kex_gss.py�__init__zKexGSSGroup1.__init__S s6 � �"����n�n�0�0�����
���������� c � � | j � | j j rPt | j | j
| j � | _ | j j t � yt | j | j
| j � | _
| j j | _ t � }|j t � |j | j j# | j �� � |j% | j � | j j'