AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/lib/python3/dist-packages/uaclient/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/thread-self/root/usr/lib/python3/dist-packages/uaclient/__pycache__/gpg.cpython-310.pyc
o

)��`-�@s>ddlZddlZddlZddlmZdededdfdd�ZdS)�N)�
exceptions�source_keyfile�destination_keyfile�returncCsDt�d|�tj�|�st�d�|���t�	||�t�
|d�dS)aYCopy a specific key from source_keyring_dir into destination_keyfile

    :param source_keyfile: Path of source keyring file to export.
    :param destination_keyfile: The filename created with the single exported
        key.

    :raise UserFacingError: Any GPG errors or if specific key does not exist in
        the source_keyring_file.
    zExporting GPG key %szGPG key '{}' not found.i�N)�logging�debug�os�path�existsr�UserFacingError�format�shutil�copy�chmod)rr�r�./usr/lib/python3/dist-packages/uaclient/gpg.py�export_gpg_keys
�r)rrr
�uaclientr�strrrrrr�<module>s


Anon7 - 2022
AnonSec Team