Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/conch/test/__pycache__/ |
Upload File : |
o �bD- � @ s2 d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddl mZ ddlm Z dd lmZ dd lmZ ddlmZ dZd Ze d�rge d�rgddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ndZdZeZ e�!� rudZdZej"�#� s~dZdZej$�#� s�dZdZG dd� de�Z%G dd� de�Z&dS )z, Tests for L{twisted.conch.client.default}. � N)�skipIf)� ConchError)�keydata)�nativeString)�FilePath)� requireModule)�platform)�StringTransport)�TestCaseF� �cryptography�pyasn1)�default)�SSHAgentClient)�SSHUserAuthClient)�ConchOptions)�KeyTzBcryptography and PyASN1 required for twisted.conch.client.default.zlgenericAnswers and getPassword does not work on Windows. Should be fixed as part of fixing bug 6409 and 6410z#sys.stdin is not an interactive ttyz$sys.stdout is not an interactive ttyc @ s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zee e�dd� �Zee e�dd� �Zee e�dd� �Zee e�dd� �ZdS )�SSHUserAuthClientTestszm Tests for L{SSHUserAuthClient}. @type rsaPublic: L{Key} @ivar rsaPublic: A public RSA key. c C sZ t �tj�| _t| �� �| _| j�� | j� d�| _ | j �tj� | j� d��tj� d S )N�id_rsa� id_rsa.pub) r � fromStringr �publicRSA_openssh� rsaPublicr �mktemp�tmpdir�makedirs�child�rsaFile� setContent�privateRSA_openssh��self� r"