o
    i©¹dì  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚRedHatPluginc                   @   s(   e Zd ZdZdZdZdZdZdd„ ZdS )	Ú	SmartcardzPKCS#11 smart cardsÚ	smartcard)ÚsecurityÚidentityÚhardware)z/etc/pam_pkcs11/pam_pkcs11.conf)Ú
pam_pkcs11z
pcsc-toolsÚopenscz	pcsc-litezpcsc-lite-ccidc                 C   s*   |   g d¢¡ |  g d¢¡ |  d¡ d S )N)z/etc/reader.confz/etc/reader.conf.d/z/etc/pam_pkcs11/z/etc/opensc-*.confz/etc/pkcs11/modules/*.modulez#/usr/share/p11-kit/modules/*.module)zpklogin_finder debugzls -nl /usr/lib*/pam_pkcs11/Ú	pcsc_scanzpkcs11-tool --show-infozpkcs11-tool --list-mechanismszpkcs11-tool --list-slotszpkcs11-tool --list-objectsz!/etc/pam_pkcs11/nssdb/key[3-4].db)Úadd_copy_specÚadd_cmd_outputÚadd_forbidden_path)Úself© r   ú>/usr/lib/python3/dist-packages/sos/report/plugins/smartcard.pyÚsetup   s   	zSmartcard.setupN)	Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesÚfilesÚpackagesr   r   r   r   r   r      s    r   N)Úsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   
