Commit Graph

46 Commits

Author SHA1 Message Date
Nathan Moinvaziri
370ab036f3 Version 2.9.1. 2019-11-15 13:24:17 -08:00
Nathan Moinvaziri
d9500db041 Fixed certificate chain not being verified on Windows. 2019-11-11 10:28:07 -08:00
Nathan Moinvaziri
10ac291d91 Version 2.9.0. 2019-09-18 16:55:43 -07:00
Nathan Moinvaziri
17447aac42
Merge pull request #413 from philippec-ls/master
Added missing newlines
2019-09-05 18:18:46 -07:00
Philippe Casgrain
938936c285 Added missing newlines
Fixes compiler warnings.
2019-08-21 09:14:32 -04:00
Nathan Moinvaziri
84a398027d Added option to enable signing which is by default turned on. But now at least people don't have to define MZ_ZIP_NO_SIGNING in most projects I see. Signing support now requires MZ_ZIP_SIGNING to be defined. 2019-08-14 20:31:04 -07:00
Nathan Moinvaziri
32fd805440 Version 2.8.9. 2019-07-04 10:32:02 -07:00
Nathan Moinvaziri
fbfd4e82f7 Version 2.8.8. 2019-05-22 17:50:39 -07:00
Nathan Moinvaziri
64c4c7f868 Version 2.8.7. 2019-05-09 18:46:18 -07:00
Nathan Moinvaziri
58daeb9497 Don't compile signing functions if MZ_ZIP_NO_SIGNING is defined. #391 2019-05-02 06:55:38 -07:00
Nathan Moinvaziri
4fe0687243 Version 2.8.6. 2019-04-08 13:26:32 -07:00
Nathan Moinvaziri
488f20ff1b Version 2.8.5. 2019-03-17 09:38:10 -07:00
Nathan Moinvaziri
cf822aab24 Fixed casting warning on windows. 2019-03-07 16:31:04 -08:00
Mazumdar, Tahsin M
53b5e2f8c3 whitespace fix 2019-03-04 14:25:41 -05:00
Mazumdar, Tahsin M
8fb80888f3 fix issues around crypt hash destruction 2019-03-04 14:23:39 -05:00
Nathan Moinvaziri
9805ab4117 Version 2.8.4. 2019-02-14 17:16:01 -08:00
Nathan Moinvaziri
2e2f995eda Version 2.8.3. 2019-01-26 16:49:48 -08:00
Nathan Moinvaziri
e282739da2 Fixed unit tests.
Added support for ZLIB_COMPAT to be configurable.
2019-01-26 00:05:36 -08:00
Nathan Moinvaziri
91b2502219 Fixed code analyze warnings if key_blob is NULL from malloc. 2019-01-22 11:24:17 -08:00
Nathan Moinvaziri
2ca7f3950c Version 2.8.2. 2019-01-08 16:07:10 -08:00
Nathan Moinvaziri
1ff40343b5 Version 2.8.1. 2018-12-01 09:59:19 -08:00
Nathan Moinvaziri
2df1ecbce4 Fixed some code analysis warnings. 2018-12-01 08:59:21 -08:00
Nathan Moinvaziri
9e9d0299f1 Fixed returning error in mz_crypt_hmac_copy. 2018-11-27 09:38:32 -08:00
Nathan Moinvaziri
5cb88b8f09 Version 2.8.0. 2018-11-24 17:59:11 -08:00
Nathan Moinvaziri
62f435adbb Fixes aes encryption with windows crypto library. 2018-11-24 16:51:30 -08:00
Nathan Moinvaziri
b16ab566ef Change comments to C89 style.
Added _POSIX_C_SOURCE definition for necessary version of POSIX.
2018-11-20 16:56:21 -08:00
Nathan Moinvaziri
1ee609b759 Make inttypes.h optional. #345 2018-11-19 21:34:35 -08:00
Nathan Moinvaziri
c1e07aaeb0 Fixed missing time include. 2018-11-19 20:38:20 -08:00
Nathan Moinvaziri
b2b082c67d Version 2.7.5. 2018-11-13 15:22:15 -08:00
Nathan Moinvaziri
1d6d183af6 Fixed more compiler warnings. 2018-11-10 09:03:55 -08:00
Nathan Moinvaziri
c47090678d Version 2.7.4. 2018-11-06 21:12:16 -08:00
Nathan Moinvaziri
b4923cd155 Removed unnecessary #includes. 2018-11-05 12:45:17 -08:00
Nathan Moinvaziri
826113fd6c Version 2.7.3. 2018-11-04 12:52:58 -08:00
Nathan Moinvaziri
888e8a7324 Version 2.7.2. 2018-11-02 17:47:53 -07:00
Nathan Moinvaziri
4337bcc752 Move reading of certificate into zip writer. 2018-11-02 16:22:39 -07:00
Nathan Moinvaziri
54dffe95e9 Version 2.7.1. 2018-11-01 10:40:24 -07:00
Nathan Moinvaziri
eff49b88ce Remove unused set_algorithm function for aes.
Better setting of errors in crypt functions.
Fixed win32 aes key generated incorrectly.
Fixed openssl aes key bits not being set correctly.
Added option to for using BRG library on windows.
Changed low quality entropy error to warning.
2018-11-01 10:32:42 -07:00
Nathan Moinvaziri
f79ec42ad3 Fixed hmac implementation in brg library. #334
Moved brg setup in cmake.
2018-10-31 18:25:53 -07:00
Nathan Moinvaziri
3caa105cef Fixed compiler error on windows with missing param. 2018-10-30 15:34:26 -07:00
Nathan Moinvaziri
a221da4ae0 Version 2.7.0. 2018-10-28 16:47:53 -07:00
Nathan Moinvaziri
703b3df3ef Added option to require a signature during extracting.
Added new sign error.
2018-10-28 16:41:20 -07:00
Nathan Moinvaziri
915c513abe Fixed winzip aes encryption with zero byte files.
Allow greater buffer to be passed in for hashing functions.
Fixed crc32 values not being stored in zip.
When reading zip get best hash to test against in signature.
Fixed formatting.
2018-10-26 20:00:52 -07:00
Nathan Moinvaziri
648f596a99 Implemented crypt using OpenSSL for linux/mac.
Renamed aes folder after source author Brian Gladman.
Added SHA2 source files.
Added USE_OPENSSL option to cmake.
Changed hash that is stored in zip to SHA256.
Commented out timestamping in windows since openssl does not support out of box.
2018-10-25 19:35:50 -07:00
Nathan Moinvaziri
8cb7df741a Moved cp437 encoding function to zip class.
Removed util class and moved shared functions into mz_os.
Added USE_COMPAT to cmake which turns on/off compatibility layer.
2018-10-25 08:39:48 -07:00
Nathan Moinvaziri
7404279f66 Remove unnecessary #define.
Declare pbkdf2 function for test.c
2018-10-24 18:11:35 -07:00
Nathan Moinvaziri
5f09188ca9 Move cryptography functions to crypt source and header files.
Added pbkdf2 function to wzaes stream.
Changed wzaes stream to use os crypt functions.
2018-10-24 18:06:08 -07:00