Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias If BoolOpAnd Call NameLoad Str Call NameLoad Str body ImportFrom alias orelse Assign NameStore NameLoad ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str If CompareIs Call NameLoad NameLoad Str NameLoad NameLoad body Assign NameStore Str orelse If CompareIs NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Return Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Tests for L{twisted.conch.openssh_compat}.
 N/A os twisted.trial.unittest TestCase twisted.python.filepath FilePath twisted.python.reflect requireModule N/A N/A N/A requireModule Crypto.Cipher.DES3 N/A requireModule pyasn1 N/A twisted.conch.openssh_compat.factory OpenSSHFactory N/A N/A OpenSSHFactory None twisted.conch.test keydata twisted.test.test_process MockOS OpenSSHFactoryTests N/A TestCase N/A N/A 
    Tests for L{OpenSSHFactory}.
     N/A N/A N/A getattr os geteuid None None N/A N/A skip geteuid/seteuid not available N/A N/A N/A OpenSSHFactory None N/A N/A skip Cannot run without PyCrypto or PyASN1 setUp N/A N/A self N/A N/A N/A N/A self factory N/A OpenSSHFactory N/A N/A self keysDir N/A FilePath N/A N/A self mktemp N/A N/A N/A N/A self keysDir makedirs N/A N/A N/A self factory dataRoot N/A N/A self keysDir path N/A N/A N/A N/A N/A N/A self keysDir child ssh_host_foo setContent foo N/A N/A N/A N/A N/A N/A self keysDir child bar_key setContent foo N/A N/A N/A N/A N/A N/A self keysDir child ssh_host_one_key setContent N/A keydata privateRSA_openssh N/A N/A N/A N/A N/A N/A self keysDir child ssh_host_two_key setContent N/A keydata privateDSA_openssh N/A N/A N/A N/A N/A N/A self keysDir child ssh_host_three_key setContent not a key content N/A N/A N/A N/A N/A N/A self keysDir child ssh_host_one_key.pub setContent N/A keydata publicRSA_openssh N/A N/A self mockos N/A MockOS N/A N/A N/A self patch os seteuid N/A N/A self mockos seteuid N/A N/A N/A self patch os setegid N/A N/A self mockos setegid N/A test_getPublicKeys N/A N/A self N/A N/A N/A 
        L{OpenSSHFactory.getPublicKeys} should return the available public keys
        in the data directory
         N/A keys N/A N/A N/A self factory getPublicKeys N/A N/A N/A self assertEqual N/A len keys 1 N/A keyTypes N/A N/A keys keys N/A N/A N/A self assertEqual keyTypes N/A ssh-rsa N/A test_getPrivateKeys N/A N/A self N/A N/A N/A 
        L{OpenSSHFactory.getPrivateKeys} should return the available private
        keys in the data directory.
         N/A keys N/A N/A N/A self factory getPrivateKeys N/A N/A N/A self assertEqual N/A len keys 2 N/A keyTypes N/A N/A keys keys N/A N/A N/A self assertEqual N/A set keyTypes N/A set N/A ssh-rsa ssh-dss N/A N/A N/A self assertEqual N/A N/A self mockos seteuidCalls N/A N/A N/A N/A self assertEqual N/A N/A self mockos setegidCalls N/A N/A test_getPrivateKeysAsRoot N/A N/A self N/A N/A N/A 
        L{OpenSSHFactory.getPrivateKeys} should switch to root if the keys
        aren't readable by the current user.
         N/A keyFile N/A N/A N/A self keysDir child ssh_host_two_key N/A N/A N/A keyFile chmod 0 N/A N/A N/A self addCleanup N/A keyFile chmod 511 N/A savedSeteuid N/A os seteuid seteuid N/A N/A euid N/A N/A N/A N/A N/A keyFile chmod 511 N/A N/A savedSeteuid euid N/A N/A N/A N/A self patch os seteuid seteuid N/A keys N/A N/A N/A self factory getPrivateKeys N/A N/A N/A self assertEqual N/A len keys 2 N/A keyTypes N/A N/A keys keys N/A N/A N/A self assertEqual N/A set keyTypes N/A set N/A ssh-rsa ssh-dss N/A N/A N/A self assertEqual N/A N/A self mockos seteuidCalls N/A 0 N/A N/A os geteuid N/A N/A N/A self assertEqual N/A N/A self mockos setegidCalls N/A 0 N/A N/A os getegid N/A N/A