root/pykcs11/trunk/readme.txt

Revision 197, 2.9 kB (checked in by lrousseau, 2 months ago)

release 1.2.2

Line 
1 ========================================================================
2         PyKCS11 - PKCS#11 Wrapper for Python - Project Overview
3 ========================================================================
4
5 Authors
6 """""""
7
8 - Copyright (C) 2004 Midori (midori -- a-t -- paipai dot net)
9 - Copyright (C) 2006-2008 Ludovic Rousseau (ludovic.rousseau@free.fr)
10
11
12 Licence
13 """""""
14
15  This file is free software; you can redistribute it and/or modify it
16  under the terms of the GNU General Public License as published by
17  the Free Software Foundation; either version 2 of the License, or
18  (at your option) any later version.
19
20  This program is distributed in the hope that it will be useful, but
21  WITHOUT ANY WARRANTY; without even the implied warranty of
22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23  General Public License for more details.
24
25  You should have received a copy of the GNU General Public License
26  along with this program; if not, write to the Free Software
27  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
28
29
30 Unix Howto
31 """"""""""
32
33 $ make build
34 $ make install (or make install DESTDIR=/foo/bar)
35
36
37 Windows Howto
38 """""""""""""
39
40 Please use the VS.NET 2003 project to build the library.
41
42
43 Known Bugs
44 """"""""""
45
46 Current version should be compiled using SWIG 1.3.27.
47 Using 1.3.28+ an error similar to may be generated by the compiler:
48
49 src\win32_pykcs11_wrap.cpp error C2440: 'static_cast' :
50                      cannot convert from 'char *' to 'unsigned char *'
51
52 The precompiled wrapper included in distribution is being generated
53 using SWIG 1.3.27.
54
55 If in Windows the linker complains that the Python24_d.lib doesn't exists
56 Please edit the "SWIG-Install-Dir\Lib\python\python.swg" file and replace
57 following line:
58 #include "Python.h"
59
60 with following code:
61 #ifdef _DEBUG
62   #undef _DEBUG
63   #include "Python.h"
64   #define _DEBUG
65 #else
66   #include "Python.h"
67 #endif
68
69 This prevents the linker to try to link against the debug version of python lib
70 that doesn't come with the standard distribution.
71
72
73 History
74 """""""
75
76 1.2.2 - June 2010, Ludovic Rousseau
77         Debug low level C_GenerateRandom
78         Add seedRandom() and generateRandom() in the high level API
79
80 1.2.1 - November 2008, Ludovic Rousseau
81         Use src/opensc/pkcs11.h instead of src/rsaref/* files since the
82          files from RSA are not free enough (no right to distribute modified
83          versions for example)
84         improve samples/getinfo.py script
85         bug fixes
86
87 1.2.0 - August 2008, Ludovic Rousseau
88         add getMechanismList() and getMechanismInfo()
89         add Session().getSessionInfo()
90         bug fixes
91
92 1.1.1 - December 2006, Giuseppe Amato (Midori)
93         bug fixes
94
95 1.1.0 - August 2006, Ludovic Rousseau
96         Introduce high level API
97
98 1.0.2 - July 2006, Ludovic Rousseau
99         port to Unix (tested on GNU/Linux only)
100         explicit call to SWIG to generate the wrapper
101
102 1.0.1 - 2004 Giuseppe Amato (Midori)
103         first version
104         Windows only
105
106
Note: See TracBrowser for help on using the browser.
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006