0x1949 Team - FAZEMRX - MANAGER
Edit File: core.cpython-310.pyc
o ���a_ � @ s: d Z ddlZddlZddlZddlZddlZddlmZmZ ddl m Z ddlm Z e�e�Zdadd� Zd ejfd d�Zdd � Zdeded eje fdd�Zdededed dfdd�Zdeded dfdd�Zdedeje d ejej fdd�Zdd� Zd)dd�Zd)dd�Zdd � Z d!d"� Z!d#d$� Z"d%d&� Z#d'd(� Z$dS )*z1 Core API functions and initialization routines. � N� )�backend�credentials)� platform_)�failc C s t | tj�s td��| adS )zSet current keyring backend.z1The keyring must be an instance of KeyringBackendN)� isinstancer �KeyringBackend� TypeError�_keyring_backend)�keyring� r �./usr/lib/python3/dist-packages/keyring/core.py�set_keyring s r �returnc C s t du rt� t�tjt �S )zGet current keyring backend.N)r �init_backend�typing�castr r r r r r �get_keyring s r c C s� t �� } zt�| � W n ty Y nw tj�| d�}tj�|�r+d|� �}t|��t |d��}|� d� W d � dS 1 sAw Y dS )z4 Configure the null keyring as the default. � keyringrc.cfgzRefusing to overwrite �wz7[backend] default-keyring=keyring.backends.null.KeyringN)�platform�config_root�os�makedirs�OSError�path�join�exists�RuntimeError�open�write)�root�filename�msg�filer r r �disable$ s � "�r% �service_name�usernamec C � t � �| |�S )z(Get password from the specified service.)r �get_password�r&