Skip to content

Commit 256ffd8

Browse files
committed
Get files ready for 1.4 release
1 parent 13df371 commit 256ffd8

File tree

5 files changed

+127
-3
lines changed

5 files changed

+127
-3
lines changed

ChangeLog

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,115 @@
1+
2025-12-30 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [c4911d6] .github/workflows/test.yml, setup.py, tox.ini: Add
4+
support for Python 3.14
5+
6+
2025-12-24 Arthur de Jong <arthur@arthurdejong.org>
7+
8+
* [f10acff] docs/encryption.rst, docs/exceptions.rst, docs/mac.rst,
9+
docs/policy.rst, docs/signatures.rst, docs/usage.rst,
10+
pskc/__init__.py, pskc/device.py, pskc/encryption.py,
11+
pskc/exceptions.py, pskc/key.py, pskc/mac.py, pskc/policy.py,
12+
pskc/signature.py, tox.ini: Include type information in
13+
documentation
14+
15+
This also includes a few other cleanups moving some documentation
16+
to docstrings.
17+
18+
2025-12-24 Arthur de Jong <arthur@arthurdejong.org>
19+
20+
* [02c35e7] .github/workflows/test.yml, pskc/__init__.py,
21+
pskc/algorithms.py, pskc/crypto/__init__.py, pskc/crypto/aeskw.py,
22+
pskc/crypto/tripledeskw.py, pskc/device.py, pskc/encryption.py,
23+
pskc/exceptions.py, pskc/key.py, pskc/mac.py, pskc/parser.py,
24+
pskc/policy.py, pskc/py.typed, pskc/scripts/__init__.py,
25+
pskc/scripts/csv2pskc.py, pskc/scripts/pskc2csv.py,
26+
pskc/scripts/pskc2pskc.py, pskc/scripts/util.py,
27+
pskc/serialiser.py, pskc/signature.py, pskc/xml.py, setup.cfg,
28+
setup.py, tests/test_write.doctest, tox.ini: Introduce type hints
29+
30+
This ensures that the module includes type hints for everything
31+
and also runs mypy from tox.
32+
33+
This minimises the number of functional changes but a few
34+
functions go from using `kwargs` to explicity named argumnets.
35+
36+
2025-12-25 Arthur de Jong <arthur@arthurdejong.org>
37+
38+
* [b6b593c] tests/test_misc.doctest, tests/test_write.doctest:
39+
Fix the tests to set the serial on the device
40+
41+
The serial is a property of the device, not the key.
42+
43+
2025-12-22 Arthur de Jong <arthur@arthurdejong.org>
44+
45+
* [6cec258] pskc/encryption.py, tests/test_misc.doctest: Allow
46+
emptying key list by asigning empty key name
47+
48+
2025-12-22 Arthur de Jong <arthur@arthurdejong.org>
49+
50+
* [4e19e9c] pskc/parser.py, tests/test_signature.doctest: Change
51+
PSKC.signature.certificate from bytes to str
52+
53+
This better matches the types used by the signxml module.
54+
55+
2025-12-17 Arthur de Jong <arthur@arthurdejong.org>
56+
57+
* [df5f2c3] .github/workflows/test.yml: Run flake8 with Python 3.13
58+
59+
Python version 3.14 no longer works.
60+
61+
2025-04-21 Arthur de Jong <arthur@arthurdejong.org>
62+
63+
* [91610fa] .github/workflows/test.yml, setup.py, tox.ini: Add
64+
support for Python 3.13
65+
66+
2025-04-21 Arthur de Jong <arthur@arthurdejong.org>
67+
68+
* [056f5ab] .github/workflows/test.yml, setup.py, tox.ini: Drop
69+
support for Python 3.6 and 3.7
70+
71+
Sadly GitHub has dropped the ability to run tests with these
72+
versions of Python.
73+
74+
2025-02-06 Arthur de Jong <arthur@arthurdejong.org>
75+
76+
* [cfaae11] pskc/policy.py, tests/test_rfc6030.doctest,
77+
tests/test_write.doctest: Spelling fixes (thanks codespell)
78+
79+
2025-01-01 Arthur de Jong <arthur@arthurdejong.org>
80+
81+
* [ab5bea9] .github/workflows/test.yml, tox.ini: Stop running
82+
lxml-defusedxml combination tests
83+
84+
Fixes 2c50b12
85+
86+
2024-09-08 Arthur de Jong <arthur@arthurdejong.org>
87+
88+
* [2c50b12] pskc/xml.py, tox.ini: No longer use defusedxml with lxml
89+
90+
The lxml parser uses libxml2 which guards against the
91+
vulnerabilities defusedxml protects against when using libxml2
92+
2.6 (released 2008) or newer. The lxml support in defusedxml
93+
has been deprecated since release 0.6.0 and is planned to be
94+
removed in 0.8.0.
95+
96+
See
97+
https://github.com/tiran/defusedxml/commit/d1260ab35e53dbb16417f4f6736ab2981f13ddab
98+
See https://github.com/tiran/defusedxml/issues/38
99+
100+
2025-01-01 Arthur de Jong <arthur@arthurdejong.org>
101+
102+
* [78a25b3] .github/workflows/test.yml: Test with PyPy 3.10 to
103+
replace PyPy 3.8
104+
105+
This is needed because the cryptography library has dropped
106+
support for PyPy versions older than 3.9.
107+
108+
2024-09-08 Arthur de Jong <arthur@arthurdejong.org>
109+
110+
* [f5872f9] ChangeLog, NEWS, README, docs/conf.py, pskc/__init__.py:
111+
Get files ready for 1.3 release
112+
1113
2024-09-08 Arthur de Jong <arthur@arthurdejong.org>
2114

3115
* [d790ba4] tests/test_misc.doctest: Remove tests reliance on

NEWS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
changes from 1.3 to 1.4
2+
-----------------------
3+
4+
* drop support for Python 3.6 and 3.7 (support Python 3.8 - 3.14)
5+
* include type hints for mypy
6+
* no longer use defusedxml with lxml because nowadays lxml guards against
7+
everything that defusedxml is for
8+
* PSKC.signature.certificate now has type str instead of bytes but still
9+
supports assigning bytes
10+
* various small fixes and documentation improvements
11+
12+
113
changes from 1.2 to 1.3
214
-----------------------
315

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private key material.
5555
Copyright
5656
---------
5757

58-
Copyright (C) 2014-2024 Arthur de Jong
58+
Copyright (C) 2014-2025 Arthur de Jong
5959

6060
This library is free software; you can redistribute it and/or
6161
modify it under the terms of the GNU Lesser General Public

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
# General information about the project.
4141
project = u'python-pskc'
42-
copyright = u'2014-2024 Arthur de Jong'
42+
copyright = u'2014-2025 Arthur de Jong'
4343

4444
# The version info for the project you're documenting, acts as replacement for
4545
# |version| and |release|, also used in various other places throughout the

pskc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
from pskc.key import Key
6565

6666
# the version number of the library
67-
__version__ = '1.3'
67+
__version__ = '1.4'
6868

6969

7070
class PSKC:

0 commit comments

Comments
 (0)