olegkap_cp
1c8a03abb1
Fix encoding support and send command always encoded as UTF-8
2011-09-15 13:21:19 +00:00
olegkap_cp
234cd1e024
Update Silverlight and WindowPhone projects and make it compilable.
...
Apply new file naming convention for silverlight and windows phone project files
2011-09-15 12:52:35 +00:00
olegkap_cp
b52679c0ef
Minor code performance improvment, replace Array.Copy with Buffer.BlockCopy
2011-09-14 13:37:38 +00:00
olegkap_cp
2fc80afd6b
Add file overwrite option to UploadFile method
2011-09-12 19:26:10 +00:00
olegkap_cp
2760c05e21
Implement write pipelining
...
Other minor peromnace improvments
2011-09-12 18:53:24 +00:00
olegkap_cp
b0458769df
Fix random bytes arrays generation size
2011-08-31 00:59:18 +00:00
olegkap_cp
83884c34aa
Refactor and remove usage of Network stream to make it compartible with Silverlight
...
Make silverlight project compilable (still cannot connect, signature fails)
2011-08-30 03:01:46 +00:00
olegkap_cp
4c1b9660f1
Add missing Resources file from the test project
2011-08-29 13:47:41 +00:00
olegkap_cp
213ac99613
Fix RsaCipher block type condition
2011-08-29 00:29:04 +00:00
olegkap_cp
98033220e8
Rename Size int Length to look more like FileInfo
2011-08-28 15:41:31 +00:00
olegkap_cp
ba3efa90f7
Fix RSA cipher and add support for different key sizes.
2011-08-28 14:12:07 +00:00
olegkap_cp
7f0c5d2399
Make NextRequestId property thread safe.
2011-08-27 12:12:49 +00:00
olegkap_cp
4b1f991c9e
Remove ASCIIEncoding class and replace ASCII to UTF-8
...
Refresh Silverlight and WindowsPhone projects
2011-08-27 03:42:50 +00:00
olegkap_cp
da854b711a
Apply 10278 patch and make some minor corrections
...
Fix Renci.SshNet.NET35 project and make it compilable
Add Tests for .NET 3.5
2011-08-26 12:52:20 +00:00
olegkap_cp
5aa082d32d
Add BigInteger.BitLength property
...
Use BitLength property to calculate random value
2011-08-25 18:00:32 +00:00
olegkap_cp
70105742d3
Add project for future .NET 3.5 support
2011-08-25 14:00:39 +00:00
olegkap_cp
5cfea7f750
Remove deleted files from the source
...
Fix SftpFile.MoveTo method to rename file
Correct SshData class ReadString and ReadBinaryString methods
Add SftpFile.MoveTo test
2011-08-24 13:32:28 +00:00
Kenneth_aa_cp
20a22115f2
SshData.cs - Added 2 parameter checks.
...
SshClient.cs - Added 1 parameter check.
In SymetricCipher, added check for constructor parameter key, added documentation to all classes that inherits from this class: Block(Cipher), Aes, Arc4, Blowfish, Cast, Des, Serpent, TripleDes, Twofish and Stream.
These were found using Code Analysis: Full.
2011-08-24 05:04:45 +00:00
Kenneth_aa_cp
d8ee7d17d2
SshData.cs - Added 4 exception documentation, added 3 parameter checks, fixed typo in exception message for ReadString/ReadBinaryString. Also note that any call to SshData.Write(IEnumerable<byte>) will throw if passed null, List<byte>.AddRange does that for us.
...
SubsystemSession.cs - Added 1 exception documentation and parameter check on Constructor(Session,string,TimeSpan).
SftpClient.cs - Added more exception documentation than I care to count.
PipeStream.cs - Fixed mismatch between documentation and the actual exception in Write(byte[], int, int). Also in property Position, throwing NotImplemented but documented NotSupported. Also happens elsewhere o.O - I'm not touching this code anymore, see Workitem 819.
SemaphoreLight.cs - Added 1 exception documentation.
2011-08-24 03:00:58 +00:00
olegkap_cp
097246c153
Split SftpSession class into 2 to allow future extensability of other sub systems
2011-08-22 13:51:15 +00:00
olegkap_cp
ae45316542
Add few cipher and private key tests
2011-08-22 02:03:00 +00:00
olegkap_cp
dbd5f07d20
Fix CA2214 and some other CA complaints
...
Fix some comments
Fix DownloadFile hang error introduced in previouse check in
2011-08-20 23:39:40 +00:00
olegkap_cp
34a5cba265
Code Cleanup
...
Some TODO items
Replace IEnumerable<byte> with byte[] to reduce calling .ToArray() function
Fix ListDirectory ( close open directory handle)
2011-08-18 19:24:00 +00:00
olegkap_cp
6f20f21d11
Improve DER object serialization and add ObjectIdentifier class to identify algorithm being used during DER serialziation
2011-08-18 13:09:20 +00:00
olegkap_cp
67538291a5
Fix RequestRead operation
2011-08-17 15:14:37 +00:00
olegkap_cp
745bc9e2bc
Add RsaKey and DsaKey classes
...
Add HostAlgorithm class for host key authentication and possible for certificate authentication in the future
Refactor public/private key logic
2011-08-16 18:48:16 +00:00
Kenneth_aa_cp
eb8a5086ad
ConnectionInfo.cs - Added 1 exception documentation.
...
PrivateKeyFile.cs - Added 4 exception documentation, and added parameter checks for null to DecryptKey.
SftpFile.cs - Added 1 exception documentation.
SftpFileStream.cs - Added 3 exception documentation.
SftpClient.cs - Added 8 exception documentation, and added a an attribute to SetLastAccessTime, SetLastAccessTimeUtc, SetLastWriteTime, SetLastWriteTimeUtc to give warning about not being implemented.
Shell.cs - Added 2 exception documentation.
SshCommand.cs - Added 3 exception documentation, and added 2 notes in BeginExecute as to how to better explain the exception, and question what happens if callback is null.
2011-08-16 06:26:02 +00:00
olegkap_cp
b20150456e
Refactor and reorganize cipher encryption (more need to be done)
...
Add padding for private key DES-EDE3-CBC, DES-EDE3-CFB and others encryption/decryption
Add internally implemented DSA digital signature
Change encruption and hash algorithm definition in ConnectionInfo from Type to Lambda expression
2011-08-11 02:01:18 +00:00
olegkap_cp
033218647f
Add KeepAliveRequestInfo class
...
Add EndOfWriteRequestInfo class
Refactor channel request messages to allow custom channel reuqest support
2011-08-03 18:53:45 +00:00
olegkap_cp
e369b0f53e
Add and fix comments
2011-07-29 19:13:44 +00:00
olegkap_cp
5e2112e62b
Add SHA256Hash algorithm
...
Exclude RSA Private Key from Silverlight version
Minor silverlight related fixes
2011-07-28 20:44:10 +00:00
olegkap_cp
40b36edaf1
Add SHA1 algorithm
...
Add RSA Private key algorithm
Adding some Silverlight specific #if...#endif
2011-07-28 20:09:41 +00:00
olegkap_cp
e3d3796d33
Fix Aes -ctr algorithms
...
Move hmac-md5 hashing algorithm into library
2011-07-13 14:41:13 +00:00
olegkap_cp
7d8c9cf61e
Refactor and reorganize cipher code
...
Fix TripleDES cipher
Fix and add missing comments
Mark assembly as not CLR
2011-07-06 20:19:29 +00:00
olegkap_cp
445d995f44
Add ASCIIEncoding to be used internally and also by Silverlight implementations
...
Misc logic sepeartion to prepare for Silverlight
2011-07-05 20:03:02 +00:00
olegkap_cp
1217c5505e
Minor changes for future silverlight support
2011-07-05 16:00:43 +00:00
olegkap_cp
a5c68f73c5
Fix some issues raised in #752 Issue
2011-07-05 15:24:50 +00:00
Kenneth_aa_cp
3d0738c8c8
Undo panic.
2011-07-04 11:13:22 +00:00
Kenneth_aa_cp
0a1aa984ec
Firealarm
2011-07-04 10:58:55 +00:00
olegkap_cp
18b6eafaaa
Extract thread related operation to NET40 partial classes
...
Replace SemaphoreSlim with custom SemaphoreLight class
2011-06-30 20:49:00 +00:00
olegkap_cp
972b1eae21
Split exception file into two partial files so it could be reused by other implementations
2011-06-30 15:21:50 +00:00
olegkap_cp
6411407558
Replace System.Numerics.BigInteger type with internally implemented Renci.SshNet.Common.BigInteger
2011-06-30 14:51:17 +00:00
olegkap_cp
2d988eff58
Adding and linking project for Silverlight and WindowsPhone development
2011-06-29 17:36:40 +00:00
olegkap_cp
fd22cf21a2
Replace ErrorEventArgs with ExceptionEventArgs
2011-06-29 14:59:15 +00:00
olegkap_cp
db11576c82
Remove Messages folder from previouse check-in
2011-06-27 17:58:55 +00:00
olegkap_cp
e67cc54cd2
Refactor SFTP messages to request/response
...
Add new Exists method to verify if file of directory exists
Change Get method to throw an exception if file or directory do not exists
Replace SftpAsyncResult with SftpDownloadAsyncResult, SftpUploadAsyncResult and SftpListDirectoryAsyncResult
2011-06-27 17:57:51 +00:00
olegkap_cp
be896dc88a
Fix Buffer.BlockCopy error in SftpFileStream.Write method
2011-06-21 20:14:54 +00:00
olegkap_cp
ef83707843
Fix FileMode.Create behaviour for SftpFileStream class
2011-06-21 20:00:22 +00:00
olegkap_cp
b248dcc75f
Rename SshFileNotFoundException to SftpPathNotFoundException to include file and direcotry errors and to be more SFTP specific.
...
Rename SshPermissionDeniedException to SftpPermissionDeniedException to specify SFTP specific exception.
2011-06-21 19:18:50 +00:00
olegkap_cp
3e770696ae
Fix ChangeDirectory method
...
Fix GetCanonicalPath method
Add tests for ChangeDirectory
2011-06-21 19:13:34 +00:00