OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4737
/
lib
/
python3.12
/
site-packages
/
certbot
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/12/2025 06:19:50 PM
rwxr-xr-x
📄
__init__.py
113 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📁
__pycache__
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📁
_internal
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
achallenges.py
2.06 KB
06/12/2025 06:19:38 PM
rw-r--r--
📁
compat
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
configuration.py
18.95 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
crypto_util.py
21.39 KB
06/12/2025 06:19:38 PM
rw-r--r--
📁
display
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
errors.py
2.72 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
interfaces.py
15.22 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
main.py
535 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📄
ocsp.py
14.95 KB
06/12/2025 06:19:38 PM
rw-r--r--
📁
plugins
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
py.typed
0 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📄
reverter.py
21.5 KB
06/12/2025 06:19:38 PM
rw-r--r--
📄
ssl-dhparams.pem
424 bytes
06/12/2025 06:19:38 PM
rw-r--r--
📁
tests
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
util.py
25.53 KB
06/12/2025 06:19:38 PM
rw-r--r--
Editing: errors.py
Close
"""Certbot client errors.""" from typing import Set from typing import TYPE_CHECKING if TYPE_CHECKING: from certbot.achallenges import AnnotatedChallenge class Error(Exception): """Generic Certbot client error.""" class AccountStorageError(Error): """Generic `.AccountStorage` error.""" class AccountNotFound(AccountStorageError): """Account not found error.""" class ReverterError(Error): """Certbot Reverter error.""" class SubprocessError(Error): """Subprocess handling error.""" class CertStorageError(Error): """Generic `.CertStorage` error.""" class HookCommandNotFound(Error): """Failed to find a hook command in the PATH.""" class SignalExit(Error): """A Unix signal was received while in the ErrorHandler context manager.""" class OverlappingMatchFound(Error): """Multiple lineages matched what should have been a unique result.""" class LockError(Error): """File locking error.""" # Auth Handler Errors class AuthorizationError(Error): """Authorization error.""" class FailedChallenges(AuthorizationError): """Failed challenges error. :ivar set failed_achalls: Failed `.AnnotatedChallenge` instances. """ def __init__(self, failed_achalls: Set['AnnotatedChallenge']) -> None: assert failed_achalls self.failed_achalls = failed_achalls super().__init__() def __str__(self) -> str: return "Failed authorization procedure. {0}".format( ", ".join( "{0} ({1}): {2}".format(achall.domain, achall.typ, achall.error) for achall in self.failed_achalls if achall.error is not None)) # Plugin Errors class PluginError(Error): """Certbot Plugin error.""" class PluginEnhancementAlreadyPresent(Error): """ Enhancement was already set """ class PluginSelectionError(Error): """A problem with plugin/configurator selection or setup""" class NoInstallationError(PluginError): """Certbot No Installation error.""" class MisconfigurationError(PluginError): """Certbot Misconfiguration error.""" class NotSupportedError(PluginError): """Certbot Plugin function not supported error.""" class PluginStorageError(PluginError): """Certbot Plugin Storage error.""" class StandaloneBindError(Error): """Standalone plugin bind error.""" def __init__(self, socket_error: OSError, port: int) -> None: super().__init__( "Problem binding to port {0}: {1}".format(port, socket_error)) self.socket_error = socket_error self.port = port class ConfigurationError(Error): """Configuration sanity error.""" # NoninteractiveDisplay error: class MissingCommandlineFlag(Error): """A command line argument was missing in noninteractive usage"""