skip to navigation
skip to content

Not Logged In

python-pskc 0.1

Python module for handling PSKC files

Package Documentation

Latest Version: 0.2

Python module for handling PSKC files

This Python library handles Portable Symmetric Key Container (PSKC) files as defined in RFC6030. PSKC files are used to transport and provision symmetric keys (seed files) to different types of crypto modules, commonly one-time password tokens or other authentication devices.

The main goal of this module is to be able to extract keys from PSKC files for use in an OTP authentication system.

The following prints all keys, decrypting using a password:

>>> from pskc import PSKC
>>> pskc = PSKC('tests/rfc6030-figure7.pskcxml')
>>> pskc.encryption.derive_key('qwerty')
>>> for key in pskc.keys:
...     print key.serial, key.secret
987654321 12345678901234567890

The module should be able to handle most common PSKC files. Checking embedded signatures, asymmetric keys and writing files are on the wishlist (patches welcome).

File Type Py Version Uploaded on Size
python-pskc-0.1.tar.gz (md5, pgp) Source 2014-05-23 31KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 39 downloads in the last week
  • 142 downloads in the last month