| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/keyrings/alt/__pycache__/ |
Upload File : |
�
<&c% � �� � d dl mZ d dlZd dlZ d dlmZ n# e$ r Y nw xY wd dlZd dlmZ d� Z G d� dej
j � � Z G d� d e� � Z G d
� de� � Z
dS )� )�absolute_importN)�keyczar)�errorsc � � t j � � 5 } t j d d d � � n# 1 swxY w Y t | � � S �N)r �ExceptionRaisedContextr �__name__�bool)�excs �6/usr/lib/python3/dist-packages/keyrings/alt/keyczar.py�has_keyczarr
sz � � � &� (� (� �C����� � � � � � � � � � ���� � � � ��C�y�y�=�s �
-�1�1c �t � e Zd ZdZej d� � � Zej d� � � Zed� � � Z d� Z
d� ZdS )�BaseCrypterzmBase Keyczar keyset encryption and decryption.
The keyset initialisation is deferred until required.
c � � dS )z9Location for the main keyset that may be encrypted or notN� ��selfs r �keyset_locationzBaseCrypter.keyset_location s � �
�� c � � dS )zoLocation for the encrypting keyset.
Use None to indicate that the main keyset is not encrypted
Nr r s r �encrypting_keyset_locationz&BaseCrypter.encrypting_keyset_location s � �
�r c �l � t | d� � s�| j st d� � �t j � | j � � }| j rDt j � | j � � }t j � ||� � }t j |� � | _
| j
S )zThe actual keyczar crypter�_crypterzNo encrypted keyset location!)�hasattrr �
ValueErrorr �readers�CreateReaderr �Crypter�Read�EncryptedReaderr )r �reader�encrypting_keyczars r �crypterzBaseCrypter.crypter&