python-pskc - Python module for handling PSKC files (Python 2)

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe amd64
Package filename python-pskc_1.0-1_all.deb
Package name python-pskc
Package version 1.0
Package release 1
Package architecture all
Package type deb
Category universe/python
License -
Maintainer Ubuntu Developers <>
Download size 27.12 KB
Installed size 137.00 KB
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 Version Architecture Repository
python-pskc_1.0-1_all.deb 1.0 all Ubuntu Universe
python-pskc - - -


Name Value
python-cryptography -
python-dateutil -
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-pskc_1.0-1_all.deb
Source Package python-pskc

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-pskc deb package:
    # sudo apt-get install python-pskc




2017-12-31 - Arthur de Jong <>
python-pskc (1.0-1) unstable; 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
- 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
* Work around test suite issues
* Switch to HTTPS URLs
* Use Python3 version to build Sphinx documentation and use sphinx-build
* Upgrade to standards-version 4.1.3 (no changes needed)
2017-01-21 - Arthur de Jong <>
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)
2016-04-05 - Arthur de Jong <>
python-pskc (0.4-2) unstable; urgency=medium
* Add Breaks/Replaces to allow upgrades from older versions
(closes: #820025)
2016-03-28 - Arthur de Jong <>
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
* 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)

See Also

Package Description
python-psphere_0.5.2-5_all.deb Python bindings for the vSphere Web Services SDK
python-psycogreen_1.0-1_all.deb psycopg2 integration with coroutine libraries
python-pthreading_0.1.4-1_all.deb Reimplementation of Python locking objects with libpthread
python-ptk-doc_1.3.2-2_all.deb parser for Python with support for asynchronous input (documentation)
python-ptk_1.3.2-2_all.deb parser for Python 2 with support for asynchronous input
python-ptrace_0.7-1_all.deb Python bindings for ptrace
python-ptyprocess_0.5.2-1_all.deb Run a subprocess in a pseudo terminal from Python 2
python-publicsuffix_1.1.0-2_all.deb Python module to get a domain suffix using the Public Suffix List
python-pudb_2017.1.4-1_all.deb full-screen, console-based Python debugger
python-pulp_1.6.0+dfsg1-2_all.deb LP modeler - Python 2.7
python-purl_1.3.1-1_all.deb URL interrogation and manipulation
python-pushy_0.5.3-1ubuntu1_amd64.deb Simple interface for connecting two python interpreters
python-pwquality_1.4.0-2_amd64.deb Python bindings for libpwquality
python-py_1.5.2-1_all.deb Advanced Python development support library (Python 2)
python-pyaes_1.6.1-1_all.deb Pure-Python implementation of the AES cipher (Python 2)