Commit Graph

449 Commits

Author SHA1 Message Date
Nick Bolton 65b8f480e8 fixed: code style in unit test (missing g_) 2013-05-01 15:57:46 +00:00
Nick Bolton 4fffe2dad1 fixed: unit test name did not match compilation unit 2013-05-01 15:54:32 +00:00
Nick Bolton e8ed977a8f fixed: issue 3565 - encryption fails with heavy network traffic.
changed encrypt and decrypt to be asymmetrical (iv change now applies only in one direction).
2013-05-01 15:53:22 +00:00
Nick Bolton 119d4cfa11 fixed: function name conflict on mac 2013-05-01 15:46:15 +00:00
Nick Bolton f51e90e28d fixed: micro unix entry point signature was invalid. 2013-05-01 14:23:48 +00:00
Nick Bolton fe2c413cb7 fixed: mac build fails on 10.8 (osx sysroot not set automatically) 2013-05-01 14:16:07 +00:00
Nick Bolton cd21d2b875 bumped version to 1.4.12 2013-04-12 03:10:38 +00:00
Nick Bolton 4e3e64e97c ChangeLog for 1.4.11 2013-04-12 03:00:54 +00:00
Nick Bolton bb3dd1611c fixed readWriteIvChanged unit test to match new behaviour of newIv. 2013-04-11 23:45:55 +00:00
Nick Bolton 607f8c9321 fixed: new iv was used before it was sent to the client, so the client could not decrypt new iv. 2013-04-11 22:30:24 +00:00
Nick Bolton bae07f8cd5 test for generating keys from longer passwords. 2013-04-11 21:52:45 +00:00
Nick Bolton 9e61f34efa fixed crappy html garbage in crypto wizard, and fixed label width/alignment in settings dialog 2013-04-11 19:14:24 +00:00
Nick Bolton fa4b2f4e85 Jerry's crypto GUI patch. 2013-04-11 16:51:17 +00:00
Nick Bolton e84f111f35 changed unit test IVs so that \0 isn't used (logs look less confusing). 2013-04-11 06:16:15 +00:00
Nick Bolton 1dccfe6c53 fixed: real server dtor being called (we forgot to set m_mock - FUUUUUUUU). also added quick and dirty backtrace for osx, since we keep accidentally calling that singleton in unit tests... could be handy, we should consider refactoring into a func maybe. 2013-04-11 05:50:59 +00:00
Nick Bolton 34d52c8af4 remove mac -arch confusion 2013-04-11 05:35:22 +00:00
Nick Bolton 90bd08d86c revert temp logging. 2013-04-11 05:09:17 +00:00
Nick Bolton 7dcc1151c7 more temp logging to try and understand why IEventQueue singleton is being used on build machines. 2013-04-11 04:53:59 +00:00
Nick Bolton 0f60fdbd9e fixed crypto++ build errors for osx 10.6 2013-04-11 04:20:13 +00:00
Nick Bolton 530b68fc19 temp log line for assert -- trying to detect random memory corruption on build machines. 2013-04-11 03:46:12 +00:00
Nick Bolton 342c94cab2 crypto++ -- removed -DCRYPTOPP_DISABLE_ASM from windows 32-bit (unix only now) and moved -Wno-tautological-compare to osx 10.7 and up only. 2013-04-11 03:18:40 +00:00
Nick Bolton 08318e52ff fixed 32-bit linux crypto++ compile errors 2013-04-11 02:41:56 +00:00
Nick Bolton 918a363fdd comment revert 2013-04-11 00:36:45 +00:00
Nick Bolton c0dcdd52e7 fixed: crypto++ compile errors, linux compiler syntax bugs, and code style (spaces -> tabs) 2013-04-11 00:30:41 +00:00
Nick Bolton 650da22c33 fixed buffer overrun bugs in unit tests. 2013-04-10 17:30:21 +00:00
Nick Bolton 15de55176f fixed win64 crypto++ linker errors -- added build step for asm files. 2013-04-10 17:27:25 +00:00
Nick Bolton 9cd8023e92 fixed windows 64-bit warnings. 2013-04-10 15:04:14 +00:00
Nick Bolton 11cdee4aa3 added missing modifiers arg to function in micro synergy. 2013-04-10 14:53:55 +00:00
Nick Bolton 77b92b7b6f micro synergy patch by Bruce Oberg 2013-04-10 14:50:10 +00:00
Nick Bolton 72cbcd70c0 fixed unit tests, buffer indexes were not reset, caused tests to fail on 2nd repeat. 2013-04-10 12:14:59 +00:00
Nick Bolton 880819fab7 Jerry's patch for password hash and custom mode (via command line). 2013-04-09 21:57:07 +00:00
Nick Bolton 7010de9cc4 sending IV to client before DKDN, DKUP and DKRP (the most sensitive messages). unit tests to support changes. made crypto stream tests a bit less spammy by using NiceMock. 2013-04-09 18:56:19 +00:00
Nick Bolton 23998fc06c unit tests for IV change. 2013-04-08 18:35:23 +00:00
Nick Bolton 323285a931 moved temp hard coded key out of crypto class. 2013-04-08 13:04:20 +00:00
Nick Bolton b2746bc1b2 added unit test to make sure IV works as we expect. 2013-04-08 13:01:21 +00:00
Nick Bolton 0a69c28ac5 implemented crypto stream, with some extra unit tests 2013-04-05 16:33:48 +00:00
Nick Bolton 728ad02d61 added cmake flags for 64-bit crypto++ build, apparently disabling asm build helps, feels sketchy 2013-04-05 00:01:54 +00:00
Nick Bolton 6a1dd395e1 made crypto++ compile on osx with some black magic compiler args 2013-04-04 22:38:07 +00:00
Nick Bolton d0081ebd7a removed #pragma once from cpp. 2013-04-04 22:06:42 +00:00
Nick Bolton 21a4d0f586 #if for win32 messagebox stuff 2013-04-04 21:57:51 +00:00
Nick Bolton e8058eba1d backed off required python version to 2.6 -- this was actually when ZipFile.extractall was introduced. 2013-04-04 21:43:32 +00:00
Nick Bolton 6031ffb0df * reverted ShellExecAsUser back to Exec -- since it stopped compiling for some reason.
* removed unused code from .nsh installer source.
2013-04-04 21:08:48 +00:00
Nick Bolton eb93fc5620 *really* upgraded python requirement to 2.7 (2.4 is missing ZipFile.extractall) 2013-04-04 17:26:11 +00:00
Nick Bolton 99ba56c361 upgraded python requirement to 2.7 (2.4 is missing ZipFile.extractall) 2013-04-04 17:21:00 +00:00
Nick Bolton 6add1be405 updated toolchain to extract crypto++ zip. 2013-04-04 17:16:01 +00:00
Nick Bolton 3aaebd9e50 Patch by Jerry:
* wrote CCryptoStream and supporting unit tests
* changed CStreamFilter to accept CMockEventQueue
* changed CStreamFilter's dtor to virtual because it is inherited
2013-04-04 16:17:25 +00:00
Nick Bolton 7040905632 crypto++ -- upgraded to 5.6.2 and added zip to svn instead of individual source files (easier to manage). also added unit test to prove that linking works well on windows. 2013-04-03 12:59:02 +00:00
Nick Bolton d57a3423e7 removed unused #endif 2013-03-17 16:20:12 +00:00
Nick Bolton 6ec2ea2c0e patch by jerry -- his first patch! :-)
issue #421 -- portable version for windows.
2013-03-15 16:14:43 +00:00
Nick Bolton c8ea071d78 comment out crypto stuff, for now (only compiles on windows) 2013-01-05 22:50:34 +00:00