-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathChangeLog
328 lines (240 loc) · 11.6 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
2005-12-10 Valery Febvre <[email protected]>
* xmlsec.py: Added 3 missing Key data formats:
- KeyDataFormatPkcs12 : the PKCS12 format (bag of keys and certs)
- KeyDataFormatCertPem : the PEM cert.
- KeyDataFormatCertDer : the DER cert.
Thx to Kershaw, PJ (Philip)
2005-09-19 Valery Febvre <[email protected]>
* base64.c, buffer.c, keys.c, keysdata.c, keysmngr.c, nodeset.c, transforms.c, wrap_objs.c, xmldsig.c, xmlenc.c:
Removed many many compilation warnings (GCC 4.x)
* app.c: Ooops, RSA OAEP is not supported by NSS yet
2005-08-23 Valery Febvre <[email protected]>
* app.c:
Added compile flags to provide only available key data ids with the
selected crypto library.
2005-08-17 Valery Febvre <[email protected]>
* INSTALL: update
* xmlsec_strings.py: Synchronized with XMLSec 1.2.9
* app.c, xmlsecmod.c:
Replaced bad XMLSEC_CRYPTO_MYCRYPTO with XMLSEC_CRYPTO_MSCRYPTO
* xmlsec.py, xmlsecmod.c, app.c, app.h: Synchronized with XMLSec 1.2.9
Added functions for the 15 new crypto transform algorithms appeared in
XMLSec 1.2.9 (OpenSSL 0.9.8 or greater is required)
- transformSha224Id, transformSha256Id, transformSha384Id, transformSha512Id
- transformHmacSha224Id, transformHmacSha256Id, transformHmacSha384Id,
transformHmacSha512Id
- transformMd5Id, transformRsaMd5Id, transformRsaRipemd160Id,
transformRsaSha224Id, transformRsaSha256Id, transformRsaSha384Id,
transformRsaSha512Id
2004-11-14 Valery Febvre <[email protected]>
* keys.c: Fixed a small bug in xmlSecKey_getattr()
"name" attribute was wrapped with wrap_xmlCharPtr() instead of wrap_xmlCharPtrConst()
* xmlsec.py: Fixed a small bug in getData() method of Key class
2004-10-03 Valery Febvre <[email protected]>
* xmlsec_strings.py: Synchronized with XMLSec 1.2.6
* setup.py, xmlsec.py, xmlsecmod.c, xmlsecmod.h, errors.c, errors.h:
Added errorsSetCallback() funtion and XMLSec error codes
2004-08-19 Valery Febvre <[email protected]>
* templates.c: Fixed a 'CheckArgs' bug in xmlsec_TmplSignatureCreate()
doc param can be None
* setup.py: Changed version
* keysdata.c: Fixed 2 'CheckArgs' bugs in xmlsec_KeyDataDebugDump()
and xmlsec_KeyDataDebugXmlDump()
output params were missed
2004-02-08 Valery Febvre <[email protected]>
* xmlsec.py: dsigReferenceCtxListId was transformed into a function
* transforms.c, xmldsig.c:
Basic args checking added in all xmlsec functions
2004-02-08 Valery Febvre <[email protected]>
* xmlsec.py: dsigReferenceCtxListId was transformed into a function
* transforms.c, xmldsig.c:
Basic args checking was added in all xmlsec functions
2004-02-07 Valery Febvre <[email protected]>
* parser.c, x509.c, xmlenc.c, xmlsec.c, xmltree.c, nodeset.c, keys.c
* keysdata.c, keysmngr.c, keysmngr.h, list.c, membuf.c:
Basic args checking added in all xmlsec functions
* xmlsec.py:
keyPtrListId, keyDataNameId, keyDataValueId, keyDataRetrievalMethodId,
keyDataEncryptedKeyId, transformXmlParserId, transformMemBufId and
simpleKeysStoreId were transformed into functions (+ doc added).
base64Encode() and base64Decode() functions modified (params were changed).
* list.h: Missing prototype for wrap_xmlSecPtrListId() func was added.
2004-02-03 Valery Febvre <[email protected]>
* app.c, base64.c, buffer.c, keyinfo.c:
Basic args checking was added in all xmlsec functions
* utils.c: File type was added in CheckArgs() function
2004-02-02 Valery Febvre <[email protected]>
* setup.py: utils.c added in sources list.
* templates.c:
Basic args checking was added in all xmlsec functions
* utils.c, utils.h, xmlsecmod.h: Initial commit
* wrap_objs.c, wrap_objs.h:
PythonStringList_AsCharPtrPtr was renamed in PythonStringList_get
xmlsec_error and HASH_TABLE_SIZE was moved in xmlsecmod.h
2004-01-27 Valery Febvre <[email protected]>
* xmlsec.py:
Methods __getattr__ and __setattr__ were added in Transform and
TransformCtx classes
* xmlsecmod.c:
Added methods: transformCtxGetAttr, transformCtxSetAttr,
transformGetAttr, transformSetAttr
* transforms.c, transforms.h:
Added functions: xmlSecTransform_getattr, xmlSecTransform_setattr
* transforms.c, transforms.h:
Added functions: xmlsec_TransformCtxPreExecuteCallback,
xmlSecTransformCtx_getattr, xmlSecTransformCtx_setattr
2004-01-25 Valery Febvre <[email protected]>
* examples/*.py:
All examples updated because Ids become functions.
* xmlsec.py:
Key data Ids and Crypto Transforms Ids become functions (+ doc added).
Attribut 'value' of class Key is now returned as KeyData object.
getValue, getData and ensureData methods of class Key return now KeyData
objects.
Transform Ids become functions (+ doc added).
TransformId class was added.
'defSignMethodId', 'defC14NMethodId' and 'defDigestMethodId' attributs
of class DSigCtx are now returned as TransformId object.
Function addRetrievalMethod was added in class TmplKeyInfo
New class TmplTransform was created with 7 methods.
New class TmplRetrievalMethod was created with 1 method.
2004-01-24 Valery Febvre <[email protected]>
* xmlsecmod.c:
Added methods tmplTransformAddHmacOutputLength,
tmplTransformAddRsaOaepParam, tmplTransformAddXsltStylesheet,
tmplTransformAddC14NInclNamespaces, tmplTransformAddXPath,
tmplTransformAddXPath2, tmplTransformAddXPointer, transformIdCreate
in xmlsec_methods[]
* xmldsig.c:
All PyCObject_AsVoidPtr() replaced by xmlSecTransformId_get()
* wrap_objs.h:
Structure xmlSecPtr_object and macro xmlSecPtr_get() were added.
* wrap_objs.c:
Function PyStringList_AsCharPtrArray() was added.
* transforms.c, transforms.h:
Added functions xmlsec_TransformInitializeMethod,
xmlsec_TransformFinalizeMethod, xmlsec_TransformGetDataTypeMethod,
xmlsec_TransformNodeReadMethod, xmlsec_TransformNodeWriteMethod,
xmlsec_TransformSetKeyRequirementsMethod, xmlsec_TransformSetKeyMethod,
xmlsec_TransformVerifyMethod, xmlsec_TransformPushBinMethod,
xmlsec_TransformPopBinMethod, xmlsec_TransformPushXmlMethod,
xmlsec_TransformPopXmlMethod, xmlsec_TransformExecuteMethod,
transforms_TransformIdCreate
* list.c:
All PyCObject_AsVoidPtr() replaced by xmlSecPtrListId_get()
* keysdata.c:
All PyCObject_AsVoidPtr() replaced by xmlSecKeyDataId_get()
* keys.c:
All PyCObject_AsVoidPtr() replaced by xmlSecKeyDataId_get()
* templates.c:
Added functions: xmlsec_TmplTransformAddHmacOutputLength,
xmlsec_TmplTransformAddRsaOaepParam,
xmlsec_TmplTransformAddXsltStylesheet,
xmlsec_TmplTransformAddC14NInclNamespaces,
xmlsec_TmplTransformAddXPath, xmlsec_TmplTransformAddXPath2,
xmlsec_TmplTransformAddXPointer
* base64.c:
xmlsec_Base64CtxFinal and xmlsec_Base64Decode fixed
2004-01-23 Valery Febvre <[email protected]>
* templates.c, templates.h:
All functions cleanup
Added functions xmlsec_TmplKeyInfoAddRetrievalMethod,
xmlsec_TmplRetrievalMethodAddTransform
2004-01-22 Valery Febvre <[email protected]>
* base64.c:
Bugfixes in xmlsec_Base64CtxUpdate, xmlsec_Base64CtxFinal, xmlsec_Base64Decode
2004-01-21 Valery Febvre <[email protected]>
* app.c:
Added '#if defined XMLSEC_CRYPTO_OPENSSL' to avoid compilation problems
with GnuTLS
* nodeset.c:
Added callback management for walkFunc attribut of xmlsec_NodeSetWalk() function
2004-01-20 Valery Febvre <[email protected]>
* xmlsec.py:
Added 9 functions: keyDataIdsGet, keyDataIdsInit, keyDataIdsShutdown,
keyDataIdsRegisterDefault, keyDataIdsRegister, keyDataXmlRead,
keyDataXmlWrite, keyDataBinRead, keyDataBinWrite
Added new class KeyData with methods: destroy, duplicate, generate,
getType, getSize, getIdentifier, debugDump, debugXmlDump, getName,
isValid, checkId, checkUsage, checkSize
Added new class KeyDataId with method: getName
Added missing arguments in KeyData.__init__
parseFile, parseMemory and parseMemoryExt functions return now
libxml2.xmlDoc objects instead of BAD PyCObjects.
Methods __getattr__ and __setattr__ were added in class NodeSet.
* xmlsecmod.c:
Added methods keyDataIdsGet, keyDataIdsInit, keyDataIdsShutdown,
keyDataIdsRegisterDefault, keyDataIdsRegister, keyDataGetAttr,
keyDataSetAttr, keyDataCreate, keyDataDuplicate, keyDataDestroy,
keyDataGenerate, keyDataGetType, keyDataGetSize, keyDataGetIdentifier,
keyDataDebugDump, keyDataDebugXmlDump, keyDataXmlRead, keyDataXmlWrite,
keyDataBinRead, keyDataBinWrite, keyDataGetName, keyDataIsValid,
keyDataCheckId, keyDataCheckUsage, keyDataCheckSize, keyDataIdCreate,
keyDataIdGetName in xmlsec_methods[]
* keysdata.c, keysdata.h:
Added functions xmlSecKeyDataId_get, wrap_xmlSecKeyDataId,
xmlsec_KeyDataIdsGet, xmlsec_KeyDataIdsInit, xmlsec_KeyDataIdsShutdown,
xmlsec_KeyDataIdsRegisterDefault, xmlsec_KeyDataIdsRegister,
xmlSecKeyData_getattr, xmlSecKeyData_setattr, xmlsec_KeyDataCreate,
xmlsec_KeyDataDuplicate, xmlsec_KeyDataDestroy, xmlsec_KeyDataGenerate,
xmlsec_KeyDataGetType, xmlsec_KeyDataGetSize,
xmlsec_KeyDataGetIdentifier, xmlsec_KeyDataDebugDump,
xmlsec_KeyDataDebugXmlDump, xmlsec_KeyDataXmlRead,
xmlsec_KeyDataXmlWrite, xmlsec_KeyDataBinRead, xmlsec_KeyDataBinWrite,
xmlsec_KeyDataGetName, xmlsec_KeyDataIsValid, xmlsec_KeyDataCheckId,
xmlsec_KeyDataCheckUsage, xmlsec_KeyDataCheckSize,
keysdata_KeyDataIdCreate, xmlsec_KeyDataKlassGetName
* parser.c: Removed some useless lines
* wrap_objs.h: Added #include <libxml/xmlmemory.h>
2004-01-17 Valery Febvre <[email protected]>
* setup.py: Crypto engine 'nss' added.
2004-01-16 Valery Febvre <[email protected]>
* setup.py:
Linker, pre-processor and compiler flags are now automatically detected
The crypto engine name can be selected
2004-01-15 Valery Febvre <[email protected]>
*: 0.1.0 release
* xmlsec.py:
Added methods __getattr__ and __setattr__ in classes
DSigCtx, DSigReferenceCtx, EncCtx, KeyInfoCtx, Buffer, Key, KeyReq,
KeysMngr and PtrList
Added new classes PtrListId and KeyStoreId
Removed method setSignKey in class DSigCtx
4 methods removed in class EncCtx: setEncKey, getResult,
getResultBase64Encoded, getResultReplaced
4 methods removed in class DSigCtx: setEnabledReferenceUris, getStatus,
getKeyInfoReadCtx, getSignedInfoReferences
* buffer.c:
Added functions xmlSecBuffer_getattr, xmlSecBuffer_setattr
* keyinfo.c:
Added functions xmlSecKeyInfoCtx_getattr, xmlSecKeyInfoCtx_setattr and
removed function keyinfo_get_enabledKeyData
* keys.c:
Added functions xmlSecKey_getattr and xmlSecKey_setattr
All KeyReq section rewritten
* keysmngr.c:
Added functions xmlSecKeysMngr_getattr, xmlSecKeysMngr_setattr,
xmlsec_GetKeyCallback and fixed function keysmngr_KeyStoreIdCreate
* list.c:
Added functions xmlsec_PtrListInitialize, xmlsec_PtrListFinalize,
xmlsec_PtrListEmpty, xmlsec_PtrListCopy, xmlsec_PtrListDuplicate,
xmlsec_PtrListGetItem, xmlsec_PtrListSet, xmlsec_PtrListRemove,
xmlsec_PtrListDebugDump, xmlsec_PtrListDebugXmlDump
xmlsec_PtrListGetName, xmlsec_PtrListIsValid, xmlSecPtrList_getattr
xmlSecPtrList_setattr
* nodeset.c:
Added functions xmlSecNodeSet_getattr, xmlSecNodeSet_setattr
* xmldsig.c:
Added functions xmlSecDSigCtx_getattr, xmlSecDSigCtx_setattr,
xmlSecDSigReferenceCtx_getattr, xmlSecDSigReferenceCtx_setattr
Removed functions xmldsig_set_enabledReferenceUris, xmldsig_get_status,
xmldsig_get_keyInfoReadCtx, xmldsig_get_signedInfoReferences,
xmldsig_set_signKey
Updated functions: xmlSecDSigCtx_getattr, xmlSecDSigCtx_setattr,
xmlSecDSigReferenceCtx_setattr
* xmlenc.c:
Added functions xmlSecEncCtx_getattr, xmlSecEncCtx_setattr
Removed functions xmlenc_set_encKey, xmlenc_get_result,
xmlenc_get_resultBase64Encoded, xmlenc_get_resultReplaced
* examples/decrypt3.py: new example
* examples/pyxmlsec-demo.py: updated