HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/twisted/plugins/__pycache__/cred_sshkeys.cpython-38.pyc
U


W[��@s�dZddlmZmZddlmZddlmZddlm	Z	dZ
z6ddlmZm
Z
ee	ej�Gdd	�d	e��Ze�ZWnek
r�YnXd
S)z 
Cred plugin for ssh key login.
�)�absolute_import�division)�implementer)�plugin)�ICheckerFactoryz�
This allows SSH public key authentication, based on public keys listed in
authorized_keys and authorized_keys2 files in user .ssh/ directories.
��SSHPublicKeyChecker�UNIXAuthorizedKeysFilesc@s,eZdZdZdZeZdZej	Z	ddd�Z
dS)	�SSHKeyCheckerFactoryzL
        Generates checkers that will authenticate a SSH public key
        ZsshkeyzNo argstring required.�cCs
tt��S)z�
            This checker factory ignores the argument string. Everything
            needed to authenticate users is pulled out of the public keys
            listed in user .ssh/ directories.
            r)�selfZ	argstring�r
�>/usr/lib/python3/dist-packages/twisted/plugins/cred_sshkeys.py�generateChecker'sz$SSHKeyCheckerFactory.generateCheckerN)r)�__name__�
__module__�__qualname__�__doc__ZauthType�sshKeyCheckerFactoryHelpZauthHelpZargStringFormatrZcredentialInterfacesrr
r
r
rr
sr
N)rZ
__future__rrZzope.interfacerZtwistedrZtwisted.cred.strcredrrZtwisted.conch.checkersrr	ZIPlugin�objectr
ZtheSSHKeyCheckerFactory�ImportErrorr
r
r
r�<module>s