Skip to content

Commit c155d15

Browse files
committed
Get files ready for 0.3 release
1 parent cf0c9e6 commit c155d15

File tree

5 files changed

+141
-3
lines changed

5 files changed

+141
-3
lines changed

ChangeLog

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,129 @@
1+
2015-10-07 Arthur de Jong <[email protected]>
2+
3+
* [cf0c9e6] README, docs/conf.py, docs/encryption.rst,
4+
docs/exceptions.rst, docs/mac.rst, docs/policy.rst, docs/usage.rst,
5+
pskc/__init__.py: Update documentation
6+
7+
This updates the documentation with the new features (writing PSKC
8+
files) as well as many editorial improvements, some rewording
9+
and a few typo fixes. Some things were moved around a little in
10+
order to be more easily readable and easier to find.
11+
12+
2015-10-06 Arthur de Jong <[email protected]>
13+
14+
* [671b6e2] pskc/__init__.py, pskc/crypto/aeskw.py,
15+
pskc/crypto/tripledeskw.py, pskc/encryption.py, pskc/key.py,
16+
pskc/policy.py, pskc/xml.py, setup.py, tests/test_aeskw.doctest,
17+
tests/test_draft_keyprov.doctest, tests/test_encryption.doctest,
18+
tests/test_invalid.doctest, tests/test_misc.doctest,
19+
tests/test_rfc6030.doctest, tests/test_tripledeskw.doctest,
20+
tests/test_write.doctest: Support Python 3
21+
22+
This enables support for Python 3 together with Python 2 support
23+
with a single codebase.
24+
25+
On Python 3 key data is passed around as bytestrings which makes
26+
the doctests a little harder to maintain across Python versions.
27+
28+
2015-10-06 Arthur de Jong <[email protected]>
29+
30+
* [68b20e2] pskc/encryption.py, pskc/xml.py,
31+
tests/SampleFullyQualifiedNS.xml, tests/test_misc.doctest:
32+
Fix issue with namespaced PBKDF2 parameters
33+
34+
The find() utility functions now allow specifying multiple paths
35+
to be searched where the first match is returned.
36+
37+
This allows handling PSKC files where the PBKDF2 salt, iteration
38+
count, key length and PRF elements are prefixed with the xenc11
39+
namespace.
40+
41+
A test including such a PSKC file has been included.
42+
43+
Thanks to Eric Plet for reporting this.
44+
45+
2014-10-12 Arthur de Jong <[email protected]>
46+
47+
* [ebe46f2] pskc2csv.py: Provide a sample pskc2csv script
48+
49+
This is a simple command-line utility that reads a PSKC file
50+
and outputs information on keys as CSV.
51+
52+
2014-06-30 Arthur de Jong <[email protected]>
53+
54+
* [1363564] pskc/aeskw.py, pskc/crypto/__init__.py,
55+
pskc/crypto/aeskw.py, pskc/crypto/tripledeskw.py,
56+
pskc/encryption.py, pskc/tripledeskw.py, tests/test_aeskw.doctest,
57+
tests/test_tripledeskw.doctest: Move encryption functions in
58+
pskc.crypto package
59+
60+
This moves the encryption functions under the pskc.crypto package
61+
to more clearly separate it from the other code. Ideally this
62+
should be replaced by third-party library code.
63+
64+
2014-06-30 Arthur de Jong <[email protected]>
65+
66+
* [e468ebe] pskc/__init__.py, pskc/encryption.py, pskc/key.py,
67+
pskc/mac.py, pskc/parse.py, pskc/policy.py, pskc/xml.py: Rename
68+
pskc.parse to pskc.xml
69+
70+
This renames the parse module to xml to better reflect the
71+
purpose of the module and it's functions.
72+
73+
This also introduces a parse() function that wraps etree.parse().
74+
75+
2014-06-28 Arthur de Jong <[email protected]>
76+
77+
* [480e2d0] : Support writing unencrypted PSKC files
78+
79+
2014-06-27 Arthur de Jong <[email protected]>
80+
81+
* [37dc64a] tests/test_write.doctest: Add test for writing PSKC files
82+
83+
This makes a simple doctest that checks the writing of the XML
84+
representation of the PSKC data.
85+
86+
2014-06-27 Arthur de Jong <[email protected]>
87+
88+
* [865a755] pskc/__init__.py, pskc/parse.py: Add function for
89+
writing XML
90+
91+
This provides a function for pretty-printing the generated
92+
XML document.
93+
94+
2014-06-27 Arthur de Jong <[email protected]>
95+
96+
* [61a192f] pskc/__init__.py, pskc/key.py, pskc/policy.py: Construct
97+
XML document with basic PKSC information
98+
99+
This introduces make_xml() functions to build an XML document
100+
that contains the basic PSKC information and keys. This currently
101+
only supports writing unencrypted PSKC files.
102+
103+
2014-06-27 Arthur de Jong <[email protected]>
104+
105+
* [69aec9f] pskc/parse.py: Introduce mk_elem() to create elements
106+
107+
This introduces the mk_elem() function that can be used to create
108+
ElementTree elements for building XML documents. This function
109+
transparetly handles namespaces, translation of values into
110+
XML etc.
111+
112+
2014-06-27 Arthur de Jong <[email protected]>
113+
114+
* [7591271] pskc/key.py: Simplify DataType value handling
115+
116+
Only store the native value of the property, not the text
117+
representation. This also results in the BinaryDataType and
118+
IntegerDataType subclasses only needing from_text() and from_bin()
119+
functions.
120+
121+
2014-06-19 Arthur de Jong <[email protected]>
122+
123+
* [09eb6b3] ChangeLog, NEWS, docs/changes.rst, docs/index.rst,
124+
docs/usage.rst, pskc/__init__.py, setup.py: Get files ready for
125+
0.2 release
126+
1127
2014-06-19 Arthur de Jong <[email protected]>
2128

3129
* [62c9af4] pskc/__init__.py: Only catch normal exceptions

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include README NEWS ChangeLog COPYING *.py
2-
recursive-include tests *.doctest *.py *.pskcxml
2+
recursive-include tests *.doctest *.py *.pskcxml *.xml
33
recursive-include docs *.rst *.py

NEWS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
changes from 0.2 to 0.3
2+
-----------------------
3+
4+
* support writing unencrypted PSKC files
5+
* include a sample pskc2csv script in the source code
6+
* fix an issue with XML namespaces for PBKDF2 parameters
7+
* support Python 3
8+
* update documentation
9+
10+
111
changes from 0.1 to 0.2
212
-----------------------
313

pskc/__init__.py

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

4646

4747
# the version number of the library
48-
__version__ = '0.2'
48+
__version__ = '0.3'
4949

5050

5151
class PSKC(object):

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@
3939
long_description=pskc.__doc__,
4040
author='Arthur de Jong',
4141
author_email='[email protected]',
42+
keywords=['PSKC', 'RFC 6030', 'key container'],
4243
url='http://arthurdejong.org/python-pskc/',
4344
license='LGPL',
4445
classifiers=[
4546
'Development Status :: 4 - Beta',
4647
'Intended Audience :: Developers',
48+
'Intended Audience :: Information Technology',
4749
'Intended Audience :: System Administrators',
48-
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
50+
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
4951
'Operating System :: OS Independent',
5052
'Programming Language :: Python',
5153
'Programming Language :: Python :: 2',

0 commit comments

Comments
 (0)