Skip to content

Commit 619ad62

Browse files
committed
Get files ready for 1.1 release
1 parent 21323a0 commit 619ad62

5 files changed

Lines changed: 212 additions & 5 deletions

File tree

ChangeLog

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,195 @@
1+
2019-02-10 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [21323a0] .travis.yml, setup.py: Add Python 3.7 in Travis and
4+
reduce build matrix
5+
6+
This runs the signxml flavour on all Python versions and only
7+
runs all other flavours on Python 2.6 and 3.6.
8+
9+
2019-02-10 Arthur de Jong <arthur@arthurdejong.org>
10+
11+
* [c2abbec] setup.cfg: Make the multi-line operator place explicit
12+
13+
Recent versions of flake8 changed the defaults of the errors
14+
to ignore.
15+
16+
2018-07-30 Arthur de Jong <arthur@arthurdejong.org>
17+
18+
* [5e93d32] pskc/crypto/aeskw.py: Ignore more flake8 messages
19+
20+
2018-05-21 Arthur de Jong <arthur@arthurdejong.org>
21+
22+
* [f4b2559] docs/index.rst, docs/scripts.rst: Add links to script
23+
documentation
24+
25+
2018-04-21 Arthur de Jong <arthur@arthurdejong.org>
26+
27+
* [610f7cd] : Implement csv2pcks script
28+
29+
2018-04-19 Arthur de Jong <arthur@arthurdejong.org>
30+
31+
* [7bbaac3] docs/csv2pskc.rst, pskc/scripts/csv2pskc.py,
32+
tests/test_csv2pskc.doctest: Add --skip-columns option
33+
34+
This option can be used to skip a number of rows in the CSV file
35+
before the key data is read. If the number of rows to skip is 0,
36+
the column interpretation should be provided using the --columns
37+
option.
38+
39+
2018-04-05 Arthur de Jong <arthur@arthurdejong.org>
40+
41+
* [88002fc] docs/csv2pskc.rst, pskc/scripts/csv2pskc.py,
42+
tests/test_csv2pskc.doctest: Add --set option
43+
44+
This option can be used to set key properties for all keys in
45+
the PSKC file.
46+
47+
2018-04-05 Arthur de Jong <arthur@arthurdejong.org>
48+
49+
* [e91e498] docs/csv2pskc.rst, pskc/scripts/csv2pskc.py,
50+
tests/test_csv2pskc.doctest: Add --columns option
51+
52+
This option can be used to override the list of columns as found
53+
in the first line of the CSV file or provide a mapping for values
54+
found in the first line to PSKC properties.
55+
56+
2018-03-31 Arthur de Jong <arthur@arthurdejong.org>
57+
58+
* [c652eee] csv2pskc.py, docs/conf.py, docs/csv2pskc.rst,
59+
pskc/scripts/csv2pskc.py, setup.py, tests/test_csv2pskc.doctest:
60+
Add a csv2pskc script for CSV to PSKC conversion
61+
62+
This script reads a CSV file and writes out a PSKC file with the
63+
key information from the CSV file. The CSV file is expected to
64+
have one row for each key and key property values in columns.
65+
66+
2018-04-02 Arthur de Jong <arthur@arthurdejong.org>
67+
68+
* [ce96e69] pskc/scripts/__init__.py, pskc/scripts/pskc2csv.py,
69+
pskc/scripts/pskc2pskc.py, pskc/scripts/util.py, pskc2csv.py,
70+
pskc2pskc.py, setup.cfg, setup.py, tests/test_pskc2csv.doctest,
71+
tests/test_pskc2pskc.doctest, tox.ini: Ship the script as part
72+
of the pskc package
73+
74+
This also installs pskc2csv and pskc2pskc console script entry
75+
points as part of the package installation.
76+
77+
2018-03-03 Arthur de Jong <arthur@arthurdejong.org>
78+
79+
* [7a56eac] pskc/__init__.py, pskc/device.py,
80+
tests/test_misc.doctest: Support setting key sub-properties
81+
via add_key()
82+
83+
2018-03-11 Arthur de Jong <arthur@arthurdejong.org>
84+
85+
* [e6f2dd4] pskc/encryption.py, tests/test_encryption.doctest,
86+
tests/test_pskc2pskc.doctest, tests/test_write.doctest: Increase
87+
default PBKDF2 iterations to 100000
88+
89+
2018-02-21 Arthur de Jong <arthur@arthurdejong.org>
90+
91+
* [9026e1c] setup.cfg: Support building a universal wheel
92+
93+
2018-02-15 Arthur de Jong <arthur@arthurdejong.org>
94+
95+
* [b3e7fe7] pskc/__init__.py, pskc/crypto/aeskw.py,
96+
pskc/device.py, pskc/encryption.py, pskc/key.py, pskc/parser.py,
97+
pskc/serialiser.py, pskc/signature.py, setup.cfg: Add and
98+
cleanup docstrings
99+
100+
This adds docstrings to public methods and cleans up a few other
101+
docstrings to pass most flake8 docstring related tests.
102+
103+
This also adds noqa statements in a few places so we can remove
104+
most entries from the global flake8 ignore list.
105+
106+
2018-02-10 Arthur de Jong <arthur@arthurdejong.org>
107+
108+
* [03ee35d] docs/conf.py, docs/pskc2pskc.rst, pskc2pskc.py,
109+
setup.cfg, tests/test_pskc2pskc.doctest: Add a pskc2pskc script
110+
for converting PSKC files
111+
112+
This script reads a PSKC file in any supported format and writes
113+
out a RFC 6030 compliant version of the file, optionally with
114+
the encryption removed or (re-)encrypting the file with a new key.
115+
116+
2018-02-08 Arthur de Jong <arthur@arthurdejong.org>
117+
118+
* [924e1f3] pskc/serialiser.py, tests/test_write.doctest: Correctly
119+
write a PSKC file without a MAC key
120+
121+
In some cases a PSKC file can be written with a MAC algorithm
122+
but without a MAC key. This is possible when the MAC key is not
123+
supplied (allowed in older PSKC versions) and a fallback to the
124+
encryption key is done. If we have not yet decrypted the file
125+
the MAC key is not yet available and so can't be included in
126+
the written file.
127+
128+
2018-02-04 Arthur de Jong <arthur@arthurdejong.org>
129+
130+
* [be2b49f] pskc/encryption.py, pskc/serialiser.py,
131+
tests/test_write.doctest: Correctly write a PSKC file with a
132+
global IV
133+
134+
This ensures that the encryption IV, which should be per encrypted
135+
value is written out per encrypted value instead of globally. This
136+
is mostly useful for when reading an old format PSKC file and
137+
writing out a RFC 6030 compliant one.
138+
139+
2018-02-07 Arthur de Jong <arthur@arthurdejong.org>
140+
141+
* [e60d7f3] pskc/mac.py, pskc/parser.py, pskc/serialiser.py:
142+
Also use EncryptedValue for MAC key
143+
144+
This ensures that an encrypted MAC key is hanled in the same
145+
way as normal encrypted data values.
146+
147+
This also ensures consistent fallback to the globally
148+
configured encryption algorithm if no value has been set in
149+
the EncryptedValue.
150+
151+
2018-01-31 Arthur de Jong <arthur@arthurdejong.org>
152+
153+
* [8054c6e] pskc/serialiser.py: Always output a PSKC 1.0 format file
154+
155+
This ignores the value of the version attribute in the PSKC
156+
object and always writes a PSKC 1.0 (RFC 6030) format file.
157+
158+
2018-01-31 Arthur de Jong <arthur@arthurdejong.org>
159+
160+
* [97faa13] docs/encryption.rst, pskc/encryption.py,
161+
tests/test_encryption.doctest, tests/test_write.doctest: Implement
162+
removing encryption
163+
164+
This adds a function to decrypt all values and remove the
165+
encryption of an encrypted PSKC file.
166+
167+
2018-02-08 Arthur de Jong <arthur@arthurdejong.org>
168+
169+
* [2698657] .travis.yml: Add a Travis configuration file
170+
171+
2018-02-04 Arthur de Jong <arthur@arthurdejong.org>
172+
173+
* [82fa3bd] pskc/encryption.py, pskc/serialiser.py, pskc2csv.py:
174+
Fix code style issues
175+
176+
Fixes 1ff3237f, 84bfb8a6 and 20bf9c5
177+
178+
2017-12-29 Arthur de Jong <arthur@arthurdejong.org>
179+
180+
* [2693495] tests/test_misc.doctest, tests/test_pskc2csv.doctest,
181+
tox.ini: Fixes to test suite
182+
183+
This ensures that the tests also work without a TTY and work
184+
regardless of the PYTHONWARNINGS and TZ environment variables
185+
186+
Fixes cd33833
187+
188+
2017-12-29 Arthur de Jong <arthur@arthurdejong.org>
189+
190+
* [fe63c42] ChangeLog, MANIFEST.in, NEWS, pskc/__init__.py,
191+
setup.py: Get files ready for 1.0 release
192+
1193
2017-12-29 Arthur de Jong <arthur@arthurdejong.org>
2194

3195
* [2651e80] tests/test_write.doctest: Not all XML serialisers

NEWS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
changes from 1.0 to 1.1
2+
-----------------------
3+
4+
* portability fixes for test suite
5+
* add a remove_encryption() function
6+
* always write a 1.0 PSKC version, even when another version was read
7+
* correctly write a PSKC file with a global IV
8+
* correctly write a PSKC file without a MAC key
9+
* add a pskc2pskc script for converting a legacy PSKC file to a RFC 6030
10+
compliant version and for adding or removing encryption
11+
* add a csv2pskc script for generating a PSKC file from a CSV file
12+
* make all the scripts (pskc2csv, pskc2pskc and csv2pskc) entry points so
13+
they are available on package installation
14+
15+
116
changes from 0.5 to 1.0
217
-----------------------
318

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-2017 Arthur de Jong
58+
Copyright (C) 2014-2019 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
# General information about the project.
4848
project = u'python-pskc'
49-
copyright = u'2014-2017 Arthur de Jong'
49+
copyright = u'2014-2019 Arthur de Jong'
5050

5151
# The version info for the project you're documenting, acts as replacement for
5252
# |version| and |release|, also used in various other places throughout the
@@ -172,7 +172,7 @@
172172
#html_file_suffix = None
173173

174174
# Suffix for generated links to HTML files.
175-
html_link_suffix = ''
175+
#html_link_suffix = ''
176176

177177
# Output file base name for HTML help builder.
178178
htmlhelp_basename = 'python-pskcdoc'

pskc/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# __init__.py - main module
22
# coding: utf-8
33
#
4-
# Copyright (C) 2014-2017 Arthur de Jong
4+
# Copyright (C) 2014-2019 Arthur de Jong
55
#
66
# This library is free software; you can redistribute it and/or
77
# modify it under the terms of the GNU Lesser General Public
@@ -54,7 +54,7 @@
5454

5555

5656
# the version number of the library
57-
__version__ = '1.0'
57+
__version__ = '1.1'
5858

5959

6060
class PSKC(object):

0 commit comments

Comments
 (0)