Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 416 lines (323 sloc) 14.035 kb
69d955bf »
2010-02-09 HsOpenSSL 0.8
1 -*- coding: utf-8 -*-
2
41445bf0 »
2012-07-21 Bump version to 0.10.3.2
3 Changes from 0.10.3.1 to 0.10.3.2
4 ---------------------------------
5 * Merged #15 "Fixed build with base-4.6" by Mikhail Vorozhtsov.
09d32af8 »
2012-07-21 Added a configuration flag 'fast-bignum', fixes #16.
6 * Added a configuration flag 'fast-bignum', fixes #16.
41445bf0 »
2012-07-21 Bump version to 0.10.3.2
7
8
8e7751c7 »
2012-04-24 Bump version to 0.10.3.1
9 Changes from 0.10.3 to 0.10.3.1
10 -------------------------------
11 * Merged #14 "Fixed X509_STORE_CTX bindings vs OpenSSL 0.9.x" by
41445bf0 »
2012-07-21 Bump version to 0.10.3.2
12 Mikhail Vorozhtsov.
8e7751c7 »
2012-04-24 Bump version to 0.10.3.1
13
14
5b728e97 »
2012-04-17 Bump version to 0.10.3
15 Changes from 0.10.2.1 to 0.10.3
16 -------------------------------
17 * Merged #12 "Bindings to some of the X509_STORE_CTX functions" by
18 Mikhail Vorozhtsov:
19
20 - New functions in OpenSSL.X509.Store:
21 - getStoreCtxCert
22 - getStoreCtxIssuer
23 - getStoreCtxCRL
24 - getStoreCtxChain
25
26 * Merged #13 "Fixed early verification callback deallocation crash" by
27 Mikhail Vorozhtsov.
28
29
812bf8c3 »
2012-04-16 Bump version to 0.10.2.1
30 Changes from 0.10.2 to 0.10.2.1
31 -------------------------------
32 * Merged #10 "Fix X509 PEM reading/writing" by Mikhail Vorozhtsov:
33
34 - OpenSSL.PEM.readX509 now uses PEM_read_bio_X509() instead of
35 PEM_read_bio_X509_AUX().
36
37 - OpenSSL.PEM.writeX509 now uses PEM_write_bio_X509() instead of
38 PEM_write_bio_X509_AUX().
39
40
24f927ef »
2012-04-06 Workaround for broken versions of Cabal, including one that comes wit…
41 Changes from 0.10.1.4 to 0.10.2
42 -------------------------------
43 * Merged #9 "Add raw pointer read/write operations" by Iavor
44 S. Diatchki:
45
46 - OpenSSL.Session.readPtr
47 - OpenSSL.Session.tryReadPtr
48 - OpenSSL.Session.writePtr
49 - OpenSSL.Session.tryWritePtr
50
51 * Fixed #8 "HsOpenSSL 0.10.1.4 won't build" reported by vcxp:
52
53 - Workaround for broken versions of Cabal, including one that comes
54 with ghc-7.0.4.
55
56
06ad7816 »
2012-03-08 Bump version to 0.10.1.4
57 Changes from 0.10.1.3 to 0.10.1.4
58 ---------------------------------
59 * Fixed #7 "Haskell Platform 2011.4 Support", reported by stepcut:
60 - Foreign.ForeignPtr.Unsafe does not exist prior to base-4.4
61
62
bbc28863 »
2012-03-04 Bump version to 0.10.1.3
63 Changes from 0.10.1.2 to 0.10.1.3
64 ---------------------------------
451b3471 »
2011-12-22 OpenSSL.Session: SSL, SSLContext, SSLResult, ShutdownType and Verific…
65 * OpenSSL.Session:
66 - SSL, SSLContext, SSLResult, ShutdownType and VerificationMode are
67 now instances of Typeable.
68
bbc28863 »
2012-03-04 Bump version to 0.10.1.3
69 * Applied a series of patches "Various fixes for GHC 7.5" by Ben Gamari:
70 - Use unsafeForeignPtrToPtr from Foreign.ForeignPtr.Unsafe
71 - Use unsafePerformIO from System.IO.Unsafe
72 - Add Num to constraints with Bits
73
451b3471 »
2011-12-22 OpenSSL.Session: SSL, SSLContext, SSLResult, ShutdownType and Verific…
74
fdff079a »
2011-11-16 Bump version to 0.10.1.2
75 Changes from 0.10.1.1 to 0.10.1.2
76 ---------------------------------
4f86772f »
2011-11-01 Update NEWS
77 * Applied a patch by Mikhail Vorozhtsov:
78 - Moved all EVP-related private functions to OpenSSL.EVP.Internal.
79
bf0f7dee »
2011-11-15 Improve the error handling in OpenSSL.Session
80 * Improve the error handling in OpenSSL.Session:
022bbd9a »
2011-11-13 Fixed erroneous error handling in OpenSSL.Session
81 - SSL_get_error() must be called within the OS thread which caused
82 the failed operation as it inspects the thread-local storage.
bf0f7dee »
2011-11-15 Improve the error handling in OpenSSL.Session
83 - write/tryWrite should throw EPIPE for cleanly-closed connections
84 rather than EOF.
85 - shutdown/tryShutdown shouldn't throw an exception when a remote
86 peer sends us a "close notify" alert and closes the connection
87 without waiting for our reply.
88 - ProtocolError should contain an error message string.
022bbd9a »
2011-11-13 Fixed erroneous error handling in OpenSSL.Session
89
4f86772f »
2011-11-01 Update NEWS
90
0d599fb7 »
2011-09-22 Bump version to 0.10.1.1
91 Changes from 0.10.1 to 0.10.1.1
4f86772f »
2011-11-01 Update NEWS
92 -------------------------------
fd3cbb83 »
2011-09-07 update NEWS
93 * Applied a patch by Peter Gammie:
94 - GHC 6.12.3 friendliness: don't use Control.Monad.void
95
bf99870a »
2011-09-19 update NEWS
96 * Applied a patch by Peter Gammie and David Terei:
97 - Placate LLVM in GHC 7.3.x HEAD: give memcpy the right
98 type. Courtesy of David Terei.
99
3a8317bc »
2011-09-19 update NEWS
100 * Applied a patch by Mikhail Vorozhtsov:
101 - Use throwIO instead of throw to raise SSL exceptions.
102
0d599fb7 »
2011-09-22 Bump version to 0.10.1.1
103 * Fixed breakage on OpenSSL 0.9.8:
104 - DHparams_dup() is a function in OpenSSL 1.0.0 but is a macro in 0.9.8.
105 - OpenSSL 0.9.8 doesn't provide X509_CRL_get0_by_serial().
106
fd3cbb83 »
2011-09-07 update NEWS
107
5184a74a »
2011-08-27 NEWS: Changes from 0.10 to 0.10.1
108 Changes from 0.10 to 0.10.1
109 ---------------------------
110 * Applied patches by Mikhail Vorozhtsov:
111 - Added optional verification callback to VerifyPeer.
112 - Added revocation lookup function.
113 - Added bindings to Diffie-Hellman functions.
114 - Expose low-level asynchronous versions of accept, connect, read,
115 write and shutdown.
116
117 * Moved the repository to GitHub:
118 git://github.com/phonohawk/HsOpenSSL.git
119
120
80612ea9 »
2011-07-26 Bump version to 0.10
121 Changes from 0.9.0.1 to 0.10
122 ----------------------------
123 * Applied a patch by Mikhail Vorozhtsov to support wrapping plain file
124 descriptors in SSL connections.
125
126 - New function:
127 fdConnection :: SSLContext -> Socket -> IO SSL
128 sslFd :: SSL -> Fd
129
130 - Function signature change:
131 sslSocket :: SSL -> Maybe Socket
132 (It was "SSL -> Socket" before.)
133
134
89b0d98d »
2011-06-21 Bump version to 0.9.0.1
135 Changes from 0.9 to 0.9.0.1
136 ---------------------------
137 * Applied a patch by Mikhail Vorozhtsov
138
139 - Added missing BangPatterns pragma to OpenSSL/BN.hsc. It was
140 failing to build on GHC 7.1 without this.
141
142
923bf74f »
2010-11-13 Changes from 0.8.0.2 to 0.9
143 Changes from 0.8.0.2 to 0.9
144 ---------------------------
145 * (Suggested by Arthur Chan) Operations in OpenSSL.Session now throw
146 exceptions of individual exception types instead of plain
147 strings. The following exception types are defined:
148
149 - ConnectionCleanlyClosed
150 - ConnectionAbruptlyTerminated
151 - WantConnect
152 - WantAccept
153 - WantX509Lookup
154 - SSLIOError
155 - ProtocolError
156 - UnknownError(..)
157
158
25b38ab6 »
2010-09-19 0.8.0.2
159 Changes from 0.8 to 0.8.0.2
c0d34cc5 »
2010-09-15 * Fix Windows support as suggested in this page:
160 ---------------------------
25b38ab6 »
2010-09-19 0.8.0.2
161 * 0.8.0.1 was broken so it's invalidated.
162
c0d34cc5 »
2010-09-15 * Fix Windows support as suggested in this page:
163 * Fix Windows support as suggested in this page:
164 http://hackage.haskell.org/trac/ghc/wiki/Builder
165 (Thanks Edward Z. Yang for notifying me.)
166
167
69d955bf »
2010-02-09 HsOpenSSL 0.8
168 Changes from 0.7 to 0.8
169 -----------------------
170 * Applied 7 patches by Taru Karttunen:
171
172 - Add cipherStrictLBS - Encrypt a lazy bytestring in a strict
173 manner. Does not leak the keys
174
175 - Add rsaCopyPublic and rsaKeyPairFinalize to OpenSSL.RSA
176
177 - Document pkcs5_pbkdf2_hmac_sha1 in OpenSSL.EVP.Digest
178
179 - Make OpenSSL.EVP.Sign.signFinal use ByteStrings internally
180
181 - Export OpenSSL.EVP.Sign.signFinal
182
183 - Add PEM-functionality with a new PwBS that works like PwStr except
184 there are no superfluous extra copies retained in the memory.
185
186 - Make PEM callbacks use bracket which makes cleanup work even if
187 there are exceptions.
188
1b0a69cf »
2009-02-02 Release 0.5.1
189
8599db4a »
2010-01-24 HsOpenSSL 0.7
190 Changes from 0.6.5 to 0.7
191 -------------------------
192 * Applied patches by Taru Karttunen to make HsOpenSSL compatible with
193 GHC 6.12.1.
194
195 * Many cosmetic changes to suppress warnings which GHC 6.12.1
196 emits. It shouldn't change any semantics.
197
198
db5f9a1c »
2009-08-03 OpenSSL.Cipher now exports a type AESCtx.
199 Changes from 0.6.4 to 0.6.5
200 ---------------------------
201 * Suggestion by Carl Mackey:
202
203 - OpenSSL.Cipher now exports a type AESCtx.
204
205
3e63b632 »
2009-07-14 0.6.4
206 Changes from 0.6.3 to 0.6.4
207 ---------------------------
208 * Applied a patch by Taru Karttunen:
209
210 > Unbreak BIO ForeignPtrs for GHC 6.10
211 >
212 > In GHC 6.10 it is no longer possible to mix C and Haskell
213 > finalizers on the same ForeignPtr. This patch fixes that
214 > and unbreaks things for GHC 6.10.
215
216
1388e863 »
2009-07-13 Suggestion by Grant Monroe:
217 Changes from 0.6.2 to 0.6.3
218 ---------------------------
219 * Suggestion by Grant Monroe:
220
221 - Changed the signature of OpenSSL.EVP.Sign.signBS from
222 signBS :: KeyPair key => Digest -> key -> Strict.ByteString -> IO String
223 to
224 signBS :: KeyPair key => Digest -> key -> Strict.ByteString -> IO Strict.ByteString
225
226 - Changed the signature of OpenSSL.EVP.Sign.signLBS from
227 signLBS :: KeyPair key => Digest -> key -> Lazy.ByteString -> IO String
228 to
229 signLBS :: KeyPair key => Digest -> key -> Lazy.ByteString -> IO Lazy.ByteString
230
231
f40cdbcf »
2009-06-27 Fixed some minor problems in the previous patch.
232 Chanegs from 0.6.1 to 0.6.2
233 ---------------------------
234 * Applied a patch by John Van Enk and his friend:
235
236 1) Moved away from the Configure build type to the Simple build
237 type.
238
239 2) Removed the direct dependency on pthreads. This involved an
240 indirection layer using the preprocessor. In linux/bsd, we use
241 pthreads. In windows, we call out to the OS mutexing
242 functions. This allows us to "cabal install" the HsOpenSSL
243 library from the cmd.exe terminal in windows *without* having to
244 use cygwin.
245
246
cc2d0378 »
2009-06-02 Release 0.6.1
247 Changes from 0.6 to 0.6.1
248 -------------------------
249 * OpenSSL.Session:
250 - New functions:
251 # lazyRead
252 # lazyWrite
a8095f9e »
2009-06-02 New function: OpenSSL.Session.contextGetCAStore
253 # contextGetCAStore
b3bfd7ed »
2009-06-02 New functions in OpenSSL.Session: contextSetPrivateKey, contextSetCer…
254 # contextSetPrivateKey
255 # contextSetCertificate
cc2d0378 »
2009-06-02 Release 0.6.1
256
f40cdbcf »
2009-06-27 Fixed some minor problems in the previous patch.
257
5d1dd45e »
2009-03-27 Increase type-safety of asymmetric key pairs.
258 Changes from 0.5.2 to 0.6
259 -------------------------
260 * INCOMPATIBLE CHANGES:
261 + OpenSSL.DSA:
262 - The data type "DSA" is now broken into two separate types
263 "DSAPubKey" and "DSAKeyPair" to distinguish between public
264 keys and keypairs at type-level. These two data types are
265 instances of class "DSAKey".
266 - These functions are renamed to avoid name collision with
267 OpenSSL.RSA:
268 # generateParameters --> generateDSAParameters
269 # generateKey --> generateDSAKey
270 # generateParametersAndKey --> generateDSAParametersAndKey
271 # signDigestedData --> signDigestedDataWithDSA
272 # verifyDigestedData --> verifyDigestedDataWithDSA
273 - These functions are broken into two separate functions:
274 # dsaToTuple --> dsaPubKeyToTuple, dsaKeyPairToTuple
275 # tupleToDSA --> tupleToDSAPubKey, tupleToDSAKeyPair
276 + OpenSSL.RSA:
277 - The data type "RSA" is now broken into two separate types
278 "RSAPubKey" and "RSAKeyPair" to distinguish between public
279 keys and keypairs at type-level. These two data types are
280 instances of class "RSAKey".
281 + OpenSSL.EVP.PKey:
282 - The data type "PKey" is now broken into two separate
283 classes, not data types, "PublicKey" and "KeyPair" to
284 distinguish between public keys and keypairs at
285 type-level. You can pass "RSAPubKey" and such like directly
286 to cryptographic functions instead of the prior polymorphic
287 type "PKey", for the sake of type classes.
288 + OpenSSL.EVP.Open:
289 - These functions now take "KeyPair k" instead of "PKey":
290 # open
291 # openBS
292 # openLBS
293 + OpenSSL.EVP.Seal:
294 - These functions now take "SomePublicKey" instead of "PKey":
295 # seal
296 # sealBS
297 # sealLBS
298 + OpenSSL.EVP.Sign:
299 - These functions now take "KeyPair k" instead of "PKey":
300 # sign
301 # signBS
302 # signLBS
303 + OpenSSL.EVP.Verify:
304 - These functions now take "PublicKey k" instead of "PKey":
305 # verify
306 # verifyBS
307 # verifyLBS
308 + OpenSSL.PEM:
309 - writePKCS8PrivateKey now takes "KeyPair k" instead of "PKey".
310 - readPrivateKey now returns "SomeKeyPair" instead of "PKey".
311 - writePublicKey now takes "PublicKey k" instead of "PKey".
312 - readPublicKey now returns "SomePublicKey" instead of "PKey".
313 + OpenSSL.PKCS7:
314 - pkcs7Sign now takes "KeyPair k" instead of "PKey".
315 - pkcs7Decrypt now takes "KeyPair k" instead of "PKey".
316 + OpenSSL.X509:
317 - signX509 now takes "KeyPair k" instead of "PKey".
318 - verifyX509 now takes "PublicKey k" instead of "PKey".
319 - getPublicKey now returns "SomePublicKey" instead of "PKey".
320 - setPublicKey now takes "PublicKey k" instead of "PKey".
321 + OpenSSL.X509.Request:
322 - signX509Req now takes "KeyPair k" instead of "PKey".
323 - verifyX509Req now takes "PublicKey k" instead of "PKey".
324 - getPublicKey now returns "SomePublicKey" instead of "PKey".
325 - setPublicKey now takes "PublicKey k" instead of "PKey".
326 + OpenSSL.X509.Revocation:
327 - signCRL now takes "KeyPair k" instead of "PKey".
328 - verifyCRL now takes "PublicKey k" instead of "PKey".
329 * OpenSSL.RSA:
330 - RSAPubKey and RSAKeyPair are now instances of Eq, Ord and Show.
331 - New function: generateRSAKey'
304faf51 »
2009-03-27 DSAPubKey and DSAKeyPair are now instances of Eq, Ord and Show.
332 * OpenSSL.DSA:
333 - DSAPubKey and DSAKeyPair are now instances of Eq, Ord and Show.
5d1dd45e »
2009-03-27 Increase type-safety of asymmetric key pairs.
334
da0e61a2 »
2009-02-20 Release 0.5.2
335 Changes from 0.5.1 to 0.5.2
336 ---------------------------
337 * Fixed incorrect dependency declaration in HsOpenSSL.cabal. No
338 semantical changes to the code.
339
1b0a69cf »
2009-02-02 Release 0.5.1
340 Changes from 0.5 to 0.5.1
341 -------------------------
342 * Fixed breakage on 64-bit architectures.
343 Reported by: Neumark Péter
344
57c01c2d »
2009-01-14 Fixed breakage on GHC 6.10.1. And now requires 6.10.1...
345 Changes from 0.4.2 to 0.5
1b0a69cf »
2009-02-02 Release 0.5.1
346 -------------------------
57c01c2d »
2009-01-14 Fixed breakage on GHC 6.10.1. And now requires 6.10.1...
347 * Fixed breakage on GHC 6.10.1. And now requires 6.10.1...
c7fabb4e »
2008-10-11 Doc fix
348 * Applied a patch by Taru Karttunen:
349 - Add pkcs5_pbkdf2_hmac_sha1 to OpenSSL.EVP.Digest
350
351
f99ad2b9 »
2008-06-11 HsOpenSSL 0.4.2
352 Changes from 0.4.1 to 0.4.2
353 ---------------------------
354 * No .hs files which are generated from .hsc files should be in the
355 tarball. If any .hs files are outdated, Cabal seems to compile the
356 outdated files instead of newer .hsc files.
357
358
5daa8627 »
2008-03-19 Release 0.4.1
359 Changes from 0.4 to 0.4.1
360 -------------------------
8122067c »
2008-03-01 Update NEWS
361 * Applied patches by Adam Langley:
362 - Fix BN<->Integer conversions on 64-bit systems
363 - Another 64-bit fix (OpenSSL.ASN1.peekASN1String)
5daa8627 »
2008-03-19 Release 0.4.1
364 - Add ByteString version of digestBS
365 - Fix the foreign types of the cipher functions to use CInt, not Int
366 - 64-bit fix for HMAC
367 - Turn the Session IO inside out
368 - Silly cosmetic change
8122067c »
2008-03-01 Update NEWS
369
370
5fd8d342 »
2008-02-14 Release HsOpenSSL 0.4
371 Changes from 0.3.1 to 0.4
372 -------------------------
373 * Applied patches by Adam Langley:
374 - Add the beginnings of session support
375 - Add an example SSL server
376
377
85bbcc6a »
2007-11-05 Release 0.3.1
378 Changes from 0.3 to 0.3.1
379 -------------------------
380 * OpenSSL.EVP.Base64: Fix a bug in an internal function `decodeBlock':
381 decodeBase64* didn't drop the padding NUL.
382 * Applied patches by Adam Langley:
383 - Updates for 6.8.1 (also *requires* 6.8.1 now)
384 - tests/Base64.hs: Test for Base64
385
5fd8d342 »
2008-02-14 Release HsOpenSSL 0.4
386
76ddc6e2 »
2007-10-29 Release HsOpenSSL 0.3
387 Changes from 0.2 to 0.3
85bbcc6a »
2007-11-05 Release 0.3.1
388 -----------------------
c0c99a5e »
2007-10-29 The BIGNUM type should not be exposed to users. Expose BigNum instead.
389 * Applied patches by Adam Langley:
22dbe728 »
2007-10-15 Update the NEWS
390 - tests/DSA.hs: Add a DSA test: this just adds a binary which tests
391 a few simple DSA cases (and runs a timing test) and prints "PASS"
392 as the last line of stdout in the case that everything looks good.
393 It doesn't include any hooks nor framework for running these.
c0c99a5e »
2007-10-29 The BIGNUM type should not be exposed to users. Expose BigNum instead.
394 - Bug fix for fast Integer<->BN functions
76ddc6e2 »
2007-10-29 Release HsOpenSSL 0.3
395 - OpenSSL.Cipher: Add non-EVP cipher support
396 - OpenSSL.EVP.Digest: Add HMAC support in EVP
397 - OpenSSL.Random: Add OpenSSL.Random
398 - OpenSSL.BN: Additional utility functions in BN and exposing BN
22dbe728 »
2007-10-15 Update the NEWS
399
400
70b58023 »
2007-10-14 Release: HsOpenSSL 0.2
401 Changes from 0.1.1. to 0.2
402 --------------------------
403 * Applied patches by Adam Langley:
404 - OpenSSL.DSA: Add DSA support
405 - OpenSSL.BN: Add support for fast Integer<->BN conversions
406 - OpenSSL.BN: New BN utility function, newBN
407 - OpenSSL.BN: FIX: set the BN ptr to NULL before calling BN_dec2bn,
408 otherwise that function thinks that there's a valid BN there
409 - OpenSSL.Utils: Add utility functions to print and read hex numbers
410
411
f1f377e2 »
2007-08-25 Moved hidden modules from Exposed-Modules to Other-Modules.
412 Changes from 0.1 to 0.1.1
413 -------------------------
414 * Moved hidden modules from Exposed-Modules to Other-Modules.
2921ed30 »
2007-08-25 It turned out ghc >= 6.6.1 wasn't necessary but time >= 1.1.1 was.
415 * Added "time >= 1.1.1" to the Build-Depends.
Something went wrong with that request. Please try again.