python-pkcs11 0.9.0__tar.gz → 0.9.2__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.
Files changed (68) hide show
  1. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/workflows/coverage.yml +3 -1
  2. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/workflows/release.yml +2 -2
  3. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/workflows/tests.yml +4 -2
  4. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/PKG-INFO +2 -1
  5. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/_pkcs11.pyx +1 -1
  6. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/attributes.py +2 -0
  7. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pyproject.toml +5 -1
  8. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/python_pkcs11.egg-info/PKG-INFO +2 -1
  9. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/actions/install-opencryptoki/action.yml +0 -0
  10. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/actions/install-softhsm/action.yml +0 -0
  11. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/actions/test-setup/action.yml +0 -0
  12. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/release-template.md +0 -0
  13. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.github/workflows/quality.yml +0 -0
  14. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.gitignore +0 -0
  15. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.python-version +0 -0
  16. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/.readthedocs.yaml +0 -0
  17. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/LICENSE +0 -0
  18. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/MANIFEST.in +0 -0
  19. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/README.rst +0 -0
  20. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/Makefile +0 -0
  21. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/api.rst +0 -0
  22. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/applied.rst +0 -0
  23. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/concurrency.rst +0 -0
  24. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/conf.py +0 -0
  25. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/index.rst +0 -0
  26. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/make.bat +0 -0
  27. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/docs/opensc.rst +0 -0
  28. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/.gitignore +0 -0
  29. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/cryptoki.h +0 -0
  30. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/load_module.c +0 -0
  31. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/load_module.h +0 -0
  32. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/pkcs11.h +0 -0
  33. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/pkcs11f.h +0 -0
  34. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/extern/pkcs11t.h +0 -0
  35. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/__init__.py +0 -0
  36. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/_pkcs11.pxd +0 -0
  37. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/constants.py +0 -0
  38. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/defaults.py +0 -0
  39. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/exceptions.py +0 -0
  40. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/mechanisms.py +0 -0
  41. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/types.py +0 -0
  42. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/util/__init__.py +0 -0
  43. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/util/dh.py +0 -0
  44. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/util/dsa.py +0 -0
  45. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/util/ec.py +0 -0
  46. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/util/rsa.py +0 -0
  47. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/pkcs11/util/x509.py +0 -0
  48. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/python_pkcs11.egg-info/SOURCES.txt +0 -0
  49. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/python_pkcs11.egg-info/dependency_links.txt +0 -0
  50. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/python_pkcs11.egg-info/requires.txt +0 -0
  51. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/python_pkcs11.egg-info/top_level.txt +0 -0
  52. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/setup.cfg +0 -0
  53. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/__init__.py +0 -0
  54. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_aes.py +0 -0
  55. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_des.py +0 -0
  56. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_dh.py +0 -0
  57. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_digest.py +0 -0
  58. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_dsa.py +0 -0
  59. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_ecc.py +0 -0
  60. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_iterators.py +0 -0
  61. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_multilib.py +0 -0
  62. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_public_key_external.py +0 -0
  63. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_rsa.py +0 -0
  64. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_sessions.py +0 -0
  65. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_slots_and_tokens.py +0 -0
  66. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_threading.py +0 -0
  67. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/tests/test_x509.py +0 -0
  68. {python_pkcs11-0.9.0 → python_pkcs11-0.9.2}/uv.lock +0 -0
@@ -1,6 +1,8 @@
1
1
  name: Coverage
2
2
  on:
3
3
  pull_request: {}
4
+ push:
5
+ branches: ["master"]
4
6
  workflow_dispatch: {}
5
7
  env:
6
8
  UV_PYTHON_PREFERENCE: only-system
@@ -80,7 +82,7 @@ jobs:
80
82
  actions: write
81
83
  contents: read
82
84
  runs-on: ubuntu-latest
83
- needs: [pytest-coverage]
85
+ needs: [pytest-coverage,pytest-coverage-multilib]
84
86
  steps:
85
87
  # checkout necessary to ensure the uploaded report contains the correct paths
86
88
  - uses: actions/checkout@v4
@@ -73,13 +73,13 @@ jobs:
73
73
  - ubuntu-latest
74
74
  - ubuntu-24.04-arm
75
75
  - windows-latest
76
- - macos-latest
76
+ - macos-14
77
77
  steps:
78
78
  - uses: actions/checkout@v4
79
79
  - name: Setup Python
80
80
  uses: actions/setup-python@v5
81
81
  - name: Build wheels
82
- uses: pypa/cibuildwheel@v3.0.0
82
+ uses: pypa/cibuildwheel@v3.3.0
83
83
  - uses: actions/upload-artifact@v4
84
84
  with:
85
85
  name: wheels-${{ matrix.os }}-${{ strategy.job-index }}
@@ -20,13 +20,14 @@ jobs:
20
20
  os:
21
21
  - ubuntu-latest
22
22
  - windows-latest
23
- - macos-latest
23
+ - macos-14
24
24
  python-version:
25
25
  - "3.9"
26
26
  - "3.10"
27
27
  - "3.11"
28
28
  - "3.12"
29
29
  - "3.13"
30
+ - "3.14"
30
31
  pkcs11-platform:
31
32
  - softhsm
32
33
  - opencryptoki
@@ -36,7 +37,7 @@ jobs:
36
37
  - pkcs11-platform: opencryptoki
37
38
  os: windows-latest
38
39
  - pkcs11-platform: opencryptoki
39
- os: macos-latest
40
+ os: macos-14
40
41
  steps:
41
42
  - name: Acquire sources
42
43
  uses: actions/checkout@v4
@@ -65,6 +66,7 @@ jobs:
65
66
  - "3.11"
66
67
  - "3.12"
67
68
  - "3.13"
69
+ - "3.14"
68
70
  steps:
69
71
  - name: Acquire sources
70
72
  uses: actions/checkout@v4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-pkcs11
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: PKCS#11 support for Python
5
5
  Author-email: Andrey Kislyuk <kislyuk@gmail.com>, Danielle Madeley <danielle@madeley.id.au>
6
6
  Maintainer-email: Andrey Kislyuk <kislyuk@gmail.com>
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
19
20
  Classifier: Topic :: Security :: Cryptography
20
21
  Requires-Python: >=3.9
21
22
  Description-Content-Type: text/x-rst
@@ -850,7 +850,7 @@ def merge_templates(default_template, *user_templates):
850
850
  cdef class Session(HasFuncList, types.Session):
851
851
  """Extend Session with implementation."""
852
852
 
853
- cdef CK_SESSION_HANDLE handle
853
+ cdef readonly CK_SESSION_HANDLE handle
854
854
  cdef readonly Token token
855
855
  cdef readonly bint rw
856
856
  cdef CK_USER_TYPE _user_type
@@ -89,6 +89,8 @@ ATTRIBUTE_TYPES = {
89
89
  Attribute.VERIFY_RECOVER: handle_bool,
90
90
  Attribute.WRAP: handle_bool,
91
91
  Attribute.WRAP_WITH_TRUSTED: handle_bool,
92
+ Attribute.GOSTR3410_PARAMS: handle_bytes,
93
+ Attribute.GOSTR3411_PARAMS: handle_bytes,
92
94
  }
93
95
  """
94
96
  Map of attributes to (serialize, deserialize) functions.
@@ -21,6 +21,7 @@ classifiers = [
21
21
  "Programming Language :: Python :: 3.11",
22
22
  "Programming Language :: Python :: 3.12",
23
23
  "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
24
25
  "Topic :: Security :: Cryptography",
25
26
  ]
26
27
  dependencies = ["asn1crypto>=1.5.1"]
@@ -55,6 +56,9 @@ ext-modules = [
55
56
  {name = "pkcs11._pkcs11", sources = ["pkcs11/_pkcs11.pyx"]}
56
57
  ]
57
58
 
59
+ [tool.cibuildwheel]
60
+ skip = "cp3??t-*"
61
+
58
62
  [tool.cibuildwheel.linux]
59
63
  archs = ["auto64"]
60
64
 
@@ -119,4 +123,4 @@ dev = [
119
123
  { include-group = "release" },
120
124
  ]
121
125
 
122
- [tool.setuptools_scm]
126
+ [tool.setuptools_scm]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-pkcs11
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: PKCS#11 support for Python
5
5
  Author-email: Andrey Kislyuk <kislyuk@gmail.com>, Danielle Madeley <danielle@madeley.id.au>
6
6
  Maintainer-email: Andrey Kislyuk <kislyuk@gmail.com>
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
19
20
  Classifier: Topic :: Security :: Cryptography
20
21
  Requires-Python: >=3.9
21
22
  Description-Content-Type: text/x-rst
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes