OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
pyu2f
/
pyu2f
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/11/2025 08:19:48 AM
rwxr-xr-x
📄
__init__.cpython-39.pyc
198 bytes
02/11/2025 08:19:48 AM
rw-r--r--
📄
apdu.cpython-39.pyc
3.77 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
errors.cpython-39.pyc
3.16 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
hardware.cpython-39.pyc
5.12 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
hidtransport.cpython-39.pyc
9.66 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
model.cpython-39.pyc
2.44 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
u2f.cpython-39.pyc
5.49 KB
02/11/2025 08:19:48 AM
rw-r--r--
Editing: errors.cpython-39.pyc
Close
a ��aj � @ s� d Z G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d � d e�ZG dd� de�ZG d d� de�ZG dd� de�Z G dd� de�Z G dd� de�ZG dd� de�ZG dd� de�Z G dd� de�ZG dd� de�ZG dd� de�ZdS ) z�Exceptions that can be raised by the pyu2f library. All exceptions that can be raised by the pyu2f library. Most of these are internal coditions, but U2FError and NoDeviceFoundError are public errors that clients should expect to handle. c @ s e Zd ZdS )�NoDeviceFoundErrorN��__name__� __module__�__qualname__� r r �-/opt/gsutil/third_party/pyu2f/pyu2f/errors.pyr s r c s6 e Zd ZdZdZdZdZdZdZd � fdd � Z � Z S )�U2FError� � � � � � Nc s0 || _ |r|| _tt| ��d|t|�f � d S )NzU2F Error code: %d (cause: %s))�code�cause�superr �__init__�str)�selfr r �� __class__r r r # s �zU2FError.__init__)N)r r r �OKZOTHER_ERROR�BAD_REQUESTZCONFIGURATION_UNSUPPORTED�DEVICE_INELIGIBLE�TIMEOUTr � __classcell__r r r r r s r c @ s e Zd ZdZdS )�HidErrorz)Errors in the hid usb transport protocol.N�r r r �__doc__r r r r r + s r c @ s e Zd ZdS )�InvalidPacketErrorNr r r r r r 0 s r c @ s e Zd ZdZdS )� HardwareErrorzCErrors in the security key hardware that are transport independent.Nr r r r r r 4 s r c @ s e Zd ZdS )�InvalidRequestErrorNr r r r r r! 9 s r! c s e Zd Z� fdd�Z� ZS )� ApduErrorc s( || _ || _tt| ��d||f � d S )NzDevice returned status: %d %d)�sw1�sw2r r"