OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
secretstorage
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/17/2025 09:32:20 AM
rwxr-xr-x
📄
__init__.py
1.93 KB
08/27/2016 08:51:43 AM
rw-r--r--
📁
__pycache__
-
05/09/2024 06:58:01 AM
rwxr-xr-x
📄
collection.py
7.64 KB
05/06/2016 02:37:57 PM
rw-r--r--
📄
defines.py
792 bytes
05/06/2016 02:37:57 PM
rw-r--r--
📄
dhcrypto.py
2.37 KB
08/17/2016 05:52:22 PM
rw-r--r--
📄
exceptions.py
1.5 KB
08/13/2015 11:34:26 AM
rw-r--r--
📄
item.py
5 KB
07/04/2016 04:36:22 PM
rw-r--r--
📄
util.py
6.11 KB
08/17/2016 05:52:40 PM
rw-r--r--
Editing: exceptions.py
Close
# SecretStorage module for Python # Access passwords using the SecretService DBus API # Author: Dmitry Shachnev, 2012 # License: BSD """All secretstorage functions may raise various exceptions when something goes wrong. All exceptions derive from base :exc:`SecretStorageException` class.""" class SecretStorageException(Exception): """All exceptions derive from this class.""" class SecretServiceNotAvailableException(SecretStorageException): """Raised by :class:`~secretstorage.item.Item` or :class:`~secretstorage.collection.Collection` constructors, or by other functions in the :mod:`secretstorage.collection` module, when the Secret Service API is not available.""" class LockedException(SecretStorageException): """Raised when an action cannot be performed because the collection is locked. Use :meth:`~secretstorage.collection.Collection.is_locked` to check if the collection is locked, and :meth:`~secretstorage.collection.Collection.unlock` to unlock it. """ class ItemNotFoundException(SecretStorageException): """Raised when an item does not exist or has been deleted. Example of handling: >>> import secretstorage >>> bus = secretstorage.dbus_init() >>> item_path = '/not/existing/path' >>> try: ... item = secretstorage.Item(bus, item_path) ... except secretstorage.ItemNotFoundException: ... print('Item not found!') ... Item not found! Also, :func:`~secretstorage.collection.create_collection` may raise this exception when a prompt was dismissed during creating the collection. """