![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/secretstorage/__pycache__/ |
o ��!`r � @ sn d Z ddlZddlmZmZmZ ddlmZmZm Z m Z mZmZm Z ddlmZ ddlmZmZmZmZmZmZmZmZmZmZ ddlmZmZ ddlmZm Z dd l!m"Z"m#Z#m$Z$ dd l%m&Z& dZ'ed Z(ed Z)G dd� de�Z*dedefdd�Z+dede,de-dee-e,e,e-f fdd�Z.dede-dee/ee- f fdd�Z0dedee- de/fdd�Z1deddfdd �Z2dS )!zkThis module provides some utility functions, but these shouldn't normally be used by external applications.� N)�Any�List�Tuple)�DBusAddress�DBusErrorResponse� MatchRule�Message�MessageType�new_method_call� Properties)�DBusConnection) �DBUS_UNKNOWN_METHOD�DBUS_NO_SUCH_OBJECT�DBUS_SERVICE_UNKNOWN� DBUS_NO_REPLY�DBUS_NOT_SUPPORTED�DBUS_EXEC_FAILED�SS_PATH� SS_PREFIX�ALGORITHM_DH�ALGORITHM_PLAIN)�Session�int_to_bytes)�ItemNotFoundException�"SecretServiceNotAvailableException)�Cipher� algorithms�modes)�default_backendzorg.freedesktop.secrets�Service�Promptc @ s� e Zd ZdZdedededdfdd�Zd edefd d�Z ded ededefdd�Z dedefdd�Zded ededdfdd�ZdS )�DBusAddressWrapperz�A wrapper class around :class:`jeepney.wrappers.DBusAddress` that adds some additional methods for calling and working with properties, and converts error responses to SecretStorage exceptions. .. versionadded:: 3.0 �path� interface� connection�returnNc C s t �| |t|� || _d S �N)r �__init__�BUS_NAME�_connection)�selfr"