root/pykcs11/tags/1.2.0/readme.txt

Revision 134, 2.5 kB (checked in by lrousseau, 2 years ago)

release 1.2.0

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.0 - August 2008, Ludovic Rousseau
77         add getMechanismList() and getMechanismInfo()
78         add Session().getSessionInfo()
79         bug fixes
80
81 1.1.1 - December 2006, Giuseppe Amato (Midori)
82         bug fixes
83
84 1.1.0 - August 2006, Ludovic Rousseau
85         Introduce high level API
86
87 1.0.2 - July 2006, Ludovic Rousseau
88         port to Unix (tested on GNU/Linux only)
89         explicit call to SWIG to generate the wrapper
90
91 1.0.1 - 2004 Giuseppe Amato (Midori)
92         first version
93         Windows only
94
95
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