ConfigTools & Encription manager

This commit is contained in:
2026-02-19 00:55:27 +02:00
parent f8d45d156b
commit 0b1cd52df1
203 changed files with 18643 additions and 0 deletions

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,109 @@
Metadata-Version: 2.4
Name: SecretStorage
Version: 3.5.0
Summary: Python bindings to FreeDesktop.org Secret Service API
Author-email: Dmitry Shachnev <mitya57@gmail.com>
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/mitya57/secretstorage
Project-URL: Documentation, https://secretstorage.readthedocs.io/en/latest/
Project-URL: Issue Tracker, https://github.com/mitya57/secretstorage/issues/
Platform: Linux
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: cryptography>=2.0
Requires-Dist: jeepney>=0.6
Dynamic: license-file
.. image:: https://github.com/mitya57/secretstorage/workflows/tests/badge.svg
:target: https://github.com/mitya57/secretstorage/actions
:alt: GitHub Actions status
.. image:: https://codecov.io/gh/mitya57/secretstorage/branch/master/graph/badge.svg
:target: https://codecov.io/gh/mitya57/secretstorage
:alt: Coverage status
.. image:: https://readthedocs.org/projects/secretstorage/badge/?version=latest
:target: https://secretstorage.readthedocs.io/en/latest/
:alt: ReadTheDocs status
Module description
==================
This module provides a way for securely storing passwords and other secrets.
It uses D-Bus `Secret Service`_ API that is supported by GNOME Keyring,
KWallet (since version 5.97) and KeePassXC.
The main classes provided are ``secretstorage.Item``, representing a secret
item (that has a *label*, a *secret* and some *attributes*) and
``secretstorage.Collection``, a place items are stored in.
SecretStorage supports most of the functions provided by Secret Service,
including creating and deleting items and collections, editing items,
locking and unlocking collections.
The documentation can be found on `secretstorage.readthedocs.io`_.
.. _`Secret Service`: https://specifications.freedesktop.org/secret-service/
.. _`secretstorage.readthedocs.io`: https://secretstorage.readthedocs.io/en/latest/
Building the module
===================
SecretStorage requires Python ≥ 3.10 and these packages to work:
* Jeepney_
* `python-cryptography`_
To build SecretStorage, use this command::
python3 -m build
If you have Sphinx_ installed, you can also build the documentation::
python3 -m sphinx docs build/sphinx/html
.. _Jeepney: https://pypi.org/project/jeepney/
.. _`python-cryptography`: https://pypi.org/project/cryptography/
.. _Sphinx: https://www.sphinx-doc.org/en/master/
Testing the module
==================
First, make sure that you have the Secret Service daemon installed.
The `GNOME Keyring`_ is the reference server-side implementation for the
Secret Service specification.
.. _`GNOME Keyring`: https://download.gnome.org/sources/gnome-keyring/
Then, start the daemon and unlock the ``default`` collection, if needed.
The testsuite will fail to run if the ``default`` collection exists and is
locked. If it does not exist, the testsuite can also use the temporary
``session`` collection, as provided by the GNOME Keyring.
Then, run the Python unittest module::
python3 -m unittest discover -s tests
If you want to run the tests in an isolated or headless environment, run
this command in a D-Bus session::
dbus-run-session -- python3 -m unittest discover -s tests
Get the code
============
SecretStorage is available under BSD license. The source code can be found
on GitHub_.
.. _GitHub: https://github.com/mitya57/secretstorage

View File

@@ -0,0 +1,21 @@
secretstorage-3.5.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
secretstorage-3.5.0.dist-info/METADATA,sha256=uY49xC_36bG6zOYNrCZizZll-tbkRp_JSDyeuZmYw2c,3974
secretstorage-3.5.0.dist-info/RECORD,,
secretstorage-3.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
secretstorage-3.5.0.dist-info/licenses/LICENSE,sha256=5wA1dZK7k3BMsEDOSmZjqFKScWpAQbaiZ_WY8hZYRm8,1504
secretstorage-3.5.0.dist-info/top_level.txt,sha256=hveSi1OWGaEt3kEVbjmZ0M-ASPxi6y-nTPVa-d3c0B4,14
secretstorage/__init__.py,sha256=_Y34co2i9G-0ljfDUZE2CdLMYa1HV8jQRc6Xtrf-dEQ,3402
secretstorage/__pycache__/__init__.cpython-314.pyc,,
secretstorage/__pycache__/collection.cpython-314.pyc,,
secretstorage/__pycache__/defines.cpython-314.pyc,,
secretstorage/__pycache__/dhcrypto.cpython-314.pyc,,
secretstorage/__pycache__/exceptions.cpython-314.pyc,,
secretstorage/__pycache__/item.cpython-314.pyc,,
secretstorage/__pycache__/util.cpython-314.pyc,,
secretstorage/collection.py,sha256=5g-aqHnPbHoaX41J839oaRFaUd8Mr4Bf7KSatfCykoo,9829
secretstorage/defines.py,sha256=OacsZ_i7F7E-BBqKOdSTBJJUmPB7CHRNLgNjIQnjVM0,872
secretstorage/dhcrypto.py,sha256=VdTb-rxwJcOlsWFT4a0vrFudDMdhgasTSD4qTr3bHn8,2274
secretstorage/exceptions.py,sha256=1uUZXTua4jRZf4PKDIT2SVWcSKP2lP97s8r3eJZudio,1655
secretstorage/item.py,sha256=b7FlGcWEmDC1zfECiM55rJ1we2h684NsVZkWUmV_zDc,6150
secretstorage/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
secretstorage/util.py,sha256=J_tZYXJTVv75ESFuvKYjltidNrt7fbRBhwM0C08qbLg,7487

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (80.9.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,25 @@
Copyright 2012-2025 Dmitry Shachnev <mitya57@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1 @@
secretstorage