%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/softwareproperties/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/softwareproperties/__pycache__/AptAuth.cpython-312.pyc

�

���c�����ddlZddlZddlZddlZddlZddlZddlZddlmZejZd�Z	e	d�e	d�e	d�e	d�e	d�Gd	�d
�Z
y)�N)�PIPEc��|S�N�)�es �</usr/lib/python3/dist-packages/softwareproperties/AptAuth.py�<lambda>r	"s��q��z;Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>z:Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>zBUbuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>zAUbuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>zBUbuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>c�2�eZdZdd�Zd�Zd�Zd�Zd�Zd�Zy)	�AptAuthc��||_tj�|_tj
j
|jd�|_t|jd�5}|jd|jz�ddd�|jtjd<tj|j�y#1swY�FxYw)Nzapt.conf�wz
DIR "%s";
�
APT_CONFIG)�rootdir�tempfile�mkdtemp�tmpdir�os�path�join�aptconf�open�write�environ�atexit�register�_cleanup_tmpdir)�selfr�fs   r�__init__zAptAuth.__init__,s�������&�&�(����w�w�|�|�D�K�K��<���
�$�,�,��
$�	2��
�G�G�M�D�L�L�0�1�	2�#'�<�<��
�
�<� �����,�,�-�	2�	2�s�&C
�
Cc�B�tj|j�yr)�shutil�rmtreer)rs rrzAptAuth._cleanup_tmpdir5s���
�
�d�k�k�"r
c
��gd�}g}tj|ttd��}d}|jj	�D]�}|jd�}|ddvr|d}|dd	k(r>|d
}tjjt|d��j�}|s�i|j�d�d
t|����d}��|S)N)�/usr/bin/apt-key�--quiet�advz
--with-colonsz--batchz--fixed-list-modez--list-keysT)�stdout�stderr�text��:r)�pub�uid�	r-��� �
)
�
subprocess�runrr(�
splitlines�split�datetime�date�
fromtimestamp�int�	isoformat�append�_)	r�cmd�res�process�name�line�fields�key�expirys	         r�listzAptAuth.list8s���t�����.�.��T�$�T�J�����N�N�-�-�/�
	�D��Z�Z��_�F��a�y�N�*��a�y���a�y�E�!��Q�i��!���4�4�S����^�D�N�N�P�����J�J�c�6�1�T�7�;�<��D�
	��
r
c�`�dddd|g}tj|t��jdk(S)Nr%r&�
--fakeroot�add�r)r�r4r5r�
returncode)r�filenamer?s   rrJzAptAuth.addJs.��!�9�l�E�8�L���~�~�c�$�/�:�:�a�?�?r
c�Z�gd�}tj|t��jdk(S)N)r%r&rI�updaterKrrL)rr?s  rrPzAptAuth.updateNs#��E���~�~�c�$�/�:�:�a�?�?r
c�`�dddd|g}tj|t��jdk(S)Nr%r&rI�rmrKrrL)rrEr?s   rrRz
AptAuth.rmRs.��!�9�l�D�#�F���~�~�c�$�/�:�:�a�?�?r
N)�/)	�__name__�
__module__�__qualname__r rrGrJrPrRrr
rrr+s#��.�#��$@�@�@r
r)rr8�gettextrr"r4rrr>�N_rrr
r�<module>rYsj��,���	�
�����O�O�����@�A��?�@��G�H��F�G��G�H�)@�)@r

Zerion Mini Shell 1.0