Exploit databaseDownload repository ZIP
GH-bc303729e8eac9d0545e8253ab721603
abeltrar/app_security
Sources for CVE-1999-0211
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files9
abeltrar/app_securityRevision 29cf1dcbe92b
- ↑..Parent directory
- __pycache__/
- hazmat/
- x509/
- __about__.py
- __init__.py
- exceptions.py
- fernet.py
- py.typed
- utils.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
venv/Lib/site-packages/cryptography/exceptions.py
Python · 1,087 bytes# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from __future__ import annotations
import typing
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
if typing.TYPE_CHECKING:
from cryptography.hazmat.bindings._rust import openssl as rust_openssl
_Reasons = rust_exceptions._Reasons
class UnsupportedAlgorithm(Exception):
def __init__(self, message: str, reason: _Reasons | None = None) -> None:
super().__init__(message)
self._reason = reason
class AlreadyFinalized(Exception):
pass
class AlreadyUpdated(Exception):
pass
class NotYetFinalized(Exception):
pass
class InvalidTag(Exception):
pass
class InvalidSignature(Exception):
pass
class InternalError(Exception):
def __init__(
self, msg: str, err_code: list[rust_openssl.OpenSSLError]
) -> None:
super().__init__(msg)
self.err_code = err_code
class InvalidKey(Exception):
pass