PyKCS11: a complete PKCS#11 wrapper for Python, created using the SWIG compiler.
Be the first to post a text review of PKCS#11 Wrapper for Python. Rate and review a project by clicking thumbs up or thumbs down in the right column.
2008-11-05 lrousseau * [r159] readme.txt: release 1.2.1 * [r158] src/rsaref: remove now useless rsaref/* files since we use opensc/pkcs11.h instead 2008-11-04 midori * [r157] setup.py: incremented version to 1.2.1 in setup.py * [r156] PyKCS11/__init__.py: HiLevel interface: Session.findObjects() function returns a copy of the object handles to avoid a bug in older SWIG versions * [r155] PyKCS11.vcproj: updated VS71 project to use opensc's PKCS#11 header 2008-10-31 lrousseau * [r154] PyKCS11/__init__.py: CKU_USER, CKU_SO and CKM_RSA_PKCS can't be cross referenced by epydoc * [r153] Makefile: use --verbose argument for epydoc * [r152] Makefile: do not set PYTHONPATH. It makes epydoc crash 2008-10-26 lrousseau * [r151] Makefile: add a distclean rule (same as clean) * [r150] debian: the debian/ directory is now available at svn://svn.debian.org/svn/python-modules/packages/pykcs11/trunk/debian * [r149] Makefile: build install clean rebuild dist and doc are phony targets "make build" failed since a build/ directory already exists * [r148] MANIFEST, Makefile, Makefile.win32, src/pykcs11.i, src/stdafx.h: use opensc/pkcs11.h instead of rsaref/cryptoki.h * [r147] src/opensc, src/opensc/pkcs11.h: add pkcs11.h to replace the rsaref/* files because they are not free software: no rights to distribute modified versions. * [r146] src/pkcs11lib.cpp: CPKCS11Lib::CPKCS11Lib(): change the order of member initialisation to refect the order they are declared in src/pkcs11lib.h src/pkcs11lib.h:48: attention : CPKCS11Lib::m_pFunc will be initialized after src/pkcs11lib.h:41: attention : bool CPKCS11Lib::m_bFinalizeOnClose src/pkcs11lib.cpp:41: attention : when initialized here 2008-10-23 midori * [r145] src/pkcs11lib.cpp: - reordered members initialization 2008-10-10 lrousseau * [r144] samples/getinfo.py: put the slots loop inside a try/except to iterate over each slot without exiting on the first error * [r143] samples/getinfo.py: do not display ulMinKeySize and ulMaxKeySize for CKF_DIGEST mechanisms * [r142] samples/getinfo.py: dump all slots instead of just the first one by default 2008-09-05 lrousseau * [r141] samples/getinfo.py: do not display ulMinKeySize or ulMaxKeySize if they are CK_UNAVAILABLE_INFORMATION 2008-09-01 lrousseau * [r140] samples/getinfo.py: short version of --lib is -c not -d 2008-08-28 lrousseau * [r138] test: remove * [r137] test: test * [r136] test: remove * [r135] test: test * [r134] pykcs11.rc, readme.txt, setup.py: release 1.2.0 * [r133] readme.txt: add history for 1.1.0 and 1.1.1 versions 2008-08-27 lrousseau * [r132] Makefile: add dist rule * [r131] debian/control: change Section: from libs to python * [r130] Makefile: improve build rule using build-stamp * [r129] src/ck_attribute_smart.cpp: add #include <string.h> src/ck_attribute_smart.cpp:167: erreur: strlen was not declared in this scope 2008-08-26 lrousseau * [r128] PyKCS11/__init__.py: class CK_SESSION_INFO: improve epydoc documentation 2008-08-25 lrousseau * [r127] PyKCS11/__init__.py: line reformat * [r126] PyKCS11/__init__.py: PyKCS11Error(): use CKR[] instead of a local dictionnary * [r125] PyKCS11/__init__.py: class PyKCS11Error herits from Exception * [r124] samples/getinfo.py: call session.getSessionInfo() and display session info if a session is opened * [r123] PyKCS11/__init__.py: implement Session().getSessionInfo() * [r122] PyKCS11/__init__.py: the classes now herits of object (new class style) 2008-06-12 lrousseau * [r121] samples/dumpit.py: update copyright date * [r120] samples/dumpit.py: display the PKCS#11 objects ID instead of the Python objects ID * [r119] samples/dumpit.py: filter the attributes list to only use the numerical values * [r118] PyKCS11/__init__.py: typos in comments 2008-02-11 lrousseau * [r117] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add support of C_GetMechanismInfo See Ticket #11 * [r116] PyKCS11/__init__.py: dos2unix * [r115] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add getMechanismList() method See Ticket #11 2008-02-10 lrousseau * [r114] debian/dirs: not needed since usr/bin and usr/sbin are empty 2008-02-07 lrousseau * [r113] readme.txt: update copyright date * [r112] src/pkcs11lib.h: reformat * [r111] src/pkcs11lib.cpp: reformat * [r110] src/pykcs11.cpp: dos2unix * [r109] PyKCS11: ignore LowLevel.py * [r108] src: ignore unix_pykcs11_wrap.cpp * [r107] src/pykcs11.i: minor reformat * [r106] Makefile: do not redifine PYTHON if it is already defined * [r105] debian/rules: install a version for every installed Python versions * [r104] debian/control: use python-central instead of python-support * [r103] debian/control: Build-Depends: add versions for python-support and python-all-dev 2008-02-05 lrousseau * [r102] debian/control: use a more specific debhelper version dependency E: pykcs11 source: package-needs-python-policy-debhelper * [r101] PyKCS11/__init__.py: replace static allocation by dynamically generated code Close bug #12 "Reducing PyKCS11/__init__py size" * [r100] src/pkcs11lib.h: move m_bFinalizeOnClose and m_bAutoInitialized before m_hLib in the class to avoid a compiler warning. close bug #10 "warning when building 1ith python2.5/swig1.3.31" 2007-04-03 lrousseau * [r99] samples/getinfo.py: display more getInfo fields 2007-03-28 lrousseau * [r98] samples/dumpit.py: use a try: block to not stop on the first slot with an error * [r97] samples/dumpit.py: use -S instead of -s for sign so we wan use -s for slot * [r96] samples/dumpit.py: add [-d][--decrypt] to help 2007-03-26 lrousseau * [r95] samples/getinfo.py: exit if no slot is found 2006-12-21 midori * [r92] PyKCS11/__init__.py, pykcs11.rc, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, setup.py, src/pykcs11.i: -updated high level interface and samples to latest low level interface -minor fix: the CK_OBJECT_HANDLE and CK_SESSION_HANDLE wrapeprs are now declared as simple types (unsigned long) so the value() method returns a number nad assign() method accepts a number. -increased version to 1.1.1 (resources and setup.py) * [r91] src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i: - fixed bug #3 "Functions returning object handles can't be used"; now the C_FindObject() function, the only one that returns an array of object, should be used with the ckobjlist type instead of ckintlist. The objects creation functions, such as C_CreateObject(), return objects in a CK_OBJECT_HANDLE instance. 2006-11-20 lrousseau * [r90] MANIFEST: dos2unix the file to make "setup.py sdist" work on Unix * [r89] setup.py: add #! /usr/bin/env python 2006-10-10 lrousseau * [r88] samples/dumpit.py: catch session.login() and session.logout() exceptions 2006-09-13 midori * [r85] MANIFEST, samples/getinfo.py: GetInfo script: lib on the command line was ignored; removed colors on windows Added a simple makefile for win32 (should be used with VS.NET/nmake) * [r83] Makefile.win32, setup.py: added a makefile for win32 (works with nmake and VS.NET) latest swig versions use dymanic_cast: this require /GR compiler argument when used with VS.NET. * [r82] src/rsaref/cryptoki.h: fixed compile error on Unix platforms 2006-09-12 midori * [r81] setup.py, src/rsaref/cryptoki.h: cryptoki.h: _WIN32 instead of WIN32 is defined compiling with distutils under win32+VS.NET setup.py: under Win32, added flags to compile with debug symbols database (NOT a DEBUG build, just symbols in a separate .pdb file). * [r80] PyKCS11/__init__.py: PyKCS11.Session.isString(): CKA_SERIAL_NUMBER was string, now is binary. * [r79] MANIFEST: Added MANIFEST file (used by distutils to build sources distribution archive) * [r77] src/ck_attribute_smart.cpp: BugFix: CKA_SERIAL_NUMBER is binary, not string (LowLevel interface) 2006-09-11 midori * [r67] PyKCS11/__init__.py: - fixed some docstring - MechanismRSAPKCS1 is now an instance of Mechanism 2006-09-11 lrousseau * [r66] samples/dumpit.py: do not duplicate the CKA_CERTIFICATE_TYPE and CKA_KEY_TYPE infos * [r65] samples/dumpit.py: add human version for CKA_KEY_TYPE value * [r64] samples/dumpit.py: -s does not take an argument * [r63] samples/dumpit.py: typo * [r62] PyKCS11/__init__.py: typos 2006-09-11 midori * [r61] setup.py: setup.py: 1) now works on win32, can generate binaries distribution packages (zip, installer); 2) detailed project description has been added 2006-09-10 midori * [r60] PyKCS11/__init__.py, samples/dumpit.py: - added Session.sign and Session.decrypt functions to the high level interface - dumpit.py is now able to test new sign and decrypt functions - Minor fiexs to Session.getAttributeValue(): * added an optional parameter to get all value as binary (unparsed) * updated docs * [r59] src/pykcs11.cpp, src/pykcs11.i: - Fixed compile error using distutil on win32+VS.NET - Added byte array handling wrapper, to be used for CK_MECHANISM param field initialization * [r58] pykcs11.rc: Increased version, updated some other field * [r57] src/dyn_win32.c: win32 detection: _WIN32 macro is also used. This fix a build error using distutils under win32+VS.NET 2006-09-08 midori * [r56] src/win32_pykcs11_wrap.cpp: SWIG generated win32 wrapper removed; it is going to be generated time by time for the sources distribution archive. 2006-09-07 midori * [r55] PyKCS11.vcproj, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i, src/win32_pykcs11_wrap.cpp: - BugFix (LowLevel interface) all PKCS11 object handles are now handled as signed (long) to avoid a SWIG error when handle values are >= 0x80000000 - Fixed the compile problem with swig version > 1.3.27 - VS2003 project: DLL renamed to _LowLevel.dll 2006-09-05 lrousseau * [r54] PyKCS11/__init__.py: improve documentation * [r53] documentation.htm: clean HTML code (thanks to tidy(1) for the errors list) * [r52] documentation.htm: correct typos 2006-09-01 midori * [r51] setup.py: - added /usr/local include and lib in search paths (needed by FreeBSD) - compiles and runs on FreeBSD 6.1 (more testing needed) - all tabs converted to spaces 2006-08-31 lrousseau * [r50] PyKCS11/__init__.py: PyKCS11Lib.load(): add "(set PYKCS11LIB env variable)" in the error message when no PKCS11 library is specified * [r49] samples/unblock.py: sample code to unblock a PIN * [r48] PyKCS11/__init__.py, readme.txt, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, samples/getinfo.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h: update FSF postal address * [r47] COPYING: update GNU GPL licence text from http://www.gnu.org/licenses/gpl.txt - postal address changed - "How to Apply These Terms to Your New Programs" added * [r46] PyKCS11/__init__.py: class Session: add initToken(), initPin() and setPin() methods * [r45] PyKCS11/__init__.py: errors{}: key -1 was used twice Thanks to Giuseppe Amato for the patch * [r44] PyKCS11/__init__.py: remove a print used for debug * [r43] Makefile: doc rule: do not hardcode the build directory * [r42] Makefile: clean rule: do not fail (add -f) removal of PyKCS11/LowLevel.py * [r41] Makefile: The Python version to us may be defined by PYTHONVER. Default valus is 2.4 * [r40] setup.py: get the Python version from Python itself instead of hardcoding "2.4" * [r39] samples/getinfo.py: pass the correct argument in pkcs11.openSession() 2006-08-30 lrousseau * [r38] debian, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dirs, debian/docs, debian/examples, debian/pycompat, debian/rules: add needed files to generate a Debian package * [r37] Makefile: doc rule: remove the html/ directory before generating the API doc * [r36] Makefile: doc rule: add a dependency on build * [r35] Makefile: doc rule: set PYTHONPATH so that _LowLevel.so is found by epydoc * [r34] samples/dumpit.py: do not use slot= argument since we dump every available slots * [r33] samples/getinfo.py: convert the slot number from text to integer * [r32] setup.py: version 1.1.0 * [r31] src/PyKCS11.py: Remove the old API file generated by SWIG. The new SWIG generated file is PyKCS11/LowLevel.py now * [r30] Makefile: clean rule: rm PyKCS11/LowLevel.py * [r29] samples/LowLevel/test.py, samples/LowLevel/test1.py: revert PKCS#11 library name * [r28] samples/dumpit.py, samples/getinfo.py: new API (high level) samples * [r27] samples/LowLevel/test.py, samples/LowLevel/test1.py, test.py, test1.py: move old API test samples in samples/LowLevel/ * [r26] test.py, test1.py: use PyKCS11.LowLevel instead of PyKCS11 * [r25] samples/LowLevel/InitTokenPin.py: convert to old API names * [r24] samples/LowLevel/dumpit.py: use new name PyKCS11.LowLevel instead of PyKCS11 * [r23] Makefile, setup.py, src/pykcs11.i: the old API (low level) is now in PyKCS11/LowLevel and the new API (high level) is in PyKCS11/__init__ * [r22] Makefile: add a doc rule to call epydoc * [r21] src/pykcs11.i: add some missing PKCS#11 #defines * [r20] src/pykcs11.i: CK_TOKEN_INFO: add GetUtcTime() method * [r19] src/dyn_unix.c: add a \n at the end of the logged line * [r18] Makefile: if one .h used by pykcs11.i is modified we touch pykcs11.i so that swig is called again * [r17] Makefile: clean rule: remove generated *.pyc files * [r16] samples/LowLevel/InitTokenPin.py, test.py, test1.py: convert from DOS to Unix end of line style otherwise the magic 1st line "#!/usr/bin/env python" will not work since python^M is searched and is not found * [r15] InitTokenPin.py, dumpit.py, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py: move samples (using the old API) in samples/LowLevel * [r14] PyKCS11/__init__.py: new (high level) API * [r13] PyKCS11: new directory * [r12] samples/LowLevel: new directory for low level samples * [r11] samples: new directory 2006-08-29 lrousseau * [r10] InitTokenPin.py, dumpit.py, setup.py, test.py, test1.py: make Python scripts executable 2006-07-14 midori * [r8] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r7] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r6] COPYING, InitTokenPin.py, Makefile, PyKCS11.sln, PyKCS11.vcproj, documentation.htm, dumpit.py, pykcs11.rc, readme.txt, resource.h, setup.py, src, src/PyKCS11.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/dyn_generic.h, src/dyn_unix.c, src/dyn_win32.c, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/rsaref, src/rsaref/cryptoki.h, src/rsaref/pkcs11.h, src/rsaref/pkcs11f.h, src/rsaref/pkcs11t.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h, src/win32_pykcs11_wrap.cpp, test.py, test1.py: 1.0.2 - July 2006, Ludovic Rousseau port to Unix (tested on GNU/Linux only) explicit call to SWIG to generate the wrapper 1.0.1 - 2004 Giuseppe Amato (Midori) first version Windows only * [r5] .: - Added ignore filters * [r2] .: Main dev
2008-11-05 lrousseau * [r159] readme.txt: release 1.2.1 * [r158] src/rsaref: remove now useless rsaref/* files since we use opensc/pkcs11.h instead 2008-11-04 midori * [r157] setup.py: incremented version to 1.2.1 in setup.py * [r156] PyKCS11/__init__.py: HiLevel interface: Session.findObjects() function returns a copy of the object handles to avoid a bug in older SWIG versions * [r155] PyKCS11.vcproj: updated VS71 project to use opensc's PKCS#11 header 2008-10-31 lrousseau * [r154] PyKCS11/__init__.py: CKU_USER, CKU_SO and CKM_RSA_PKCS can't be cross referenced by epydoc * [r153] Makefile: use --verbose argument for epydoc * [r152] Makefile: do not set PYTHONPATH. It makes epydoc crash 2008-10-26 lrousseau * [r151] Makefile: add a distclean rule (same as clean) * [r150] debian: the debian/ directory is now available at svn://svn.debian.org/svn/python-modules/packages/pykcs11/trunk/debian * [r149] Makefile: build install clean rebuild dist and doc are phony targets "make build" failed since a build/ directory already exists * [r148] MANIFEST, Makefile, Makefile.win32, src/pykcs11.i, src/stdafx.h: use opensc/pkcs11.h instead of rsaref/cryptoki.h * [r147] src/opensc, src/opensc/pkcs11.h: add pkcs11.h to replace the rsaref/* files because they are not free software: no rights to distribute modified versions. * [r146] src/pkcs11lib.cpp: CPKCS11Lib::CPKCS11Lib(): change the order of member initialisation to refect the order they are declared in src/pkcs11lib.h src/pkcs11lib.h:48: attention : CPKCS11Lib::m_pFunc will be initialized after src/pkcs11lib.h:41: attention : bool CPKCS11Lib::m_bFinalizeOnClose src/pkcs11lib.cpp:41: attention : when initialized here 2008-10-23 midori * [r145] src/pkcs11lib.cpp: - reordered members initialization 2008-10-10 lrousseau * [r144] samples/getinfo.py: put the slots loop inside a try/except to iterate over each slot without exiting on the first error * [r143] samples/getinfo.py: do not display ulMinKeySize and ulMaxKeySize for CKF_DIGEST mechanisms * [r142] samples/getinfo.py: dump all slots instead of just the first one by default 2008-09-05 lrousseau * [r141] samples/getinfo.py: do not display ulMinKeySize or ulMaxKeySize if they are CK_UNAVAILABLE_INFORMATION 2008-09-01 lrousseau * [r140] samples/getinfo.py: short version of --lib is -c not -d 2008-08-28 lrousseau * [r138] test: remove * [r137] test: test * [r136] test: remove * [r135] test: test * [r134] pykcs11.rc, readme.txt, setup.py: release 1.2.0 * [r133] readme.txt: add history for 1.1.0 and 1.1.1 versions 2008-08-27 lrousseau * [r132] Makefile: add dist rule * [r131] debian/control: change Section: from libs to python * [r130] Makefile: improve build rule using build-stamp * [r129] src/ck_attribute_smart.cpp: add #include <string.h> src/ck_attribute_smart.cpp:167: erreur: strlen was not declared in this scope 2008-08-26 lrousseau * [r128] PyKCS11/__init__.py: class CK_SESSION_INFO: improve epydoc documentation 2008-08-25 lrousseau * [r127] PyKCS11/__init__.py: line reformat * [r126] PyKCS11/__init__.py: PyKCS11Error(): use CKR[] instead of a local dictionnary * [r125] PyKCS11/__init__.py: class PyKCS11Error herits from Exception * [r124] samples/getinfo.py: call session.getSessionInfo() and display session info if a session is opened * [r123] PyKCS11/__init__.py: implement Session().getSessionInfo() * [r122] PyKCS11/__init__.py: the classes now herits of object (new class style) 2008-06-12 lrousseau * [r121] samples/dumpit.py: update copyright date * [r120] samples/dumpit.py: display the PKCS#11 objects ID instead of the Python objects ID * [r119] samples/dumpit.py: filter the attributes list to only use the numerical values * [r118] PyKCS11/__init__.py: typos in comments 2008-02-11 lrousseau * [r117] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add support of C_GetMechanismInfo See Ticket #11 * [r116] PyKCS11/__init__.py: dos2unix * [r115] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add getMechanismList() method See Ticket #11 2008-02-10 lrousseau * [r114] debian/dirs: not needed since usr/bin and usr/sbin are empty 2008-02-07 lrousseau * [r113] readme.txt: update copyright date * [r112] src/pkcs11lib.h: reformat * [r111] src/pkcs11lib.cpp: reformat * [r110] src/pykcs11.cpp: dos2unix * [r109] PyKCS11: ignore LowLevel.py * [r108] src: ignore unix_pykcs11_wrap.cpp * [r107] src/pykcs11.i: minor reformat * [r106] Makefile: do not redifine PYTHON if it is already defined * [r105] debian/rules: install a version for every installed Python versions * [r104] debian/control: use python-central instead of python-support * [r103] debian/control: Build-Depends: add versions for python-support and python-all-dev 2008-02-05 lrousseau * [r102] debian/control: use a more specific debhelper version dependency E: pykcs11 source: package-needs-python-policy-debhelper * [r101] PyKCS11/__init__.py: replace static allocation by dynamically generated code Close bug #12 "Reducing PyKCS11/__init__py size" * [r100] src/pkcs11lib.h: move m_bFinalizeOnClose and m_bAutoInitialized before m_hLib in the class to avoid a compiler warning. close bug #10 "warning when building 1ith python2.5/swig1.3.31" 2007-04-03 lrousseau * [r99] samples/getinfo.py: display more getInfo fields 2007-03-28 lrousseau * [r98] samples/dumpit.py: use a try: block to not stop on the first slot with an error * [r97] samples/dumpit.py: use -S instead of -s for sign so we wan use -s for slot * [r96] samples/dumpit.py: add [-d][--decrypt] to help 2007-03-26 lrousseau * [r95] samples/getinfo.py: exit if no slot is found 2006-12-21 midori * [r92] PyKCS11/__init__.py, pykcs11.rc, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, setup.py, src/pykcs11.i: -updated high level interface and samples to latest low level interface -minor fix: the CK_OBJECT_HANDLE and CK_SESSION_HANDLE wrapeprs are now declared as simple types (unsigned long) so the value() method returns a number nad assign() method accepts a number. -increased version to 1.1.1 (resources and setup.py) * [r91] src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i: - fixed bug #3 "Functions returning object handles can't be used"; now the C_FindObject() function, the only one that returns an array of object, should be used with the ckobjlist type instead of ckintlist. The objects creation functions, such as C_CreateObject(), return objects in a CK_OBJECT_HANDLE instance. 2006-11-20 lrousseau * [r90] MANIFEST: dos2unix the file to make "setup.py sdist" work on Unix * [r89] setup.py: add #! /usr/bin/env python 2006-10-10 lrousseau * [r88] samples/dumpit.py: catch session.login() and session.logout() exceptions 2006-09-13 midori * [r85] MANIFEST, samples/getinfo.py: GetInfo script: lib on the command line was ignored; removed colors on windows Added a simple makefile for win32 (should be used with VS.NET/nmake) * [r83] Makefile.win32, setup.py: added a makefile for win32 (works with nmake and VS.NET) latest swig versions use dymanic_cast: this require /GR compiler argument when used with VS.NET. * [r82] src/rsaref/cryptoki.h: fixed compile error on Unix platforms 2006-09-12 midori * [r81] setup.py, src/rsaref/cryptoki.h: cryptoki.h: _WIN32 instead of WIN32 is defined compiling with distutils under win32+VS.NET setup.py: under Win32, added flags to compile with debug symbols database (NOT a DEBUG build, just symbols in a separate .pdb file). * [r80] PyKCS11/__init__.py: PyKCS11.Session.isString(): CKA_SERIAL_NUMBER was string, now is binary. * [r79] MANIFEST: Added MANIFEST file (used by distutils to build sources distribution archive) * [r77] src/ck_attribute_smart.cpp: BugFix: CKA_SERIAL_NUMBER is binary, not string (LowLevel interface) 2006-09-11 midori * [r67] PyKCS11/__init__.py: - fixed some docstring - MechanismRSAPKCS1 is now an instance of Mechanism 2006-09-11 lrousseau * [r66] samples/dumpit.py: do not duplicate the CKA_CERTIFICATE_TYPE and CKA_KEY_TYPE infos * [r65] samples/dumpit.py: add human version for CKA_KEY_TYPE value * [r64] samples/dumpit.py: -s does not take an argument * [r63] samples/dumpit.py: typo * [r62] PyKCS11/__init__.py: typos 2006-09-11 midori * [r61] setup.py: setup.py: 1) now works on win32, can generate binaries distribution packages (zip, installer); 2) detailed project description has been added 2006-09-10 midori * [r60] PyKCS11/__init__.py, samples/dumpit.py: - added Session.sign and Session.decrypt functions to the high level interface - dumpit.py is now able to test new sign and decrypt functions - Minor fiexs to Session.getAttributeValue(): * added an optional parameter to get all value as binary (unparsed) * updated docs * [r59] src/pykcs11.cpp, src/pykcs11.i: - Fixed compile error using distutil on win32+VS.NET - Added byte array handling wrapper, to be used for CK_MECHANISM param field initialization * [r58] pykcs11.rc: Increased version, updated some other field * [r57] src/dyn_win32.c: win32 detection: _WIN32 macro is also used. This fix a build error using distutils under win32+VS.NET 2006-09-08 midori * [r56] src/win32_pykcs11_wrap.cpp: SWIG generated win32 wrapper removed; it is going to be generated time by time for the sources distribution archive. 2006-09-07 midori * [r55] PyKCS11.vcproj, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i, src/win32_pykcs11_wrap.cpp: - BugFix (LowLevel interface) all PKCS11 object handles are now handled as signed (long) to avoid a SWIG error when handle values are >= 0x80000000 - Fixed the compile problem with swig version > 1.3.27 - VS2003 project: DLL renamed to _LowLevel.dll 2006-09-05 lrousseau * [r54] PyKCS11/__init__.py: improve documentation * [r53] documentation.htm: clean HTML code (thanks to tidy(1) for the errors list) * [r52] documentation.htm: correct typos 2006-09-01 midori * [r51] setup.py: - added /usr/local include and lib in search paths (needed by FreeBSD) - compiles and runs on FreeBSD 6.1 (more testing needed) - all tabs converted to spaces 2006-08-31 lrousseau * [r50] PyKCS11/__init__.py: PyKCS11Lib.load(): add "(set PYKCS11LIB env variable)" in the error message when no PKCS11 library is specified * [r49] samples/unblock.py: sample code to unblock a PIN * [r48] PyKCS11/__init__.py, readme.txt, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, samples/getinfo.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h: update FSF postal address * [r47] COPYING: update GNU GPL licence text from http://www.gnu.org/licenses/gpl.txt - postal address changed - "How to Apply These Terms to Your New Programs" added * [r46] PyKCS11/__init__.py: class Session: add initToken(), initPin() and setPin() methods * [r45] PyKCS11/__init__.py: errors{}: key -1 was used twice Thanks to Giuseppe Amato for the patch * [r44] PyKCS11/__init__.py: remove a print used for debug * [r43] Makefile: doc rule: do not hardcode the build directory * [r42] Makefile: clean rule: do not fail (add -f) removal of PyKCS11/LowLevel.py * [r41] Makefile: The Python version to us may be defined by PYTHONVER. Default valus is 2.4 * [r40] setup.py: get the Python version from Python itself instead of hardcoding "2.4" * [r39] samples/getinfo.py: pass the correct argument in pkcs11.openSession() 2006-08-30 lrousseau * [r38] debian, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dirs, debian/docs, debian/examples, debian/pycompat, debian/rules: add needed files to generate a Debian package * [r37] Makefile: doc rule: remove the html/ directory before generating the API doc * [r36] Makefile: doc rule: add a dependency on build * [r35] Makefile: doc rule: set PYTHONPATH so that _LowLevel.so is found by epydoc * [r34] samples/dumpit.py: do not use slot= argument since we dump every available slots * [r33] samples/getinfo.py: convert the slot number from text to integer * [r32] setup.py: version 1.1.0 * [r31] src/PyKCS11.py: Remove the old API file generated by SWIG. The new SWIG generated file is PyKCS11/LowLevel.py now * [r30] Makefile: clean rule: rm PyKCS11/LowLevel.py * [r29] samples/LowLevel/test.py, samples/LowLevel/test1.py: revert PKCS#11 library name * [r28] samples/dumpit.py, samples/getinfo.py: new API (high level) samples * [r27] samples/LowLevel/test.py, samples/LowLevel/test1.py, test.py, test1.py: move old API test samples in samples/LowLevel/ * [r26] test.py, test1.py: use PyKCS11.LowLevel instead of PyKCS11 * [r25] samples/LowLevel/InitTokenPin.py: convert to old API names * [r24] samples/LowLevel/dumpit.py: use new name PyKCS11.LowLevel instead of PyKCS11 * [r23] Makefile, setup.py, src/pykcs11.i: the old API (low level) is now in PyKCS11/LowLevel and the new API (high level) is in PyKCS11/__init__ * [r22] Makefile: add a doc rule to call epydoc * [r21] src/pykcs11.i: add some missing PKCS#11 #defines * [r20] src/pykcs11.i: CK_TOKEN_INFO: add GetUtcTime() method * [r19] src/dyn_unix.c: add a \n at the end of the logged line * [r18] Makefile: if one .h used by pykcs11.i is modified we touch pykcs11.i so that swig is called again * [r17] Makefile: clean rule: remove generated *.pyc files * [r16] samples/LowLevel/InitTokenPin.py, test.py, test1.py: convert from DOS to Unix end of line style otherwise the magic 1st line "#!/usr/bin/env python" will not work since python^M is searched and is not found * [r15] InitTokenPin.py, dumpit.py, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py: move samples (using the old API) in samples/LowLevel * [r14] PyKCS11/__init__.py: new (high level) API * [r13] PyKCS11: new directory * [r12] samples/LowLevel: new directory for low level samples * [r11] samples: new directory 2006-08-29 lrousseau * [r10] InitTokenPin.py, dumpit.py, setup.py, test.py, test1.py: make Python scripts executable 2006-07-14 midori * [r8] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r7] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r6] COPYING, InitTokenPin.py, Makefile, PyKCS11.sln, PyKCS11.vcproj, documentation.htm, dumpit.py, pykcs11.rc, readme.txt, resource.h, setup.py, src, src/PyKCS11.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/dyn_generic.h, src/dyn_unix.c, src/dyn_win32.c, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/rsaref, src/rsaref/cryptoki.h, src/rsaref/pkcs11.h, src/rsaref/pkcs11f.h, src/rsaref/pkcs11t.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h, src/win32_pykcs11_wrap.cpp, test.py, test1.py: 1.0.2 - July 2006, Ludovic Rousseau port to Unix (tested on GNU/Linux only) explicit call to SWIG to generate the wrapper 1.0.1 - 2004 Giuseppe Amato (Midori) first version Windows only * [r5] .: - Added ignore filters * [r2] .: Main dev
2008-11-05 lrousseau * [r159] readme.txt: release 1.2.1 * [r158] src/rsaref: remove now useless rsaref/* files since we use opensc/pkcs11.h instead 2008-11-04 midori * [r157] setup.py: incremented version to 1.2.1 in setup.py * [r156] PyKCS11/__init__.py: HiLevel interface: Session.findObjects() function returns a copy of the object handles to avoid a bug in older SWIG versions * [r155] PyKCS11.vcproj: updated VS71 project to use opensc's PKCS#11 header 2008-10-31 lrousseau * [r154] PyKCS11/__init__.py: CKU_USER, CKU_SO and CKM_RSA_PKCS can't be cross referenced by epydoc * [r153] Makefile: use --verbose argument for epydoc * [r152] Makefile: do not set PYTHONPATH. It makes epydoc crash 2008-10-26 lrousseau * [r151] Makefile: add a distclean rule (same as clean) * [r150] debian: the debian/ directory is now available at svn://svn.debian.org/svn/python-modules/packages/pykcs11/trunk/debian * [r149] Makefile: build install clean rebuild dist and doc are phony targets "make build" failed since a build/ directory already exists * [r148] MANIFEST, Makefile, Makefile.win32, src/pykcs11.i, src/stdafx.h: use opensc/pkcs11.h instead of rsaref/cryptoki.h * [r147] src/opensc, src/opensc/pkcs11.h: add pkcs11.h to replace the rsaref/* files because they are not free software: no rights to distribute modified versions. * [r146] src/pkcs11lib.cpp: CPKCS11Lib::CPKCS11Lib(): change the order of member initialisation to refect the order they are declared in src/pkcs11lib.h src/pkcs11lib.h:48: attention : CPKCS11Lib::m_pFunc will be initialized after src/pkcs11lib.h:41: attention : bool CPKCS11Lib::m_bFinalizeOnClose src/pkcs11lib.cpp:41: attention : when initialized here 2008-10-23 midori * [r145] src/pkcs11lib.cpp: - reordered members initialization 2008-10-10 lrousseau * [r144] samples/getinfo.py: put the slots loop inside a try/except to iterate over each slot without exiting on the first error * [r143] samples/getinfo.py: do not display ulMinKeySize and ulMaxKeySize for CKF_DIGEST mechanisms * [r142] samples/getinfo.py: dump all slots instead of just the first one by default 2008-09-05 lrousseau * [r141] samples/getinfo.py: do not display ulMinKeySize or ulMaxKeySize if they are CK_UNAVAILABLE_INFORMATION 2008-09-01 lrousseau * [r140] samples/getinfo.py: short version of --lib is -c not -d 2008-08-28 lrousseau * [r138] test: remove * [r137] test: test * [r136] test: remove * [r135] test: test * [r134] pykcs11.rc, readme.txt, setup.py: release 1.2.0 * [r133] readme.txt: add history for 1.1.0 and 1.1.1 versions 2008-08-27 lrousseau * [r132] Makefile: add dist rule * [r131] debian/control: change Section: from libs to python * [r130] Makefile: improve build rule using build-stamp * [r129] src/ck_attribute_smart.cpp: add #include <string.h> src/ck_attribute_smart.cpp:167: erreur: strlen was not declared in this scope 2008-08-26 lrousseau * [r128] PyKCS11/__init__.py: class CK_SESSION_INFO: improve epydoc documentation 2008-08-25 lrousseau * [r127] PyKCS11/__init__.py: line reformat * [r126] PyKCS11/__init__.py: PyKCS11Error(): use CKR[] instead of a local dictionnary * [r125] PyKCS11/__init__.py: class PyKCS11Error herits from Exception * [r124] samples/getinfo.py: call session.getSessionInfo() and display session info if a session is opened * [r123] PyKCS11/__init__.py: implement Session().getSessionInfo() * [r122] PyKCS11/__init__.py: the classes now herits of object (new class style) 2008-06-12 lrousseau * [r121] samples/dumpit.py: update copyright date * [r120] samples/dumpit.py: display the PKCS#11 objects ID instead of the Python objects ID * [r119] samples/dumpit.py: filter the attributes list to only use the numerical values * [r118] PyKCS11/__init__.py: typos in comments 2008-02-11 lrousseau * [r117] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add support of C_GetMechanismInfo See Ticket #11 * [r116] PyKCS11/__init__.py: dos2unix * [r115] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add getMechanismList() method See Ticket #11 2008-02-10 lrousseau * [r114] debian/dirs: not needed since usr/bin and usr/sbin are empty 2008-02-07 lrousseau * [r113] readme.txt: update copyright date * [r112] src/pkcs11lib.h: reformat * [r111] src/pkcs11lib.cpp: reformat * [r110] src/pykcs11.cpp: dos2unix * [r109] PyKCS11: ignore LowLevel.py * [r108] src: ignore unix_pykcs11_wrap.cpp * [r107] src/pykcs11.i: minor reformat * [r106] Makefile: do not redifine PYTHON if it is already defined * [r105] debian/rules: install a version for every installed Python versions * [r104] debian/control: use python-central instead of python-support * [r103] debian/control: Build-Depends: add versions for python-support and python-all-dev 2008-02-05 lrousseau * [r102] debian/control: use a more specific debhelper version dependency E: pykcs11 source: package-needs-python-policy-debhelper * [r101] PyKCS11/__init__.py: replace static allocation by dynamically generated code Close bug #12 "Reducing PyKCS11/__init__py size" * [r100] src/pkcs11lib.h: move m_bFinalizeOnClose and m_bAutoInitialized before m_hLib in the class to avoid a compiler warning. close bug #10 "warning when building 1ith python2.5/swig1.3.31" 2007-04-03 lrousseau * [r99] samples/getinfo.py: display more getInfo fields 2007-03-28 lrousseau * [r98] samples/dumpit.py: use a try: block to not stop on the first slot with an error * [r97] samples/dumpit.py: use -S instead of -s for sign so we wan use -s for slot * [r96] samples/dumpit.py: add [-d][--decrypt] to help 2007-03-26 lrousseau * [r95] samples/getinfo.py: exit if no slot is found 2006-12-21 midori * [r92] PyKCS11/__init__.py, pykcs11.rc, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, setup.py, src/pykcs11.i: -updated high level interface and samples to latest low level interface -minor fix: the CK_OBJECT_HANDLE and CK_SESSION_HANDLE wrapeprs are now declared as simple types (unsigned long) so the value() method returns a number nad assign() method accepts a number. -increased version to 1.1.1 (resources and setup.py) * [r91] src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i: - fixed bug #3 "Functions returning object handles can't be used"; now the C_FindObject() function, the only one that returns an array of object, should be used with the ckobjlist type instead of ckintlist. The objects creation functions, such as C_CreateObject(), return objects in a CK_OBJECT_HANDLE instance. 2006-11-20 lrousseau * [r90] MANIFEST: dos2unix the file to make "setup.py sdist" work on Unix * [r89] setup.py: add #! /usr/bin/env python 2006-10-10 lrousseau * [r88] samples/dumpit.py: catch session.login() and session.logout() exceptions 2006-09-13 midori * [r85] MANIFEST, samples/getinfo.py: GetInfo script: lib on the command line was ignored; removed colors on windows Added a simple makefile for win32 (should be used with VS.NET/nmake) * [r83] Makefile.win32, setup.py: added a makefile for win32 (works with nmake and VS.NET) latest swig versions use dymanic_cast: this require /GR compiler argument when used with VS.NET. * [r82] src/rsaref/cryptoki.h: fixed compile error on Unix platforms 2006-09-12 midori * [r81] setup.py, src/rsaref/cryptoki.h: cryptoki.h: _WIN32 instead of WIN32 is defined compiling with distutils under win32+VS.NET setup.py: under Win32, added flags to compile with debug symbols database (NOT a DEBUG build, just symbols in a separate .pdb file). * [r80] PyKCS11/__init__.py: PyKCS11.Session.isString(): CKA_SERIAL_NUMBER was string, now is binary. * [r79] MANIFEST: Added MANIFEST file (used by distutils to build sources distribution archive) * [r77] src/ck_attribute_smart.cpp: BugFix: CKA_SERIAL_NUMBER is binary, not string (LowLevel interface) 2006-09-11 midori * [r67] PyKCS11/__init__.py: - fixed some docstring - MechanismRSAPKCS1 is now an instance of Mechanism 2006-09-11 lrousseau * [r66] samples/dumpit.py: do not duplicate the CKA_CERTIFICATE_TYPE and CKA_KEY_TYPE infos * [r65] samples/dumpit.py: add human version for CKA_KEY_TYPE value * [r64] samples/dumpit.py: -s does not take an argument * [r63] samples/dumpit.py: typo * [r62] PyKCS11/__init__.py: typos 2006-09-11 midori * [r61] setup.py: setup.py: 1) now works on win32, can generate binaries distribution packages (zip, installer); 2) detailed project description has been added 2006-09-10 midori * [r60] PyKCS11/__init__.py, samples/dumpit.py: - added Session.sign and Session.decrypt functions to the high level interface - dumpit.py is now able to test new sign and decrypt functions - Minor fiexs to Session.getAttributeValue(): * added an optional parameter to get all value as binary (unparsed) * updated docs * [r59] src/pykcs11.cpp, src/pykcs11.i: - Fixed compile error using distutil on win32+VS.NET - Added byte array handling wrapper, to be used for CK_MECHANISM param field initialization * [r58] pykcs11.rc: Increased version, updated some other field * [r57] src/dyn_win32.c: win32 detection: _WIN32 macro is also used. This fix a build error using distutils under win32+VS.NET 2006-09-08 midori * [r56] src/win32_pykcs11_wrap.cpp: SWIG generated win32 wrapper removed; it is going to be generated time by time for the sources distribution archive. 2006-09-07 midori * [r55] PyKCS11.vcproj, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i, src/win32_pykcs11_wrap.cpp: - BugFix (LowLevel interface) all PKCS11 object handles are now handled as signed (long) to avoid a SWIG error when handle values are >= 0x80000000 - Fixed the compile problem with swig version > 1.3.27 - VS2003 project: DLL renamed to _LowLevel.dll 2006-09-05 lrousseau * [r54] PyKCS11/__init__.py: improve documentation * [r53] documentation.htm: clean HTML code (thanks to tidy(1) for the errors list) * [r52] documentation.htm: correct typos 2006-09-01 midori * [r51] setup.py: - added /usr/local include and lib in search paths (needed by FreeBSD) - compiles and runs on FreeBSD 6.1 (more testing needed) - all tabs converted to spaces 2006-08-31 lrousseau * [r50] PyKCS11/__init__.py: PyKCS11Lib.load(): add "(set PYKCS11LIB env variable)" in the error message when no PKCS11 library is specified * [r49] samples/unblock.py: sample code to unblock a PIN * [r48] PyKCS11/__init__.py, readme.txt, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, samples/getinfo.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h: update FSF postal address * [r47] COPYING: update GNU GPL licence text from http://www.gnu.org/licenses/gpl.txt - postal address changed - "How to Apply These Terms to Your New Programs" added * [r46] PyKCS11/__init__.py: class Session: add initToken(), initPin() and setPin() methods * [r45] PyKCS11/__init__.py: errors{}: key -1 was used twice Thanks to Giuseppe Amato for the patch * [r44] PyKCS11/__init__.py: remove a print used for debug * [r43] Makefile: doc rule: do not hardcode the build directory * [r42] Makefile: clean rule: do not fail (add -f) removal of PyKCS11/LowLevel.py * [r41] Makefile: The Python version to us may be defined by PYTHONVER. Default valus is 2.4 * [r40] setup.py: get the Python version from Python itself instead of hardcoding "2.4" * [r39] samples/getinfo.py: pass the correct argument in pkcs11.openSession() 2006-08-30 lrousseau * [r38] debian, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dirs, debian/docs, debian/examples, debian/pycompat, debian/rules: add needed files to generate a Debian package * [r37] Makefile: doc rule: remove the html/ directory before generating the API doc * [r36] Makefile: doc rule: add a dependency on build * [r35] Makefile: doc rule: set PYTHONPATH so that _LowLevel.so is found by epydoc * [r34] samples/dumpit.py: do not use slot= argument since we dump every available slots * [r33] samples/getinfo.py: convert the slot number from text to integer * [r32] setup.py: version 1.1.0 * [r31] src/PyKCS11.py: Remove the old API file generated by SWIG. The new SWIG generated file is PyKCS11/LowLevel.py now * [r30] Makefile: clean rule: rm PyKCS11/LowLevel.py * [r29] samples/LowLevel/test.py, samples/LowLevel/test1.py: revert PKCS#11 library name * [r28] samples/dumpit.py, samples/getinfo.py: new API (high level) samples * [r27] samples/LowLevel/test.py, samples/LowLevel/test1.py, test.py, test1.py: move old API test samples in samples/LowLevel/ * [r26] test.py, test1.py: use PyKCS11.LowLevel instead of PyKCS11 * [r25] samples/LowLevel/InitTokenPin.py: convert to old API names * [r24] samples/LowLevel/dumpit.py: use new name PyKCS11.LowLevel instead of PyKCS11 * [r23] Makefile, setup.py, src/pykcs11.i: the old API (low level) is now in PyKCS11/LowLevel and the new API (high level) is in PyKCS11/__init__ * [r22] Makefile: add a doc rule to call epydoc * [r21] src/pykcs11.i: add some missing PKCS#11 #defines * [r20] src/pykcs11.i: CK_TOKEN_INFO: add GetUtcTime() method * [r19] src/dyn_unix.c: add a \n at the end of the logged line * [r18] Makefile: if one .h used by pykcs11.i is modified we touch pykcs11.i so that swig is called again * [r17] Makefile: clean rule: remove generated *.pyc files * [r16] samples/LowLevel/InitTokenPin.py, test.py, test1.py: convert from DOS to Unix end of line style otherwise the magic 1st line "#!/usr/bin/env python" will not work since python^M is searched and is not found * [r15] InitTokenPin.py, dumpit.py, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py: move samples (using the old API) in samples/LowLevel * [r14] PyKCS11/__init__.py: new (high level) API * [r13] PyKCS11: new directory * [r12] samples/LowLevel: new directory for low level samples * [r11] samples: new directory 2006-08-29 lrousseau * [r10] InitTokenPin.py, dumpit.py, setup.py, test.py, test1.py: make Python scripts executable 2006-07-14 midori * [r8] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r7] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r6] COPYING, InitTokenPin.py, Makefile, PyKCS11.sln, PyKCS11.vcproj, documentation.htm, dumpit.py, pykcs11.rc, readme.txt, resource.h, setup.py, src, src/PyKCS11.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/dyn_generic.h, src/dyn_unix.c, src/dyn_win32.c, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/rsaref, src/rsaref/cryptoki.h, src/rsaref/pkcs11.h, src/rsaref/pkcs11f.h, src/rsaref/pkcs11t.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h, src/win32_pykcs11_wrap.cpp, test.py, test1.py: 1.0.2 - July 2006, Ludovic Rousseau port to Unix (tested on GNU/Linux only) explicit call to SWIG to generate the wrapper 1.0.1 - 2004 Giuseppe Amato (Midori) first version Windows only * [r5] .: - Added ignore filters * [r2] .: Main dev
2008-11-05 lrousseau * [r159] readme.txt: release 1.2.1 * [r158] src/rsaref: remove now useless rsaref/* files since we use opensc/pkcs11.h instead 2008-11-04 midori * [r157] setup.py: incremented version to 1.2.1 in setup.py * [r156] PyKCS11/__init__.py: HiLevel interface: Session.findObjects() function returns a copy of the object handles to avoid a bug in older SWIG versions * [r155] PyKCS11.vcproj: updated VS71 project to use opensc's PKCS#11 header 2008-10-31 lrousseau * [r154] PyKCS11/__init__.py: CKU_USER, CKU_SO and CKM_RSA_PKCS can't be cross referenced by epydoc * [r153] Makefile: use --verbose argument for epydoc * [r152] Makefile: do not set PYTHONPATH. It makes epydoc crash 2008-10-26 lrousseau * [r151] Makefile: add a distclean rule (same as clean) * [r150] debian: the debian/ directory is now available at svn://svn.debian.org/svn/python-modules/packages/pykcs11/trunk/debian * [r149] Makefile: build install clean rebuild dist and doc are phony targets "make build" failed since a build/ directory already exists * [r148] MANIFEST, Makefile, Makefile.win32, src/pykcs11.i, src/stdafx.h: use opensc/pkcs11.h instead of rsaref/cryptoki.h * [r147] src/opensc, src/opensc/pkcs11.h: add pkcs11.h to replace the rsaref/* files because they are not free software: no rights to distribute modified versions. * [r146] src/pkcs11lib.cpp: CPKCS11Lib::CPKCS11Lib(): change the order of member initialisation to refect the order they are declared in src/pkcs11lib.h src/pkcs11lib.h:48: attention : CPKCS11Lib::m_pFunc will be initialized after src/pkcs11lib.h:41: attention : bool CPKCS11Lib::m_bFinalizeOnClose src/pkcs11lib.cpp:41: attention : when initialized here 2008-10-23 midori * [r145] src/pkcs11lib.cpp: - reordered members initialization 2008-10-10 lrousseau * [r144] samples/getinfo.py: put the slots loop inside a try/except to iterate over each slot without exiting on the first error * [r143] samples/getinfo.py: do not display ulMinKeySize and ulMaxKeySize for CKF_DIGEST mechanisms * [r142] samples/getinfo.py: dump all slots instead of just the first one by default 2008-09-05 lrousseau * [r141] samples/getinfo.py: do not display ulMinKeySize or ulMaxKeySize if they are CK_UNAVAILABLE_INFORMATION 2008-09-01 lrousseau * [r140] samples/getinfo.py: short version of --lib is -c not -d 2008-08-28 lrousseau * [r138] test: remove * [r137] test: test * [r136] test: remove * [r135] test: test * [r134] pykcs11.rc, readme.txt, setup.py: release 1.2.0 * [r133] readme.txt: add history for 1.1.0 and 1.1.1 versions 2008-08-27 lrousseau * [r132] Makefile: add dist rule * [r131] debian/control: change Section: from libs to python * [r130] Makefile: improve build rule using build-stamp * [r129] src/ck_attribute_smart.cpp: add #include <string.h> src/ck_attribute_smart.cpp:167: erreur: strlen was not declared in this scope 2008-08-26 lrousseau * [r128] PyKCS11/__init__.py: class CK_SESSION_INFO: improve epydoc documentation 2008-08-25 lrousseau * [r127] PyKCS11/__init__.py: line reformat * [r126] PyKCS11/__init__.py: PyKCS11Error(): use CKR[] instead of a local dictionnary * [r125] PyKCS11/__init__.py: class PyKCS11Error herits from Exception * [r124] samples/getinfo.py: call session.getSessionInfo() and display session info if a session is opened * [r123] PyKCS11/__init__.py: implement Session().getSessionInfo() * [r122] PyKCS11/__init__.py: the classes now herits of object (new class style) 2008-06-12 lrousseau * [r121] samples/dumpit.py: update copyright date * [r120] samples/dumpit.py: display the PKCS#11 objects ID instead of the Python objects ID * [r119] samples/dumpit.py: filter the attributes list to only use the numerical values * [r118] PyKCS11/__init__.py: typos in comments 2008-02-11 lrousseau * [r117] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add support of C_GetMechanismInfo See Ticket #11 * [r116] PyKCS11/__init__.py: dos2unix * [r115] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add getMechanismList() method See Ticket #11 2008-02-10 lrousseau * [r114] debian/dirs: not needed since usr/bin and usr/sbin are empty 2008-02-07 lrousseau * [r113] readme.txt: update copyright date * [r112] src/pkcs11lib.h: reformat * [r111] src/pkcs11lib.cpp: reformat * [r110] src/pykcs11.cpp: dos2unix * [r109] PyKCS11: ignore LowLevel.py * [r108] src: ignore unix_pykcs11_wrap.cpp * [r107] src/pykcs11.i: minor reformat * [r106] Makefile: do not redifine PYTHON if it is already defined * [r105] debian/rules: install a version for every installed Python versions * [r104] debian/control: use python-central instead of python-support * [r103] debian/control: Build-Depends: add versions for python-support and python-all-dev 2008-02-05 lrousseau * [r102] debian/control: use a more specific debhelper version dependency E: pykcs11 source: package-needs-python-policy-debhelper * [r101] PyKCS11/__init__.py: replace static allocation by dynamically generated code Close bug #12 "Reducing PyKCS11/__init__py size" * [r100] src/pkcs11lib.h: move m_bFinalizeOnClose and m_bAutoInitialized before m_hLib in the class to avoid a compiler warning. close bug #10 "warning when building 1ith python2.5/swig1.3.31" 2007-04-03 lrousseau * [r99] samples/getinfo.py: display more getInfo fields 2007-03-28 lrousseau * [r98] samples/dumpit.py: use a try: block to not stop on the first slot with an error * [r97] samples/dumpit.py: use -S instead of -s for sign so we wan use -s for slot * [r96] samples/dumpit.py: add [-d][--decrypt] to help 2007-03-26 lrousseau * [r95] samples/getinfo.py: exit if no slot is found 2006-12-21 midori * [r92] PyKCS11/__init__.py, pykcs11.rc, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, setup.py, src/pykcs11.i: -updated high level interface and samples to latest low level interface -minor fix: the CK_OBJECT_HANDLE and CK_SESSION_HANDLE wrapeprs are now declared as simple types (unsigned long) so the value() method returns a number nad assign() method accepts a number. -increased version to 1.1.1 (resources and setup.py) * [r91] src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i: - fixed bug #3 "Functions returning object handles can't be used"; now the C_FindObject() function, the only one that returns an array of object, should be used with the ckobjlist type instead of ckintlist. The objects creation functions, such as C_CreateObject(), return objects in a CK_OBJECT_HANDLE instance. 2006-11-20 lrousseau * [r90] MANIFEST: dos2unix the file to make "setup.py sdist" work on Unix * [r89] setup.py: add #! /usr/bin/env python 2006-10-10 lrousseau * [r88] samples/dumpit.py: catch session.login() and session.logout() exceptions 2006-09-13 midori * [r85] MANIFEST, samples/getinfo.py: GetInfo script: lib on the command line was ignored; removed colors on windows Added a simple makefile for win32 (should be used with VS.NET/nmake) * [r83] Makefile.win32, setup.py: added a makefile for win32 (works with nmake and VS.NET) latest swig versions use dymanic_cast: this require /GR compiler argument when used with VS.NET. * [r82] src/rsaref/cryptoki.h: fixed compile error on Unix platforms 2006-09-12 midori * [r81] setup.py, src/rsaref/cryptoki.h: cryptoki.h: _WIN32 instead of WIN32 is defined compiling with distutils under win32+VS.NET setup.py: under Win32, added flags to compile with debug symbols database (NOT a DEBUG build, just symbols in a separate .pdb file). * [r80] PyKCS11/__init__.py: PyKCS11.Session.isString(): CKA_SERIAL_NUMBER was string, now is binary. * [r79] MANIFEST: Added MANIFEST file (used by distutils to build sources distribution archive) * [r77] src/ck_attribute_smart.cpp: BugFix: CKA_SERIAL_NUMBER is binary, not string (LowLevel interface) 2006-09-11 midori * [r67] PyKCS11/__init__.py: - fixed some docstring - MechanismRSAPKCS1 is now an instance of Mechanism 2006-09-11 lrousseau * [r66] samples/dumpit.py: do not duplicate the CKA_CERTIFICATE_TYPE and CKA_KEY_TYPE infos * [r65] samples/dumpit.py: add human version for CKA_KEY_TYPE value * [r64] samples/dumpit.py: -s does not take an argument * [r63] samples/dumpit.py: typo * [r62] PyKCS11/__init__.py: typos 2006-09-11 midori * [r61] setup.py: setup.py: 1) now works on win32, can generate binaries distribution packages (zip, installer); 2) detailed project description has been added 2006-09-10 midori * [r60] PyKCS11/__init__.py, samples/dumpit.py: - added Session.sign and Session.decrypt functions to the high level interface - dumpit.py is now able to test new sign and decrypt functions - Minor fiexs to Session.getAttributeValue(): * added an optional parameter to get all value as binary (unparsed) * updated docs * [r59] src/pykcs11.cpp, src/pykcs11.i: - Fixed compile error using distutil on win32+VS.NET - Added byte array handling wrapper, to be used for CK_MECHANISM param field initialization * [r58] pykcs11.rc: Increased version, updated some other field * [r57] src/dyn_win32.c: win32 detection: _WIN32 macro is also used. This fix a build error using distutils under win32+VS.NET 2006-09-08 midori * [r56] src/win32_pykcs11_wrap.cpp: SWIG generated win32 wrapper removed; it is going to be generated time by time for the sources distribution archive. 2006-09-07 midori * [r55] PyKCS11.vcproj, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i, src/win32_pykcs11_wrap.cpp: - BugFix (LowLevel interface) all PKCS11 object handles are now handled as signed (long) to avoid a SWIG error when handle values are >= 0x80000000 - Fixed the compile problem with swig version > 1.3.27 - VS2003 project: DLL renamed to _LowLevel.dll 2006-09-05 lrousseau * [r54] PyKCS11/__init__.py: improve documentation * [r53] documentation.htm: clean HTML code (thanks to tidy(1) for the errors list) * [r52] documentation.htm: correct typos 2006-09-01 midori * [r51] setup.py: - added /usr/local include and lib in search paths (needed by FreeBSD) - compiles and runs on FreeBSD 6.1 (more testing needed) - all tabs converted to spaces 2006-08-31 lrousseau * [r50] PyKCS11/__init__.py: PyKCS11Lib.load(): add "(set PYKCS11LIB env variable)" in the error message when no PKCS11 library is specified * [r49] samples/unblock.py: sample code to unblock a PIN * [r48] PyKCS11/__init__.py, readme.txt, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, samples/getinfo.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h: update FSF postal address * [r47] COPYING: update GNU GPL licence text from http://www.gnu.org/licenses/gpl.txt - postal address changed - "How to Apply These Terms to Your New Programs" added * [r46] PyKCS11/__init__.py: class Session: add initToken(), initPin() and setPin() methods * [r45] PyKCS11/__init__.py: errors{}: key -1 was used twice Thanks to Giuseppe Amato for the patch * [r44] PyKCS11/__init__.py: remove a print used for debug * [r43] Makefile: doc rule: do not hardcode the build directory * [r42] Makefile: clean rule: do not fail (add -f) removal of PyKCS11/LowLevel.py * [r41] Makefile: The Python version to us may be defined by PYTHONVER. Default valus is 2.4 * [r40] setup.py: get the Python version from Python itself instead of hardcoding "2.4" * [r39] samples/getinfo.py: pass the correct argument in pkcs11.openSession() 2006-08-30 lrousseau * [r38] debian, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dirs, debian/docs, debian/examples, debian/pycompat, debian/rules: add needed files to generate a Debian package * [r37] Makefile: doc rule: remove the html/ directory before generating the API doc * [r36] Makefile: doc rule: add a dependency on build * [r35] Makefile: doc rule: set PYTHONPATH so that _LowLevel.so is found by epydoc * [r34] samples/dumpit.py: do not use slot= argument since we dump every available slots * [r33] samples/getinfo.py: convert the slot number from text to integer * [r32] setup.py: version 1.1.0 * [r31] src/PyKCS11.py: Remove the old API file generated by SWIG. The new SWIG generated file is PyKCS11/LowLevel.py now * [r30] Makefile: clean rule: rm PyKCS11/LowLevel.py * [r29] samples/LowLevel/test.py, samples/LowLevel/test1.py: revert PKCS#11 library name * [r28] samples/dumpit.py, samples/getinfo.py: new API (high level) samples * [r27] samples/LowLevel/test.py, samples/LowLevel/test1.py, test.py, test1.py: move old API test samples in samples/LowLevel/ * [r26] test.py, test1.py: use PyKCS11.LowLevel instead of PyKCS11 * [r25] samples/LowLevel/InitTokenPin.py: convert to old API names * [r24] samples/LowLevel/dumpit.py: use new name PyKCS11.LowLevel instead of PyKCS11 * [r23] Makefile, setup.py, src/pykcs11.i: the old API (low level) is now in PyKCS11/LowLevel and the new API (high level) is in PyKCS11/__init__ * [r22] Makefile: add a doc rule to call epydoc * [r21] src/pykcs11.i: add some missing PKCS#11 #defines * [r20] src/pykcs11.i: CK_TOKEN_INFO: add GetUtcTime() method * [r19] src/dyn_unix.c: add a \n at the end of the logged line * [r18] Makefile: if one .h used by pykcs11.i is modified we touch pykcs11.i so that swig is called again * [r17] Makefile: clean rule: remove generated *.pyc files * [r16] samples/LowLevel/InitTokenPin.py, test.py, test1.py: convert from DOS to Unix end of line style otherwise the magic 1st line "#!/usr/bin/env python" will not work since python^M is searched and is not found * [r15] InitTokenPin.py, dumpit.py, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py: move samples (using the old API) in samples/LowLevel * [r14] PyKCS11/__init__.py: new (high level) API * [r13] PyKCS11: new directory * [r12] samples/LowLevel: new directory for low level samples * [r11] samples: new directory 2006-08-29 lrousseau * [r10] InitTokenPin.py, dumpit.py, setup.py, test.py, test1.py: make Python scripts executable 2006-07-14 midori * [r8] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r7] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r6] COPYING, InitTokenPin.py, Makefile, PyKCS11.sln, PyKCS11.vcproj, documentation.htm, dumpit.py, pykcs11.rc, readme.txt, resource.h, setup.py, src, src/PyKCS11.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/dyn_generic.h, src/dyn_unix.c, src/dyn_win32.c, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/rsaref, src/rsaref/cryptoki.h, src/rsaref/pkcs11.h, src/rsaref/pkcs11f.h, src/rsaref/pkcs11t.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h, src/win32_pykcs11_wrap.cpp, test.py, test1.py: 1.0.2 - July 2006, Ludovic Rousseau port to Unix (tested on GNU/Linux only) explicit call to SWIG to generate the wrapper 1.0.1 - 2004 Giuseppe Amato (Midori) first version Windows only * [r5] .: - Added ignore filters * [r2] .: Main dev
2008-11-05 lrousseau * [r159] readme.txt: release 1.2.1 * [r158] src/rsaref: remove now useless rsaref/* files since we use opensc/pkcs11.h instead 2008-11-04 midori * [r157] setup.py: incremented version to 1.2.1 in setup.py * [r156] PyKCS11/__init__.py: HiLevel interface: Session.findObjects() function returns a copy of the object handles to avoid a bug in older SWIG versions * [r155] PyKCS11.vcproj: updated VS71 project to use opensc's PKCS#11 header 2008-10-31 lrousseau * [r154] PyKCS11/__init__.py: CKU_USER, CKU_SO and CKM_RSA_PKCS can't be cross referenced by epydoc * [r153] Makefile: use --verbose argument for epydoc * [r152] Makefile: do not set PYTHONPATH. It makes epydoc crash 2008-10-26 lrousseau * [r151] Makefile: add a distclean rule (same as clean) * [r150] debian: the debian/ directory is now available at svn://svn.debian.org/svn/python-modules/packages/pykcs11/trunk/debian * [r149] Makefile: build install clean rebuild dist and doc are phony targets "make build" failed since a build/ directory already exists * [r148] MANIFEST, Makefile, Makefile.win32, src/pykcs11.i, src/stdafx.h: use opensc/pkcs11.h instead of rsaref/cryptoki.h * [r147] src/opensc, src/opensc/pkcs11.h: add pkcs11.h to replace the rsaref/* files because they are not free software: no rights to distribute modified versions. * [r146] src/pkcs11lib.cpp: CPKCS11Lib::CPKCS11Lib(): change the order of member initialisation to refect the order they are declared in src/pkcs11lib.h src/pkcs11lib.h:48: attention : CPKCS11Lib::m_pFunc will be initialized after src/pkcs11lib.h:41: attention : bool CPKCS11Lib::m_bFinalizeOnClose src/pkcs11lib.cpp:41: attention : when initialized here 2008-10-23 midori * [r145] src/pkcs11lib.cpp: - reordered members initialization 2008-10-10 lrousseau * [r144] samples/getinfo.py: put the slots loop inside a try/except to iterate over each slot without exiting on the first error * [r143] samples/getinfo.py: do not display ulMinKeySize and ulMaxKeySize for CKF_DIGEST mechanisms * [r142] samples/getinfo.py: dump all slots instead of just the first one by default 2008-09-05 lrousseau * [r141] samples/getinfo.py: do not display ulMinKeySize or ulMaxKeySize if they are CK_UNAVAILABLE_INFORMATION 2008-09-01 lrousseau * [r140] samples/getinfo.py: short version of --lib is -c not -d 2008-08-28 lrousseau * [r138] test: remove * [r137] test: test * [r136] test: remove * [r135] test: test * [r134] pykcs11.rc, readme.txt, setup.py: release 1.2.0 * [r133] readme.txt: add history for 1.1.0 and 1.1.1 versions 2008-08-27 lrousseau * [r132] Makefile: add dist rule * [r131] debian/control: change Section: from libs to python * [r130] Makefile: improve build rule using build-stamp * [r129] src/ck_attribute_smart.cpp: add #include <string.h> src/ck_attribute_smart.cpp:167: erreur: strlen was not declared in this scope 2008-08-26 lrousseau * [r128] PyKCS11/__init__.py: class CK_SESSION_INFO: improve epydoc documentation 2008-08-25 lrousseau * [r127] PyKCS11/__init__.py: line reformat * [r126] PyKCS11/__init__.py: PyKCS11Error(): use CKR[] instead of a local dictionnary * [r125] PyKCS11/__init__.py: class PyKCS11Error herits from Exception * [r124] samples/getinfo.py: call session.getSessionInfo() and display session info if a session is opened * [r123] PyKCS11/__init__.py: implement Session().getSessionInfo() * [r122] PyKCS11/__init__.py: the classes now herits of object (new class style) 2008-06-12 lrousseau * [r121] samples/dumpit.py: update copyright date * [r120] samples/dumpit.py: display the PKCS#11 objects ID instead of the Python objects ID * [r119] samples/dumpit.py: filter the attributes list to only use the numerical values * [r118] PyKCS11/__init__.py: typos in comments 2008-02-11 lrousseau * [r117] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add support of C_GetMechanismInfo See Ticket #11 * [r116] PyKCS11/__init__.py: dos2unix * [r115] PyKCS11/__init__.py, samples/getinfo.py, src/pkcs11lib.cpp, src/pkcs11lib.h: add getMechanismList() method See Ticket #11 2008-02-10 lrousseau * [r114] debian/dirs: not needed since usr/bin and usr/sbin are empty 2008-02-07 lrousseau * [r113] readme.txt: update copyright date * [r112] src/pkcs11lib.h: reformat * [r111] src/pkcs11lib.cpp: reformat * [r110] src/pykcs11.cpp: dos2unix * [r109] PyKCS11: ignore LowLevel.py * [r108] src: ignore unix_pykcs11_wrap.cpp * [r107] src/pykcs11.i: minor reformat * [r106] Makefile: do not redifine PYTHON if it is already defined * [r105] debian/rules: install a version for every installed Python versions * [r104] debian/control: use python-central instead of python-support * [r103] debian/control: Build-Depends: add versions for python-support and python-all-dev 2008-02-05 lrousseau * [r102] debian/control: use a more specific debhelper version dependency E: pykcs11 source: package-needs-python-policy-debhelper * [r101] PyKCS11/__init__.py: replace static allocation by dynamically generated code Close bug #12 "Reducing PyKCS11/__init__py size" * [r100] src/pkcs11lib.h: move m_bFinalizeOnClose and m_bAutoInitialized before m_hLib in the class to avoid a compiler warning. close bug #10 "warning when building 1ith python2.5/swig1.3.31" 2007-04-03 lrousseau * [r99] samples/getinfo.py: display more getInfo fields 2007-03-28 lrousseau * [r98] samples/dumpit.py: use a try: block to not stop on the first slot with an error * [r97] samples/dumpit.py: use -S instead of -s for sign so we wan use -s for slot * [r96] samples/dumpit.py: add [-d][--decrypt] to help 2007-03-26 lrousseau * [r95] samples/getinfo.py: exit if no slot is found 2006-12-21 midori * [r92] PyKCS11/__init__.py, pykcs11.rc, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, setup.py, src/pykcs11.i: -updated high level interface and samples to latest low level interface -minor fix: the CK_OBJECT_HANDLE and CK_SESSION_HANDLE wrapeprs are now declared as simple types (unsigned long) so the value() method returns a number nad assign() method accepts a number. -increased version to 1.1.1 (resources and setup.py) * [r91] src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i: - fixed bug #3 "Functions returning object handles can't be used"; now the C_FindObject() function, the only one that returns an array of object, should be used with the ckobjlist type instead of ckintlist. The objects creation functions, such as C_CreateObject(), return objects in a CK_OBJECT_HANDLE instance. 2006-11-20 lrousseau * [r90] MANIFEST: dos2unix the file to make "setup.py sdist" work on Unix * [r89] setup.py: add #! /usr/bin/env python 2006-10-10 lrousseau * [r88] samples/dumpit.py: catch session.login() and session.logout() exceptions 2006-09-13 midori * [r85] MANIFEST, samples/getinfo.py: GetInfo script: lib on the command line was ignored; removed colors on windows Added a simple makefile for win32 (should be used with VS.NET/nmake) * [r83] Makefile.win32, setup.py: added a makefile for win32 (works with nmake and VS.NET) latest swig versions use dymanic_cast: this require /GR compiler argument when used with VS.NET. * [r82] src/rsaref/cryptoki.h: fixed compile error on Unix platforms 2006-09-12 midori * [r81] setup.py, src/rsaref/cryptoki.h: cryptoki.h: _WIN32 instead of WIN32 is defined compiling with distutils under win32+VS.NET setup.py: under Win32, added flags to compile with debug symbols database (NOT a DEBUG build, just symbols in a separate .pdb file). * [r80] PyKCS11/__init__.py: PyKCS11.Session.isString(): CKA_SERIAL_NUMBER was string, now is binary. * [r79] MANIFEST: Added MANIFEST file (used by distutils to build sources distribution archive) * [r77] src/ck_attribute_smart.cpp: BugFix: CKA_SERIAL_NUMBER is binary, not string (LowLevel interface) 2006-09-11 midori * [r67] PyKCS11/__init__.py: - fixed some docstring - MechanismRSAPKCS1 is now an instance of Mechanism 2006-09-11 lrousseau * [r66] samples/dumpit.py: do not duplicate the CKA_CERTIFICATE_TYPE and CKA_KEY_TYPE infos * [r65] samples/dumpit.py: add human version for CKA_KEY_TYPE value * [r64] samples/dumpit.py: -s does not take an argument * [r63] samples/dumpit.py: typo * [r62] PyKCS11/__init__.py: typos 2006-09-11 midori * [r61] setup.py: setup.py: 1) now works on win32, can generate binaries distribution packages (zip, installer); 2) detailed project description has been added 2006-09-10 midori * [r60] PyKCS11/__init__.py, samples/dumpit.py: - added Session.sign and Session.decrypt functions to the high level interface - dumpit.py is now able to test new sign and decrypt functions - Minor fiexs to Session.getAttributeValue(): * added an optional parameter to get all value as binary (unparsed) * updated docs * [r59] src/pykcs11.cpp, src/pykcs11.i: - Fixed compile error using distutil on win32+VS.NET - Added byte array handling wrapper, to be used for CK_MECHANISM param field initialization * [r58] pykcs11.rc: Increased version, updated some other field * [r57] src/dyn_win32.c: win32 detection: _WIN32 macro is also used. This fix a build error using distutils under win32+VS.NET 2006-09-08 midori * [r56] src/win32_pykcs11_wrap.cpp: SWIG generated win32 wrapper removed; it is going to be generated time by time for the sources distribution archive. 2006-09-07 midori * [r55] PyKCS11.vcproj, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.i, src/win32_pykcs11_wrap.cpp: - BugFix (LowLevel interface) all PKCS11 object handles are now handled as signed (long) to avoid a SWIG error when handle values are >= 0x80000000 - Fixed the compile problem with swig version > 1.3.27 - VS2003 project: DLL renamed to _LowLevel.dll 2006-09-05 lrousseau * [r54] PyKCS11/__init__.py: improve documentation * [r53] documentation.htm: clean HTML code (thanks to tidy(1) for the errors list) * [r52] documentation.htm: correct typos 2006-09-01 midori * [r51] setup.py: - added /usr/local include and lib in search paths (needed by FreeBSD) - compiles and runs on FreeBSD 6.1 (more testing needed) - all tabs converted to spaces 2006-08-31 lrousseau * [r50] PyKCS11/__init__.py: PyKCS11Lib.load(): add "(set PYKCS11LIB env variable)" in the error message when no PKCS11 library is specified * [r49] samples/unblock.py: sample code to unblock a PIN * [r48] PyKCS11/__init__.py, readme.txt, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py, samples/LowLevel/test.py, samples/LowLevel/test1.py, samples/dumpit.py, samples/getinfo.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h: update FSF postal address * [r47] COPYING: update GNU GPL licence text from http://www.gnu.org/licenses/gpl.txt - postal address changed - "How to Apply These Terms to Your New Programs" added * [r46] PyKCS11/__init__.py: class Session: add initToken(), initPin() and setPin() methods * [r45] PyKCS11/__init__.py: errors{}: key -1 was used twice Thanks to Giuseppe Amato for the patch * [r44] PyKCS11/__init__.py: remove a print used for debug * [r43] Makefile: doc rule: do not hardcode the build directory * [r42] Makefile: clean rule: do not fail (add -f) removal of PyKCS11/LowLevel.py * [r41] Makefile: The Python version to us may be defined by PYTHONVER. Default valus is 2.4 * [r40] setup.py: get the Python version from Python itself instead of hardcoding "2.4" * [r39] samples/getinfo.py: pass the correct argument in pkcs11.openSession() 2006-08-30 lrousseau * [r38] debian, debian/changelog, debian/compat, debian/control, debian/copyright, debian/dirs, debian/docs, debian/examples, debian/pycompat, debian/rules: add needed files to generate a Debian package * [r37] Makefile: doc rule: remove the html/ directory before generating the API doc * [r36] Makefile: doc rule: add a dependency on build * [r35] Makefile: doc rule: set PYTHONPATH so that _LowLevel.so is found by epydoc * [r34] samples/dumpit.py: do not use slot= argument since we dump every available slots * [r33] samples/getinfo.py: convert the slot number from text to integer * [r32] setup.py: version 1.1.0 * [r31] src/PyKCS11.py: Remove the old API file generated by SWIG. The new SWIG generated file is PyKCS11/LowLevel.py now * [r30] Makefile: clean rule: rm PyKCS11/LowLevel.py * [r29] samples/LowLevel/test.py, samples/LowLevel/test1.py: revert PKCS#11 library name * [r28] samples/dumpit.py, samples/getinfo.py: new API (high level) samples * [r27] samples/LowLevel/test.py, samples/LowLevel/test1.py, test.py, test1.py: move old API test samples in samples/LowLevel/ * [r26] test.py, test1.py: use PyKCS11.LowLevel instead of PyKCS11 * [r25] samples/LowLevel/InitTokenPin.py: convert to old API names * [r24] samples/LowLevel/dumpit.py: use new name PyKCS11.LowLevel instead of PyKCS11 * [r23] Makefile, setup.py, src/pykcs11.i: the old API (low level) is now in PyKCS11/LowLevel and the new API (high level) is in PyKCS11/__init__ * [r22] Makefile: add a doc rule to call epydoc * [r21] src/pykcs11.i: add some missing PKCS#11 #defines * [r20] src/pykcs11.i: CK_TOKEN_INFO: add GetUtcTime() method * [r19] src/dyn_unix.c: add a \n at the end of the logged line * [r18] Makefile: if one .h used by pykcs11.i is modified we touch pykcs11.i so that swig is called again * [r17] Makefile: clean rule: remove generated *.pyc files * [r16] samples/LowLevel/InitTokenPin.py, test.py, test1.py: convert from DOS to Unix end of line style otherwise the magic 1st line "#!/usr/bin/env python" will not work since python^M is searched and is not found * [r15] InitTokenPin.py, dumpit.py, samples/LowLevel/InitTokenPin.py, samples/LowLevel/dumpit.py: move samples (using the old API) in samples/LowLevel * [r14] PyKCS11/__init__.py: new (high level) API * [r13] PyKCS11: new directory * [r12] samples/LowLevel: new directory for low level samples * [r11] samples: new directory 2006-08-29 lrousseau * [r10] InitTokenPin.py, dumpit.py, setup.py, test.py, test1.py: make Python scripts executable 2006-07-14 midori * [r8] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r7] src/rsaref/cryptoki.h, src/rsaref/cryptoki.h: Renamed remotely * [r6] COPYING, InitTokenPin.py, Makefile, PyKCS11.sln, PyKCS11.vcproj, documentation.htm, dumpit.py, pykcs11.rc, readme.txt, resource.h, setup.py, src, src/PyKCS11.py, src/ck_attribute_smart.cpp, src/ck_attribute_smart.h, src/dyn_generic.h, src/dyn_unix.c, src/dyn_win32.c, src/pkcs11lib.cpp, src/pkcs11lib.h, src/pykcs11.cpp, src/pykcs11.h, src/pykcs11.i, src/pykcs11string.cpp, src/pykcs11string.h, src/rsaref, src/rsaref/cryptoki.h, src/rsaref/pkcs11.h, src/rsaref/pkcs11f.h, src/rsaref/pkcs11t.h, src/stdafx.cpp, src/stdafx.h, src/utility.cpp, src/utility.h, src/win32_pykcs11_wrap.cpp, test.py, test1.py: 1.0.2 - July 2006, Ludovic Rousseau port to Unix (tested on GNU/Linux only) explicit call to SWIG to generate the wrapper 1.0.1 - 2004 Giuseppe Amato (Midori) first version Windows only * [r5] .: - Added ignore filters * [r2] .: Main dev
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?