Skip to content

Commit a7b7b60

Browse files
Update README to reflect current status
1 parent 548056a commit a7b7b60

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

README.rst

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ python-pkcs11 also includes numerous utility functions to convert between PKCS
1616
#11 data structures and common interchange formats including PKCS #1 and X.509.
1717

1818
python-pkcs11 is fully documented and has a full integration test suite for all
19-
features, with continuous integration against multiple HSM platforms including:
19+
features.
2020

21-
* Thales nCipher
22-
* Opencryptoki TPM
23-
* OpenSC/Smartcard-HSM/Nitrokey HSM
21+
Historically, this project used to run continuous integration tests against several
22+
HSM platforms, but this test setup has not been maintained over time. Currently,
23+
the integration tests in GitHub Actions use SoftHSMv2 as a baseline. If you would like
24+
to contribute some CI setup with additional PKCS#11 implementations or actual HSMs,
25+
let's chat!
2426

25-
Source: https://github.com/danni/python-pkcs11
27+
Source: https://github.com/pyauth/python-pkcs11
2628

2729
Documentation: http://python-pkcs11.readthedocs.io/en/latest/
2830

@@ -40,7 +42,13 @@ Or build from source:
4042

4143
::
4244

43-
python setup.py build
45+
python -m build .
46+
47+
Or using ``uv``:
48+
49+
::
50+
51+
uv build
4452

4553
Assuming your PKCS#11 library is set as `PKCS11_MODULE` and contains a
4654
token named `DEMO`:
@@ -306,15 +314,14 @@ Tested Compatibility
306314
307315
Python version:
308316

309-
* 3.4 (with `aenum`)
310-
* 3.5 (with `aenum`)
311-
* 3.6
317+
* >= 3.9
312318

313319
PKCS#11 versions:
314320

315321
* 2.11
316322
* 2.20
317323
* 2.40
324+
* 3.1
318325

319326
Feel free to send pull requests for any functionality that's not exposed. The
320327
code is designed to be readable and expose the PKCS #11 spec in a
@@ -339,7 +346,7 @@ License
339346

340347
MIT License
341348

342-
Copyright (c) 2017 Danielle Madeley
349+
Copyright (c) 2017 Danielle Madeley and contributors
343350

344351
Permission is hereby granted, free of charge, to any person obtaining a copy
345352
of this software and associated documentation files (the "Software"), to deal

pkcs11/constants.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
use these classes.
66
"""
77

8-
try:
9-
from enum import IntEnum, IntFlag, unique
10-
except ImportError:
11-
from aenum import IntEnum, IntFlag, unique
8+
from enum import IntEnum, IntFlag, unique
129

1310

1411
DEFAULT = object()

0 commit comments

Comments
 (0)