Commit Graph

1707 Commits

Author SHA1 Message Date
David Sparer
bd30103758 Fixed bug where we were not using the correct encryption key during serialization 2016-10-24 15:39:50 -06:00
David Sparer
e9ead72e79 Added logic to the XmlConnectionsDocumentCompiler to respect the FullFileEncryption flag 2016-10-24 14:54:08 -06:00
David Sparer
513edc58ab Created XmlConnectionsDocumentEncryptor to handle encrypting the entire connections xml file 2016-10-24 14:51:48 -06:00
David Sparer
fd7e7bd439 Created a class to handle compiling the structure of the xml document (child/parent relationships) 2016-10-24 13:12:39 -06:00
David Sparer
f510f20f57 Created an xml serializer specifically for dealing with the root connections node 2016-10-24 11:47:35 -06:00
David Sparer
a0a92b9b40 RootNodeInfo.PasswordString will now return either a custom password (if one is set) otherwise the default password 2016-10-24 11:24:35 -06:00
David Sparer
ba878c7587 Moved some of the responsibility of the default encryption password into the RootNodeInfo class. This simplifies serialization a bit, though may not be the best place for storing encryption passwords 2016-10-24 10:51:59 -06:00
David Sparer
f1f76a4910 XmlConnectionNodeSerializer now respects save filter settings for serializing inheritance 2016-10-24 09:04:51 -06:00
David Sparer
3ea4bc29ba Began splitting individual xml element serialization from serializing the structure of the document. Created unit tests to ensure the attributes are serialized correctly 2016-10-21 12:47:20 -06:00
David Sparer
1ed475d469 Test for confversion serialized 2016-10-19 18:03:45 -06:00
David Sparer
e11413eab8 The XmlConnectionsSerializer now looks to its crypto provider for the value of KdfIterations. This insulates the function from global state (Settings) 2016-10-19 18:00:14 -06:00
David Sparer
98db923ac7 Added get/set property KeyDerivationIterations to the ICryptographyProvider interface 2016-10-19 17:54:45 -06:00
David Sparer
7376ff1c9b XmlSerializer now requires a cryptoprovider be given to the ctor. Reduces reliance on global state (Settings) 2016-10-19 17:43:02 -06:00
David Sparer
d427e3e0ae Fixed CryptoFactory tests 2016-10-19 17:26:18 -06:00
David Sparer
550119a53a Modified the ICryptographyProvider interface to require getters for the cipher engine and mode using their enum types 2016-10-19 17:17:28 -06:00
David Sparer
2df182c4c9 disable resharper name checking for a few enums 2016-10-19 16:56:38 -06:00
David Sparer
2b9b872ad4 Added test 2016-10-19 15:28:44 -06:00
David Sparer
01529a8028 Began creating tests for the XmlConnectionsSerializer 2016-10-18 15:27:59 -06:00
David Sparer
71d348227e Merge branch 'Remove_unused_code' into develop 2016-10-18 14:56:40 -06:00
Sean Kaim
76f585a051 code clean up 2016-10-18 16:48:32 -04:00
David Sparer
f1085716d9 Removed references to the My namespace 2016-10-18 13:58:55 -06:00
David Sparer
93bb620099 Remove the defunct My.Settings file 2016-10-18 13:49:54 -06:00
David Sparer
ded0bd7d12 Merge pull request #179 from mRemoteNG/Create_more_tests
Createed more tests
2016-10-18 13:46:24 -06:00
Sean Kaim
088f646d6f updater code clean up 2016-10-18 11:01:52 -04:00
David Sparer
e6a00f7935 Merge branch 'develop' into Create_more_tests
# Conflicts:
#	mRemoteNGTests/mRemoteNGTests.csproj
2016-10-18 08:55:28 -06:00
Sean Kaim
e5d625f294 code clean up 2016-10-17 21:25:04 -04:00
Sean Kaim
6e3bfcdf04 Remove unused code 2016-10-17 20:52:36 -04:00
David Sparer
10bd19e390 The Tools.EnvironmentInfo class didn't need to exist. Replace a single call to it with Environment.Is64BitProcess 2016-10-17 15:33:07 -06:00
David Sparer
9a1cb822d1 Created tests for the NodeSearcher 2016-10-17 13:14:29 -06:00
David Sparer
8ad5f3426c Removed the Impersonator class. This was only ever used for the Sessions feature which was removed in v1.74 2016-10-17 12:34:14 -06:00
David Sparer
2070a98a72 Minor cleanup 2016-10-17 12:32:33 -06:00
David Sparer
b97410dab7 Removed unused/unnecessary code 2016-10-17 12:25:07 -06:00
David Sparer
d47bc021a5 Added a test for GetDefaultPort 2016-10-17 12:04:38 -06:00
David Sparer
0b2dfecf27 Created more containerinfo tests 2016-10-17 11:45:59 -06:00
David Sparer
46ea97333e Added more tests for the containerinfo 2016-10-17 11:19:27 -06:00
David Sparer
598a9f6a0f Added a few more tests for the LegacyRijndaelCryptographyProvider 2016-10-17 10:31:36 -06:00
Sean Kaim
ef7d92d6bd code clean up 2016-10-17 12:29:05 -04:00
David Sparer
da4fe41f34 Added extra test to cover setting the authenticator max attempts 2016-10-17 09:24:40 -06:00
David Sparer
91fe4050b2 Modified several tests that were failing on some machines due to differing environment variables. Tests are now more resilient 2016-10-14 13:09:35 -06:00
David Sparer
23da6cf69e Removed unused test 2016-10-14 09:57:03 -06:00
David Sparer
51883b450f Adding various other graphics/assets provided by Riley during the turnover 2016-10-14 08:56:49 -06:00
David Sparer
cbdf02db55 Merge pull request #174 from mRemoteNG/Make_UI_more_responsive_during_save/load
Resolves #166
2016-10-14 08:52:25 -06:00
David Sparer
196096cd65 Made a few Save calls async. These probably were async before and were accidentally changed. 2016-10-14 08:19:31 -06:00
David Sparer
476ac38883 Merge pull request #173 from mRemoteNG/Reduce_duplicate_password_serialization
Reduce duplicate password serialization
2016-10-14 08:15:33 -06:00
David Sparer
90fea916fd Passwords will now only be serialized if the SaveFilter allows them to be, and if the connection/container does NOT inherit the password. 2016-10-14 08:07:30 -06:00
David Sparer
6fccd203a4 Merge pull request #171 from mRemoteNG/Make_key_derivation_iterations_a_user_option
Make key derivation iterations a user option
2016-10-13 18:44:57 -06:00
David Sparer
f2f0ee0179 Key derivation iterations is now saved in the settings (for serialization) and the confCons file (for deserialization) 2016-10-13 18:43:46 -06:00
David Sparer
1f9218bd5a Added tests for the key generator 2016-10-13 18:01:36 -06:00
David Sparer
966f7b2d61 Decryption now uses the new key derivation class 2016-10-13 17:28:25 -06:00
David Sparer
58c4b541b0 Little cleanup on decryption. Now uses the new key derivation class 2016-10-13 17:23:55 -06:00