aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
blob: a502deba078d9f49c8e3d6c63392fecbac076702 (plain)
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
ChangeLog for
'OpenSSL for Ruby 2' project

			### CHANGE LOG ###

Wed, 12 Jun 2002 19:52:20 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* config.c: ported to OpenSSL 0.9.7 interface

Wed, 12 Jun 2002 19:05:21 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	ALL FILES: change all rb_raise and OSSL_Raise to ossl_raise
	* ossl.h: drop define OSSL_Raise
	* cipher.c: disable to call Cipher#final without preceding Cipher#(en|de)crypt

Wed, 12 Jun 2002 18:20:57 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* ossl.h: really fixed OSSL_Debug macro
	* ossl.c: implement part of OSSL_Debug for Windows

Wed, 12 Jun 2002 14:12:36 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* tc_cipher.rb: NEW (TestCase for Cipher)
	* tc_digest.rb: NEW (TestCase for Digest)
	* digest.c: fix equal when comparing with other kind of Digest

Wed, 12 Jun 2002 13:15:40 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.rb: included Comparable module
	* bn.c: changed # of args for #rand, #pseudo_rand (some are default now)
	* ossl.h: fixed OSSL_Debug macro

Wed, 12 Jun 2002 10:28:55 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.c: fix # of args for mod_* funcs (TestCase is GoodThing(TM) :-))

Wed, 12 Jun 2002 00:45:17 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.c: Fixed buf in #to_s (problem with \0 in bin repr.)
	* tc_bn.rb: NEW (TestCase for BN)

Tue, 11 Jun 2002 16:56:40 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* hmac.c: Fixed bug in #initialize that caused wrong results

Tue, 11 Jun 2002 14:10:58 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* hmac.c: Added class methods #digest, #hexdigest

Tue, 11 Jun 2002 13:56:24 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.c: Added #name, #iv_len, #key_len getters

Tue, 11 Jun 2002 13:39:45 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* digest.c: Added #size method (return len is in BYTEs)

Tue, 11 Jun 2002 15:46:20 -0900 -- GOTOU Yuuzou <gotoyuzo@notwork.org>
	* ossl.h: remove <openssl/bn_lcl.h>.

Tue, 11 Jun 2002 02:58:24 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* pkey.c: don't segfault when signing with public key - check added

Tue, 11 Jun 2002 02:42:25 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* extconf.rb: Check for unistd.h
	* ssl.c: include <unistd.h> is avaible (needed for read(), write())
	* ossl.c: drop RTESTs
	* bn.c: ditto.
	* pkey.c: ditto.
	* ossl.c: new debug interface that can be enabled/disabled from Ruby-space via OpenSSL::debug= method
	* ossl.c: implemented new ossl_raise (for C-space)
	* ossl.h: implemented new OSSL_Debug (for C-space)
	
Mon, 10 Jun 2002 10:35:56 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* pkey.c: implemented #sign and #verify for PKey
	* pkey.rb: deleted (funcs implemented in C-space (pkey.c))
	* pkey_dsa.c: #sign_digest and #verify_digest renamed to #syssign #sysverify
	* pkey_rsa.c: implemented RSA_sign, RSA_verify, but commented out until a good way of specifiing digest type will be found

Sun,  9 Jun 2002 22:17:13 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* x509store.c: really port to Ruby 1.8 interface :-)
	* x509store.c: #protect method dropped (useless)

Sat,  8 Jun 2002 14:07:27 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.c: Fix GetCipher - condition (!ciphp || !ciphp->cipher) was too tight for initialize

Sat,  8 Jun 2002 13:48:37 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* x509.h: dropped ossl_x509_get_X509(obj)
	* x509.h: introduced GetX509CertPtr(obj), DupX509CertPtr(obj) with the same semantics as explained for *PKeyPtr
	* pkcs7.c: use these new funcs
	* ssl.c: ditto.
	* x509ext.c: ditto.
	* x509store.c: ditto.
	* x509ext.c: fix memory leaking in ExtFactory after GC

Sat,  8 Jun 2002 11:54:13 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* pkey.h: dropped ossl_pkey_get_EVP_PKEY, ossl_pkey_get_private_EVP_PKEY
	* pkey.h: added GetPKeyPtr, GetPrivPKeyPtr, DupPrivPKeyPtr
		GetPKeyPtr(obj) - gives directly EVP_PKEY* from obj (Doesn't dup it!)
		GetPrivPKeyPtr(obj) - checkes if obj is is private the rest is the same as for GetPKeyPtr
		DupPrivPKeyPtr(obj) - like GetPrivPKeyPtr, and adds an reference to make it GCsafe
	* pkey.c: ossl_pkey_new(EVP_PKEY*) doesn't dup EVP_PKEY* any more, because nobody needed it
	* pkey_dh.c: ossl_dh_new(EVP_PKEY*) doesn't dup EVP_PKEY*
	* pkey_dsa.c: ossl_dsa_new(EVP_PKEY*) doesn't dup EVP_PKEY*
	* pkey_rsa.c: ossl_rsa_new(EVP_PKEY*) doesn't dup EVP_PKEY*
	* ns_spki.c: move to these new funcs. The benefit is: no malloc and free cycles.
	* pkcs7.c: ditto.
	* ssl.c: ditto.
	* x509cert.c: ditto.
	* x509crl.c: ditto.
	* x509req.c: ditto.

Fri,  7 Jun 2002 16:59:10 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* pkey.c: new helper func: ossl_pkey_get_private_EVP_PKEY
	* ns_spki.c: use new helper func
	* pkcs7.c: ditto.
	* x509cert.c: ditto.
	* x509crl.c: ditto.
	* x509req.c: ditto.

Fri,  7 Jun 2002 14:06:48 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.c: Checks around GetCipher
	* digest.c: Use Make_Struct instead of Wrap_Struct and OPENSSL_malloc
	* hmac.c: ditto.
	* bn.c: Fixed creating new classes from subclasses (WrapXXX(klass,...))
	* config.c: ditto.
	* ns_spki.c: ditto.
	* pkcs7.c: ditto.
	* x509.h: C-level class rename: new are cX509Attr, cX509Cert, cX509Ext, cX509ExtFactory, cX509Req and Errors are renamed too.
	* x509attr.c: ported to Ruby 1.8 interface and fixed new classes creation
	* x509cert.c: ditto.
	* x509crl.c: ditto.
	* x509ext.c: ditto.
	* x509name.c: ditto.
	* x509req.c: ditto.
	* x509revoked.c: ditto.
	* x509store.c: ditto.
	
Thu,  6 Jun 2002 09:42:00 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* pkey.c: Hopefully corrected nasty GC bug (ossl_pkey_get_EVP_PKEY)

Thu,  6 Jun 2002 02:28:25 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* ssl.h: NEW (bits from ossl.h)
	* ossl.h: is now tidy
	* pkey*.[ch]: big internal rewrite and cleanup for (DH|DSA|RSA) as well as for PKey (EVP_PKEY is now wrapped - so no extra structs!) NEEDS TO BE TESTED!!!

Wed,  5 Jun 2002 12:17:18 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* rand.h: NEW (bits from ossl.h)
	* rand.c: port & cleanup

Wed,  5 Jun 2002 11:56:53 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* pkcs7.h: NEW (bits from ossl.h)
	* pkcs7.c: cleanup & port to Ruby 1.8

Wed,  5 Jun 2002 10:46:17 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* ns_spki.h: NEW (bits from ossl.h)
	* ns_spki.c: cleanup & port to Ruby 1.8 interface

Wed,  5 Jun 2002 10:14:54 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* hmac.h: NEW (bits from ossl.h)
	* ossl.c: helper function 'string2hex'
	* hmac.c: use 'string2hex'
	* digest.c: ditto.
	* hmac.c: cleanup
	* hmac.c: renamed #hmac to #digest and #hexhmac to #hexdigest

Tue,  4 Jun 2002 23:26:07 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.c: cleanup (remove oddly initialized vars)
	* config.c: ditto.
	* cipher.c: ditto.
	* digest.c: ditto.

Tue,  4 Jun 2002 21:49:06 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* ossl.c: test Qtrue/Qfalse with RTEST
	* bn.c: use StringValue instead of rb_String
	* cipher.c: ditto.
	* config.c: ditto.
	* bn.h: remove added MACROs until somebody wants them
	* cipher.h: ditto.
	* digest.h: ditto.
	* config.c: renamed #get_value to #value, and #get_section to #section
	* config.h: NEW (moved bits from ossl.h)

Tue,  4 Jun 2002 20:10:00 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.c: HACK: not to coredump when calling #update without preceding #(en|de)crypt

Tue,  4 Jun 2002 19:17:55 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.c: use factory style (as for Digest), adapted to Ruby 1.8 interface
	* cipher.c: Method name 'cipher' changed to 'final'
	* cipher.rb: NEW (added predefined Cipher classes there)

Tue,  4 Jun 2002 17:00:36 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* README: Make a note that it's not up-to-date
	* ossl.h: Corrected order of headers to detect Ruby < 1.7.2 and OpenSSL < 0.9.7 correctly

Tue,  4 Jun 2002 15:51:57 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.[ch]: dropped public func: get_NID (because nobody needed this)
	* digest.[ch]: ditto.

Tue,  4 Jun 2002 14:20:38 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* digest.rb: fix singletons (hex)digest (Don't call super, call Digest::(hex)digest directly)

Tue,  4 Jun 2002 08:53:59 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.c: Wierd class name ('ANY') renamed to Cipher
	* digest.c: Rename ANY -> Digest
	* pkey.c: Rename ANY -> PKey
	* pkey.rb: Use Digest instead of ANY

Tue,  4 Jun 2002 08:48:05 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* OSSL2 commited to CVS

Mon,  3 Jun 2002 21:14:34 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* digest.c: new methods added to have the same protocol as Ruby's classes
		Digest::digest(name, data)
		Digest::hexdigest(name, data)
		d.clone()
		d.==(other)
	* digest.rb: rewritten to eval

Mon,  3 Jun 2002 17:23:10 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* digest.rb: NEW (holds predefined Digest classes)
	* digest.c: redesigned (introduced runtime loading Digest algs from OpenSSL)
	* digest.c: ported to Ruby 1.8 interface
	* openssl.rb: added require for digest.rb

Mon,  3 Jun 2002 13:19:34 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* x509.c renamed to x509cert.c
	* x509.h: NEW (moved all bits related to x509 there)
	* x509.c: NEW (moved init from ossl.c for all x509 related classes there)

Mon,  3 Jun 2002 13:03:08 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* Moved all Error classes under eOSSLError

Mon,  3 Jun 2002 12:50:57 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* cipher.h: NEW (moved bits from ossl.h)
	* cipher.h: new MACROs:
		OSSLCipherValue
		OSSLCipherValuePtr

Mon,  3 Jun 2002 11:27:46 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* digest.h: NEW (moved bits from ossl.h there)
	* digest.h: new MACROs:
		OSSLWrapDigest
		OSSLGetDigest
		OSSLDigestValue

Mon,  3 Jun 2002 10:55:44 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.c: added methods mod_add, mod_sub, mod_sqr

Mon,  3 Jun 2002 10:46:03 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.c: ported to Ruby 1.8 interface (allocate, enable_super)

Mon,  3 Jun 2002 10:22:17 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* moved from #ifdef, #ifndef to #if defined()
	* renamed all Init_[^o] to Init_ossl_

Mon,  3 Jun 2002 09:46:43 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.h: NEW (all .c will have it's .h to lower ossl.h size and increase modularity)
	* bn.h: new MACROs introduced:
		OSSLWrapBN - creates instance of BN (DOESN'T DUP THE ARG)
		OSSLGetBN - gets BIGNUM with check (DOESN'T DUP THE BIGNUM FROM OBJ)
		OSSLBNValue - alias to OSSL_Check_Instance(obj, cBN)
		OSSLBNValuePtr - alias to ossl_bn_get_BIGNUM (DUPS THE BIGNUM FROM OBJ)
		
Mon,  3 Jun 2002 01:17:07 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* dsa.c: removed MS_CALLBACK
	* dh.c: ditto.
	* rsa.c: ditto.
	* ssl.c: ditto.
	* ossl.c: introduced generic error-class: OpenSSLError
	* bn.c: initialize moved from Ruby-space to C-space
	* bn.c: reordered method defs by 'man bn'
	* bn.c: speed up math. ops by 1 global BN_CTX (dropped all local BN_CTXes and BN_CTX_inits)

Sat,  1 Jun 2002 13:38:03 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* ossl.h: OSSL2 cannot be compiled if Ruby < 1.7.2 and OpenSSL < 0.9.7

Sat,  1 Jun 2002 11:49:40 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* Dropped all #if !defined(NO_*) dependences (stayed just OPENSSL_NO_*)
	* Dropped all checks for OPENSSL_VERSION_NUMBER

Sat,  1 Jun 2002 11:25:32 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* bn.rb: NEW
	* pkey.rb: NEW
	* ssl.rb: NEW
	* x509.rb: NEW
	* openssl.rb: splitted to openssl/bn.rb, openssl/pkey.rb, openssl/ssl.rb, and openssl/x509.rb
	* lib/*: added proped descriptions
	* bn.rb: simplified BN#initialize (TODO: move it to C-space)

Sat,  1 Jun 2002 00:40:59 +0200 -- Michal Rokos <m.rokos@sh.cvut.cz>
	* Started work on OSSL2 (Starting version = CVS 2002/04/07)
	  OSSL2 will support only upcomming Ruby 1.8 and OpenSSL 0.9.7.