sigillum 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sigillum/__init__.py +3 -0
- sigillum/__main__.py +19 -0
- sigillum/cli.py +1042 -0
- sigillum/core/__init__.py +2 -0
- sigillum/core/credentials.py +319 -0
- sigillum/core/crypto.py +328 -0
- sigillum/core/detection.py +320 -0
- sigillum/core/lt.py +386 -0
- sigillum/core/pades_lt.py +313 -0
- sigillum/core/settings.py +258 -0
- sigillum/core/signer.py +398 -0
- sigillum/core/timestamp.py +231 -0
- sigillum/core/tsa.py +27 -0
- sigillum/core/tsl.py +551 -0
- sigillum/core/verifier.py +521 -0
- sigillum/core/xades_lt.py +123 -0
- sigillum/gui/__init__.py +2 -0
- sigillum/gui/app.py +3119 -0
- sigillum/gui/signature_picker.py +273 -0
- sigillum/i18n.py +51 -0
- sigillum-0.2.0.dist-info/METADATA +351 -0
- sigillum-0.2.0.dist-info/RECORD +25 -0
- sigillum-0.2.0.dist-info/WHEEL +4 -0
- sigillum-0.2.0.dist-info/entry_points.txt +2 -0
- sigillum-0.2.0.dist-info/licenses/LICENSE +674 -0
sigillum/__init__.py
ADDED
sigillum/__main__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
# Copyright (C) 2026 Danilo Abbasciano <danilo@piumalab.org>
|
|
3
|
+
"""Entry point: dispatches between CLI subcommands and the GTK GUI.
|
|
4
|
+
|
|
5
|
+
`sigillum` → GUI (legacy default)
|
|
6
|
+
`sigillum <subcommand> ...` → CLI subcommand (see `sigillum --help`)
|
|
7
|
+
"""
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def main() -> int:
|
|
14
|
+
from sigillum.cli import main as cli_main
|
|
15
|
+
return cli_main(sys.argv[1:])
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
if __name__ == "__main__":
|
|
19
|
+
raise SystemExit(main())
|