puantum 10.0.0.0__tar.gz → 11.0.0.0__tar.gz
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.
- puantum-11.0.0.0/.github/workflows/publish.yml +127 -0
- puantum-11.0.0.0/.readthedocs.yaml +22 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/Makefile +13 -13
- {puantum-10.0.0.0 → puantum-11.0.0.0}/PKG-INFO +1 -1
- {puantum-10.0.0.0/puantum → puantum-11.0.0.0/puantum/classic}/__init__.pyi +1 -1
- puantum-11.0.0.0/puantum/quantum/__init__.py +1 -0
- {puantum-10.0.0.0/puantum/classic → puantum-11.0.0.0/puantum/quantum}/__init__.pyi +1 -1
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/dsa/__init__.pyi +5 -5
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/dsa/__internal__.pyi +388 -388
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/kem/__init__.pyi +5 -5
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/kem/__internal__.pyi +363 -363
- {puantum-10.0.0.0 → puantum-11.0.0.0}/pyproject.toml +1 -1
- puantum-11.0.0.0/security.md +21 -0
- puantum-10.0.0.0/.github/workflows/publish.yml +0 -114
- puantum-10.0.0.0/README.md +0 -82
- puantum-10.0.0.0/puantum/quantum/__init__.pyi +0 -1
- {puantum-10.0.0.0 → puantum-11.0.0.0}/.gitignore +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/Cargo.lock +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/Cargo.toml +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/LICENSE +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/__init__.py +0 -0
- /puantum-10.0.0.0/puantum/quantum/__init__.py → /puantum-11.0.0.0/puantum/__init__.pyi +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/classic/__init__.py +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/dsa/__init__.py +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/dsa/__internal__.py +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/kem/__init__.py +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/puantum/quantum/kem/__internal__.py +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/readme.md +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/rust/cryptography/classic/mod.rs +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/rust/cryptography/mod.rs +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/rust/cryptography/quantum/binding.rs +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/rust/cryptography/quantum/mod.rs +0 -0
- {puantum-10.0.0.0 → puantum-11.0.0.0}/rust/python.rs +0 -0
@@ -0,0 +1,127 @@
|
|
1
|
+
# GitHub Workflow
|
2
|
+
|
3
|
+
name: GitHub Workflow
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches:
|
8
|
+
- main
|
9
|
+
|
10
|
+
permissions:
|
11
|
+
id-token: write
|
12
|
+
contents: write
|
13
|
+
attestations: write
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
linux:
|
17
|
+
runs-on: ubuntu-latest
|
18
|
+
strategy:
|
19
|
+
matrix:
|
20
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
21
|
+
#
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@v4
|
24
|
+
- uses: actions/setup-python@v5
|
25
|
+
with:
|
26
|
+
python-version: ${{ matrix.python-version }}
|
27
|
+
#
|
28
|
+
- name: Maturin build
|
29
|
+
uses: PyO3/maturin-action@v1
|
30
|
+
with:
|
31
|
+
command: build
|
32
|
+
args: --release --out pypi --find-interpreter
|
33
|
+
#
|
34
|
+
- name: Upload
|
35
|
+
uses: actions/upload-artifact@v4
|
36
|
+
with:
|
37
|
+
name: wheels-linux-py${{ matrix.python-version }}
|
38
|
+
path: pypi
|
39
|
+
#
|
40
|
+
windows:
|
41
|
+
runs-on: windows-latest
|
42
|
+
strategy:
|
43
|
+
matrix:
|
44
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
45
|
+
#
|
46
|
+
steps:
|
47
|
+
- uses: actions/checkout@v4
|
48
|
+
- uses: actions/setup-python@v5
|
49
|
+
with:
|
50
|
+
python-version: ${{ matrix.python-version }}
|
51
|
+
#
|
52
|
+
- name: Maturin build
|
53
|
+
uses: PyO3/maturin-action@v1
|
54
|
+
with:
|
55
|
+
command: build
|
56
|
+
args: --release --out pypi --find-interpreter
|
57
|
+
#
|
58
|
+
- name: Upload
|
59
|
+
uses: actions/upload-artifact@v4
|
60
|
+
with:
|
61
|
+
name: wheels-windows-py${{ matrix.python-version }}
|
62
|
+
path: pypi
|
63
|
+
#
|
64
|
+
macos:
|
65
|
+
runs-on: macos-latest
|
66
|
+
strategy:
|
67
|
+
matrix:
|
68
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
69
|
+
#
|
70
|
+
steps:
|
71
|
+
- uses: actions/checkout@v4
|
72
|
+
- uses: actions/setup-python@v5
|
73
|
+
with:
|
74
|
+
python-version: ${{ matrix.python-version }}
|
75
|
+
#
|
76
|
+
- name: Maturin build
|
77
|
+
uses: PyO3/maturin-action@v1
|
78
|
+
with:
|
79
|
+
command: build
|
80
|
+
args: --release --out pypi --find-interpreter
|
81
|
+
#
|
82
|
+
- name: Upload
|
83
|
+
uses: actions/upload-artifact@v4
|
84
|
+
with:
|
85
|
+
name: wheels-macos-py${{ matrix.python-version }}
|
86
|
+
path: pypi
|
87
|
+
sdist:
|
88
|
+
runs-on: ubuntu-latest
|
89
|
+
steps:
|
90
|
+
- uses: actions/checkout@v4
|
91
|
+
#
|
92
|
+
- name: Maturin sdist
|
93
|
+
uses: PyO3/maturin-action@v1
|
94
|
+
with:
|
95
|
+
command: sdist
|
96
|
+
args: --out pypi
|
97
|
+
#
|
98
|
+
- name: Upload
|
99
|
+
uses: actions/upload-artifact@v4
|
100
|
+
with:
|
101
|
+
name: wheels-sdist
|
102
|
+
path: pypi
|
103
|
+
release:
|
104
|
+
name: Release
|
105
|
+
runs-on: ubuntu-latest
|
106
|
+
needs:
|
107
|
+
- linux
|
108
|
+
- windows
|
109
|
+
- macos
|
110
|
+
- sdist
|
111
|
+
steps:
|
112
|
+
- uses: actions/download-artifact@v4
|
113
|
+
with:
|
114
|
+
path: artifacts
|
115
|
+
- name: List downloaded artifacts
|
116
|
+
run: ls -R artifacts
|
117
|
+
- name: Generate artifact attestation
|
118
|
+
uses: actions/attest-build-provenance@v2
|
119
|
+
with:
|
120
|
+
subject-path: 'artifacts/wheels-*/*'
|
121
|
+
- name: Publish to PyPI
|
122
|
+
uses: PyO3/maturin-action@v1
|
123
|
+
env:
|
124
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
125
|
+
with:
|
126
|
+
command: upload
|
127
|
+
args: --non-interactive --skip-existing artifacts/wheels-*/*
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Read the Docs configuration file
|
2
|
+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
3
|
+
|
4
|
+
# Required
|
5
|
+
version: 2
|
6
|
+
|
7
|
+
# Set the OS, Python version, and other tools you might need
|
8
|
+
build:
|
9
|
+
os: ubuntu-24.04
|
10
|
+
tools:
|
11
|
+
python: "3.13"
|
12
|
+
|
13
|
+
# Build documentation in the "docs/" directory with Sphinx
|
14
|
+
sphinx:
|
15
|
+
configuration: docs/conf.py
|
16
|
+
|
17
|
+
# Optionally, but recommended,
|
18
|
+
# declare the Python requirements required to build your documentation
|
19
|
+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
|
20
|
+
# python:
|
21
|
+
# install:
|
22
|
+
# - requirements: docs/requirements.txt
|
@@ -1,13 +1,13 @@
|
|
1
|
-
all: release
|
2
|
-
|
3
|
-
clean:
|
4
|
-
cargo clean
|
5
|
-
|
6
|
-
release: clean
|
7
|
-
cargo build --release
|
8
|
-
|
9
|
-
python: clean
|
10
|
-
maturin build --release
|
11
|
-
|
12
|
-
pypi: clean
|
13
|
-
maturin build --release --sdist
|
1
|
+
all: release
|
2
|
+
|
3
|
+
clean:
|
4
|
+
cargo clean
|
5
|
+
|
6
|
+
release: clean
|
7
|
+
cargo build --release
|
8
|
+
|
9
|
+
python: clean
|
10
|
+
maturin build --release
|
11
|
+
|
12
|
+
pypi: clean
|
13
|
+
maturin build --release --sdist
|
@@ -1 +1 @@
|
|
1
|
-
# EMPTY
|
1
|
+
# EMPTY
|
@@ -0,0 +1 @@
|
|
1
|
+
# EMPTY
|
@@ -1 +1 @@
|
|
1
|
-
# EMPTY
|
1
|
+
# EMPTY
|
@@ -1,5 +1,5 @@
|
|
1
|
-
# IMPORT
|
2
|
-
from puantum.quantum.dsa.__internal__ import Algorithm, KeyPair
|
3
|
-
|
4
|
-
# MAIN
|
5
|
-
__all__: list[str] = ["Algorithm", "KeyPair"]
|
1
|
+
# IMPORT
|
2
|
+
from puantum.quantum.dsa.__internal__ import Algorithm, KeyPair
|
3
|
+
|
4
|
+
# MAIN
|
5
|
+
__all__: list[str] = ["Algorithm", "KeyPair"]
|