File: //proc/self/root/lib/python3/dist-packages/twisted/plugins/__pycache__/cred_sshkeys.cpython-38.pyc
U
W[� � @ s� d Z ddlmZmZ ddlmZ ddlmZ ddlm Z dZ
z6ddlmZm
Z
ee ej�G dd � d e��Ze� ZW n ek
r� Y nX d
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, e Zd ZdZdZeZdZej Z ddd�Z
dS ) �SSHKeyCheckerFactoryzL
Generates checkers that will authenticate a SSH public key
ZsshkeyzNo argstring required.� c C s
t t� �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'