78 Commits

Author SHA1 Message Date
David Sparer
3e40b08525 Merge pull request #348 from countchappy/develop
RDP Minutes to Idle Timeout - users cant enter invalid timeout values
2017-01-27 14:58:05 -07:00
David Sparer
217693937f connectioninfo id is now serialized to the confCons file 2017-01-25 14:02:20 -07:00
countchappy
80c6ce81e1 RDP Minutes to Idle Timeout - Update 4
Added an option to alert if disconnected due to inactivity.
2017-01-16 15:14:27 -05:00
countchappy
c33095cd0e RDP Minutes to Idle Timeout - Update 2.1
Fixed my goof!
2017-01-13 17:11:07 -05:00
countchappy
166d9f7133 RDP Minutes to Idle Timeout - Update 2
Added null conditional operator to prevent throwing a null reference
error for beta users.
2017-01-13 13:41:19 -05:00
countchappy
7e4b0635b2 RDP Minutes To Idle Timeout
Allows users to configure a number of minutes until the session will
automatically disconnect if left idle.
2017-01-11 15:23:43 -05:00
Sean Kaim
8d5a765040 pass importSubOU option in to recursive calls
Fixes remaining problems reported in #211
2016-12-13 14:22:39 -05:00
David Sparer
cc15c12d19 Resolved bug with deserializing confCons v2.5 custom password full encryption files 2016-11-21 10:01:34 -07:00
David Sparer
0b507cb66a Fixed bug where custom decryption passwords would require 2 password prompts to decrypt 2016-11-21 09:59:46 -07:00
David Sparer
b1c697ea09 ensured that the rootnodeinfo is not null during decryption 2016-11-21 09:25:43 -07:00
Sean Kaim
5a830c17db ReShaper Cleanup 2016-11-11 17:24:02 -05:00
Sean Kaim
00ec25d38c Fix compilier warning: CA2202 & refactor
https://msdn.microsoft.com/en-us/library/ms182334.aspx
2016-11-11 16:25:47 -05:00
Sean Kaim
348fc156de Commented out Unused variable 2016-11-11 16:21:46 -05:00
Sean Kaim
bbfbbbf91e make sub OU import optional 2016-11-10 17:53:32 -05:00
Sean Kaim
c5f199bdf8 recurively import OU, Sub-OU and servers 2016-11-08 17:31:50 -05:00
David Sparer
193bb0bf26 The xml decryptor wasn't passing the kdfiterations value to the cryptoprovider. It was being essentially hard-coded in... whoops
Added a new test to ensure we can serialize then deserialize with a custom kdf value
2016-11-02 15:59:25 -06:00
Sean Kaim
d862462bbf Fix build failures (tests)
I don't want to risk breaking any existing SQL implementations at this
point by updating the schema... Especially since I don't have the time
to test it properly.
2016-11-02 17:05:44 -04:00
Sean Kaim
60cd2c2b12 RDP audioqualitymode option
fixes #172
2016-11-02 15:49:45 -04:00
David Sparer
fd6268ce8a Updated the deserializer / decryptor to look at the rootnodeinfo for decryption key rather than static Runtime. There was some state leaking that caused unit tests to fail intermittently 2016-10-25 10:59:43 -06:00
David Sparer
47561340e3 minor cleanup 2016-10-25 09:33:34 -06:00
David Sparer
b374952141 Renamed the ConnectionsDecryptor to XmlConnectionsDecryptor and moved it into the Serializers namespace 2016-10-25 08:53:07 -06:00
David Sparer
6b023c5fb6 Simplified the xml serializer by chunking it into appropriate classes 2016-10-24 15:40:28 -06:00
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
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
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
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
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
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
d0e21d7d8a Added tests for all current versions and significant variations of confCons. More changes to the deserialization classes were required to make them more testable. Still needs significant work to be considered good code 2016-10-13 15:49:49 -06:00
David Sparer
21c96281a8 Resolved issue where encrypted values were not being decrypted correctly. (it was using the wrong decryption provider) 2016-10-13 09:09:47 -06:00
David Sparer
4aa9a6e7a3 Changed the mRemoteNG csv exporter to not use the non-existant TreeNode for serializing its location in the tree. Resolves #165 2016-10-12 12:09:28 -06:00
David Sparer
5d964f7638 Removed the visionapp Remote Desktop 2008 export option and all related code 2016-10-12 11:30:31 -06:00
David Sparer
a13a6d3919 Renamed the SaveFilter properties to include the prefix "Save" 2016-10-12 09:51:08 -06:00
David Sparer
ac01c6fff2 Renamed the Save class to SaveFilter to better indicate its purpose 2016-10-12 09:49:33 -06:00
David Sparer
59e948fa06 Renamed function to better show its purpose 2016-10-12 09:06:18 -06:00
David Sparer
9d67f58490 Replaced all calls to GeneralAppInfo.EncryptionKey to Runtime.EncryptionKey 2016-10-12 08:16:05 -06:00
David Sparer
a862240ed7 Code cleanup 2016-10-12 08:09:28 -06:00
David Sparer
0f604f453d Code cleanup 2016-10-12 07:38:47 -06:00
David Sparer
113e9eba79 Deserialization now works for full file encryption 2016-10-11 20:02:54 -06:00
David Sparer
9af610a45b Rewrote the full file encryption code for the xml serializer. It now conforms to the expected placement of encrypted data 2016-10-11 16:09:42 -06:00
David Sparer
201fbb71c1 Xml deserializer is working for the new confcons schema to detect and use variable encryption methods. Full file decryption does not currently function. 2016-10-10 20:08:01 -06:00
David Sparer
34af797ad2 Modified xml serializer to use the new confcons schema 2016-10-10 19:41:14 -06:00
David Sparer
29d1bf7ce5 Updated the max supported confcons version to 2.6 2016-10-10 15:24:36 -06:00
David Sparer
c2f9c687ce Added an attribute to the Xml element "EncryptionInfo" to indicate whether we should expect full file encryption 2016-10-10 15:21:45 -06:00
David Sparer
cbb9ceb709 XmlSerialization now saves the new EncryptionInfo element 2016-10-10 14:50:37 -06:00