[Python-modules-commits] [python-pskc] 02/07: New upstream release (1.0)
Arthur de Jong
adejong at moszumanska.debian.org
Sun Dec 31 15:10:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
adejong pushed a commit to branch master
in repository python-pskc.
commit f6eb1f55f23a09c55293f6602d214a46c66857a7
Merge: c26884c 5227f23
Author: Arthur de Jong <adejong at debian.org>
Date: Fri Dec 29 20:53:34 2017 +0100
New upstream release (1.0)
ChangeLog | 359 ++++++
MANIFEST.in | 4 +-
NEWS | 25 +
PKG-INFO | 66 +-
README | 23 +-
debian/.git-dpm | 14 +-
debian/changelog | 29 +
debian/control | 4 +-
...01-Add-file-missing-from-upstream-tarball.patch | 50 -
debian/patches/series | 1 -
docs/conf.py | 14 +-
docs/encryption.rst | 46 +-
docs/exceptions.rst | 3 +
docs/index.rst | 1 +
docs/mac.rst | 42 +-
docs/policy.rst | 2 +-
docs/pskc2csv.rst | 65 ++
docs/signatures.rst | 114 ++
docs/usage.rst | 19 +-
pskc/__init__.py | 5 +-
pskc/algorithms.py | 77 +-
pskc/crypto/__init__.py | 19 +-
pskc/crypto/aeskw.py | 44 +-
pskc/crypto/tripledeskw.py | 51 +-
pskc/encryption.py | 189 ++-
pskc/exceptions.py | 11 +-
pskc/key.py | 174 +--
pskc/mac.py | 62 +-
pskc/parser.py | 180 ++-
pskc/policy.py | 27 +-
pskc/serialiser.py | 109 +-
pskc/signature.py | 137 +++
pskc/xml.py | 89 +-
pskc2csv.py | 63 +-
python_pskc.egg-info/PKG-INFO | 66 +-
python_pskc.egg-info/SOURCES.txt | 39 +-
python_pskc.egg-info/requires.txt | 11 +-
setup.cfg | 8 +-
setup.py | 19 +-
tests/actividentity/{test.pskc => test.pskcxml} | 0
tests/certificate/README | 29 +
tests/certificate/ca-certificate.pem | 20 +
tests/certificate/ca-key.pem | 28 +
tests/certificate/certificate.pem | 18 +
tests/certificate/key.pem | 28 +
tests/certificate/request.pem | 16 +
tests/certificate/ss-certificate.pem | 20 +
.../non-encrypted.pskcxml | 41 +
.../password-encrypted.pskcxml | 45 +
.../non-encrypted.pskcxml | 42 +
.../password-encrypted.pskcxml | 45 +
tests/encryption/camellia128-cbc.pskcxml | 38 +
tests/encryption/camellia192-cbc.pskcxml | 38 +
tests/encryption/camellia256-cbc.pskcxml | 38 +
tests/encryption/kw-camellia128.pskcxml | 29 +
tests/encryption/kw-camellia192.pskcxml | 29 +
tests/encryption/kw-camellia256.pskcxml | 29 +
tests/misc/partialxml.pskcxml | 23 +
tests/multiotp/pskc-hotp-aes.txt | 85 ++
tests/multiotp/pskc-hotp-pbe.txt | 65 ++
tests/multiotp/pskc-totp-aes.txt | 145 +++
tests/multiotp/pskc-totp-pbe.txt | 62 +
tests/multiotp/tokens_hotp_aes.pskc | 80 ++
tests/multiotp/tokens_hotp_pbe.pskc | 62 +
tests/multiotp/tokens_ocra_aes.pskc | 1216 ++++++++++++++++++++
tests/multiotp/tokens_ocra_pbe.pskc | 53 +
tests/multiotp/tokens_totp_aes.pskc | 98 ++
tests/multiotp/tokens_totp_pbe.pskc | 71 ++
tests/rfc6030/figure9.pskcxml | 9 +-
tests/test_actividentity.doctest | 2 +-
tests/test_aeskw.doctest | 8 +-
tests/test_crypto.doctest | 76 --
...eyprov_portable_symmetric_key_container.doctest | 180 +++
tests/test_draft_ietf_keyprov_pskc_02.doctest | 17 +-
tests/test_encryption.doctest | 70 +-
tests/test_invalid.doctest | 12 +-
tests/test_mac.doctest | 129 +++
tests/test_misc.doctest | 29 +-
tests/test_multiotp.doctest | 75 ++
tests/test_pskc2csv.doctest | 185 +++
tests/test_rfc6030.doctest | 27 +-
tests/test_signature.doctest | 219 ++++
tests/test_write.doctest | 50 +-
tests/test_yubico.doctest | 8 +-
tox.ini | 39 +
85 files changed, 5227 insertions(+), 662 deletions(-)
diff --cc debian/.git-dpm
index c278421,0000000..b9c2ff3
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- 6e6cb55a7e2d62c6f182cad6e9083d7854ae218c
- 6e6cb55a7e2d62c6f182cad6e9083d7854ae218c
- 3a94d05401f13478ba73266699efeef462793be3
- 3a94d05401f13478ba73266699efeef462793be3
- python-pskc_0.5.orig.tar.gz
- 9d58ba8b96b1352cee87428dfc6efa08a19e4dd6
- 83663
++5227f23cea2c68d6cafb61db17f4f9eb5637b197
++5227f23cea2c68d6cafb61db17f4f9eb5637b197
++5227f23cea2c68d6cafb61db17f4f9eb5637b197
++5227f23cea2c68d6cafb61db17f4f9eb5637b197
++python-pskc_1.0.orig.tar.gz
++1fc3cc77a71f631a46b989ae6fcd08b3ff086912
++122480
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/changelog
index a86e660,0000000..81bb5e8
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,85 -1,0 +1,114 @@@
++python-pskc (1.0-1) UNRELEASED; urgency=medium
++
++ * New upstream release:
++ - fix a bug in writing passphrase encrypted PSKC files on Python3
++ - fix a typo in the pin_max_failed_attempts attribute (the old name is
++ available as a deprecated property)
++ - switch from pycrypto to cryptography as provider for encryption
++ functions because the latter is better supported
++ - switch to using the PBKDF2 implementation from hashlib which requires
++ Python 2.7.8 or newer
++ - use defusedxml when available (python-pskc now supports both standard
++ xml.etree and lxml with and without defusedxml)
++ - support checking and generating embedded XML signatures (this requires
++ the signxml library which is not required for any other operations)
++ (note that signxml is currently not packaged in Debian)
++ - add limited support for very old draft PSKC versions (it is speculated
++ that this resembles the "Verisign PSKC format" that some applications
++ produce)
++ - support Camellia-CBC and KW-Camellia encryption algorithms
++ - support any hashing algorithm available in Python
++ - add a --secret-encoding option to pskc2csv to allow base64 encoded
++ binary output
++ - support naming the CSV column headers in pskc2csv
++ - add a manual page for pskc2csv
++ - a number of documentation, code style and test suite improvements
++ * Drop patch to add missing file from tarball
++
++ -- Arthur de Jong <adejong at debian.org> Fri, 29 Dec 2017 20:54:43 +0100
++
+python-pskc (0.5-1) unstable; urgency=medium
+
+ * New upstream release:
+ - numerous compatibility improvements for reading PSKC files that do not
+ follow the RFC 6030 schema exactly: specifically accept a number of old
+ Internet Draft specifications that preceded RFC 6030 and support an
+ ActivIdentity file format
+ - split device information from key information (keep old API available)
+ to allow multiple keys per device (this is not allowed by RFC 6030 but
+ was allowed in older Internet Drafts)
+ - accept MAC to be over plaintext in addition to ciphertext
+ - fall back to using encryption key as MAC key
+ - documentation improvements
+ * Add file missing from upstream tarball
+ * Upgrade to standards-version 3.9.8 (no changes needed)
+
+ -- Arthur de Jong <adejong at debian.org> Sat, 21 Jan 2017 22:26:25 +0100
+
+python-pskc (0.4-2) unstable; urgency=medium
+
+ * Add Breaks/Replaces to allow upgrades from older versions
+ (closes: #820025)
+
+ -- Arthur de Jong <adejong at debian.org> Tue, 05 Apr 2016 22:13:26 +0200
+
+python-pskc (0.4-1) unstable; urgency=medium
+
+ * New upstream release:
+ - add support for writing encrypted PSKC files (with either a pre-shared
+ key or PBKDF2 password-based encryption)
+ - extend may_use() policy checking function to check for unknown policy
+ elements and key expiry
+ - add a number of tests for existing vendor PSKC files and have full line
+ coverage with tests
+ - be more lenient in handling a number of XML files (e.g. automatically
+ sanitise encryption algorithm URIs, ignore XML namespaces and support
+ more spellings of some properties)
+ - support reading password or key files in pskc2csv
+ - support Python 3 in the pskc2csv script (thanks Mathias Laurin)
+ - refactoring and clean-ups to be more easily extendible (thanks Mathias
+ Laurin)
+ * Use https in Vcs-Git field (thanks lintian)
+ * Update package description
+ * Add a python-pskc-doc package
+ * Upgrade to standards-version 3.9.7 (no changes needed)
+
+ -- Arthur de Jong <adejong at debian.org> Mon, 28 Mar 2016 22:04:23 +0200
+
+python-pskc (0.3-1) unstable; urgency=medium
+
+ * New upstream release:
+ - support writing unencrypted PSKC files
+ - include a sample pskc2csv script in the source code
+ - fix an issue with XML namespaces for PBKDF2 parameters
+ - support Python 3
+ - update documentation
+ * Update debian/copyright
+ * Update debhelper compatibility level to 9
+ * Bump Standards-Version to 3.9.6, no changes needed
+ * Switch to pybuild buildsystem
+ * Also build a python3-pskc package for Python 3
+ * Provide the pskc2csv.py example script
+
+ -- Arthur de Jong <adejong at debian.org> Thu, 08 Oct 2015 12:43:24 +0200
+
+python-pskc (0.2-1) unstable; urgency=medium
+
+ * New upstream release:
+ - raise exceptions on parsing, decryption and other problems
+ - support more encryption algorithms (AES128-CBC, AES192-CBC, AES256-CBC,
+ TripleDES-CBC, KW-AES128, KW-AES192, KW-AES256 and KW-TripleDES) and be
+ more lenient in accepting algorithm URIs
+ - support all HMAC algorithms that Python's hashlib module has hash
+ functions for (HMAC-MD5, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256,
+ HMAC-SHA384 and HMAC-SHA512)
+ - support PRF attribute of PBKDF2 algorithm
+ * Build and install Sphinx documentation.
+
+ -- Arthur de Jong <adejong at debian.org> Fri, 20 Jun 2014 14:50:59 +0200
+
+python-pskc (0.1-1) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Arthur de Jong <adejong at debian.org> Fri, 23 May 2014 16:00:30 +0200
diff --cc debian/control
index 0e291ec,0000000..aea7a22
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,65 -1,0 +1,67 @@@
+Source: python-pskc
+Section: python
+Priority: optional
+Maintainer: Arthur de Jong <adejong at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Standards-Version: 3.9.8
+Build-Depends: python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-10~),
+ debhelper (>= 9), dh-python, python-sphinx (>= 1.0.7+dfsg),
+ python-setuptools, python3-setuptools,
+ python-nose (>= 1.2.0), python3-nose (>= 1.2.0),
- python-crypto, python3-crypto,
++ python-cryptography, python3-cryptography,
+ python-dateutil, python3-dateutil
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
+Homepage: http://arthurdejong.org/python-pskc/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-pskc.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-pskc.git
+
+Package: python-pskc
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, ${sphinxdoc:Depends}
++Recommends: python-lxml, python-defusedxml
+Suggests: python-pskc-doc
+Description: Python module for handling PSKC files (Python 2)
+ This Python library handles Portable Symmetric Key Container (PSKC) files as
+ defined in RFC6030. PSKC files are used to transport and provision symmetric
+ keys and key meta data (seed files) to different types of crypto modules,
+ commonly one-time password tokens or other authentication devices.
+ .
+ This module can be used to extract keys from PSKC files for use in an OTP
+ authentication system. The module can also be used for authoring PSKC files.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-pskc
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, ${sphinxdoc:Depends}
++Recommends: python3-lxml, python3-defusedxml
+Suggests: python-pskc-doc
+Description: Python module for handling PSKC files (Python 3)
+ This Python library handles Portable Symmetric Key Container (PSKC) files as
+ defined in RFC6030. PSKC files are used to transport and provision symmetric
+ keys and key meta data (seed files) to different types of crypto modules,
+ commonly one-time password tokens or other authentication devices.
+ .
+ This module can be used to extract keys from PSKC files for use in an OTP
+ authentication system. The module can also be used for authoring PSKC files.
+ .
+ This package installs the library for Python 3.
+
+Package: python-pskc-doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: www-browser
+Replaces: python-pskc (<< 0.4-1), python3-pskc (<< 0.4-1)
+Breaks: python-pskc (<< 0.4-1), python3-pskc (<< 0.4-1)
+Section: doc
+Description: Python module for handling PSKC files (Documentation)
+ This Python library handles Portable Symmetric Key Container (PSKC) files as
+ defined in RFC6030. PSKC files are used to transport and provision symmetric
+ keys and key meta data (seed files) to different types of crypto modules,
+ commonly one-time password tokens or other authentication devices.
+ .
+ This module can be used to extract keys from PSKC files for use in an OTP
+ authentication system. The module can also be used for authoring PSKC files.
+ .
+ This package contains the module's documentation.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pskc.git
More information about the Python-modules-commits
mailing list