1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-03 18:17:49 +01:00
Commit Graph

507 Commits

Author SHA1 Message Date
terrafrost
4334d381b9 BigInteger: E_NOTICE: bitwise_xor and bitwise_or had parameters of array_pad mixed up 2013-02-17 18:53:36 -06:00
terrafrost
60b66e3726 SFTP: Add chown and chgrp. 2013-02-17 18:23:35 -06:00
terrafrost
4a96cc8024 Use base-2**26 on systems with 32-bit ints and base-2**31 on systems with 64-bit ints 2013-02-17 17:52:59 -06:00
terrafrost
0333805f5c SSH2: Add isConnected() function 2013-02-16 14:58:12 -06:00
terrafrost
25c7e7bd96 SFTP: Add touch function
Also make it so chmod will auto-switch the filename / permissions if they're not in the "right" order (PHP's chmod and ftp_chmod order them differently from each other so this'll make phpseclib consistent with both)
2013-02-14 12:10:36 -06:00
terrafrost
faaa52774f SFTP: Add the ability to write to specific parts of files 2013-02-12 20:45:09 -06:00
terrafrost
51e063f1a4 Merge pull request #71 from tamagokun/exec_with_pty
enablePTY() disablePTY() for use with exec()
2013-02-10 21:14:26 -08:00
Mike Kruk
d7e4678fc4 Use enablePTY() to get a PTY with exec() calls. While exec() is running
you can use read() and write() to interact with the shell.
2013-02-08 17:04:52 -05:00
Hans-Jürgen Petrich
93f9922410 Small CS fix [2] 2013-02-07 00:45:03 +07:00
terrafrost
dba98cd57f Merge branch 'master' of https://github.com/phpseclib/phpseclib 2013-02-05 07:55:06 -06:00
terrafrost
5910f7c14f Update date format in File/X509.php
Update it to be consistent with bdd42c448b

Thanks runaway518!
2013-02-05 07:53:36 -06:00
Hans-Jürgen Petrich
323396df3c Small CS fix 2013-02-03 23:19:09 +07:00
terrafrost
2faa2b53a7 Merge pull request #69 from petrich/master
AES _Performance update [2]
2013-01-30 19:01:26 -08:00
Hans-Jürgen Petrich
b4bbb27ef6 AES: Performance update
Performance update for AES
2013-01-31 00:59:53 +07:00
terrafrost
13eb688c90 AES, RC4: CS adjustments 2013-01-30 08:39:02 -06:00
terrafrost
248e3bb085 Undo last commit 2013-01-30 08:37:50 -06:00
terrafrost
bfb04dcf4d Add __construct() constructor to make namespace'ing easier for those wishing to do it 2013-01-29 22:09:31 -06:00
terrafrost
6765cb3b2b Rijndael, AES: CS adjustments 2013-01-27 01:21:28 -06:00
terrafrost
7894fd98f5 Merge pull request #65 from petrich/patch-3
Rijndael: Performance update
2013-01-26 16:29:26 -08:00
terrafrost
01be859b44 Merge pull request #66 from petrich/patch-5
AES: Performance update
2013-01-26 16:29:10 -08:00
terrafrost
d774476bcf RC4: keys were never being set in continuous mode 2013-01-26 11:16:42 -06:00
Hans-Jürgen Petrich
7dceef6ef4 AES: Performance update
Performance update for AES
Related to: https://github.com/phpseclib/phpseclib/pull/65
2013-01-26 16:58:31 +07:00
Hans-Jürgen Petrich
c95b997fa7 Rijndael: Performance update
Performance update for Rijndael
2013-01-26 16:54:19 +07:00
terrafrost
e7336e6b54 add size checking to binary packets in Net/SSH2.php (thanks ?????? ????????!) 2013-01-26 00:17:23 -06:00
terrafrost
111544428e Merge pull request #63 from petrich/patch-3
Rijndael: little code optimizing
2013-01-25 21:52:40 -08:00
terrafrost
3eaf92332d Merge pull request #64 from petrich/patch-5
RC4: fixed ContinuousBuffer() using MODE_MCRYPT
2013-01-25 21:52:23 -08:00
Hans-Jürgen Petrich
376b2759c9 RC4: fixed ContinuousBuffer() using MODE_MCRYPT
Fixed multiple calls to ContinuousBuffer() using MODE_MCRYPT
2013-01-21 21:01:37 +07:00
Hans-Jürgen Petrich
d81563d6f3 Rijndael: little code optimizing
little code optimizing
2013-01-21 15:46:44 +07:00
terrafrost
45976002c7 Merge pull request #61 from petrich/patch-3
AES: Fixed CFB decrypt() using MODE_MCRYPT and ContinuousBuffer
2013-01-20 22:57:43 -08:00
terrafrost
e11998787c Merge pull request #62 from petrich/patch-4
DES: Fixed CFB decrypt() using MODE_MCRYPT and ContinuousBuffer
2013-01-20 22:57:24 -08:00
Hans-Jürgen Petrich
bfab4c47f9 DES: Fixed CFB decrypt() using MODE_MCRYPT and ContinuousBuffer
DES: Fixed small bug from commit d94f1b252d (DES.php in line 739-740)
in CFB decrypt() using CRYPT_DES_MODE_MCRYPT and enableContinuousBuffer()
2013-01-21 10:15:13 +07:00
Hans-Jürgen Petrich
2deea8b491 AES: Fixed CFB decrypt() using MODE_MCRYPT and ContinuousBuffer
AES: Fixed small bug from commit d94f1b252d (AES.php in line 425-426)
in CFB decrypt() using CRYPT_AES_MODE_MCRYPT and enableContinuousBuffer()
2013-01-21 10:08:49 +07:00
terrafrost
882e019062 Merge pull request #59 from tamagokun/set_exit_status
Get the exit status in ssh
2013-01-20 09:09:45 -08:00
terrafrost
16feb0f170 Merge remote-tracking branch 'upstream/master' 2013-01-20 10:17:21 -06:00
terrafrost
d94f1b252d AES, DES, RC4, Rijndael, TripleDES: multiple changes
- apply petrich's TripleDES / CFB decrypt to AES and DES
- make DES use the updated _generate_xor
- correct a comment typo
2013-01-20 10:11:19 -06:00
terrafrost
28413744c6 Merge pull request #56 from bantu/coverage-text
[coverage-text] Generate text code coverage report for output on travis ...
2013-01-17 11:43:22 -08:00
Mike Kruk
efdec7b118 Extract the exit_status if given to us from SSH. 2013-01-17 13:47:42 -05:00
Andreas Fischer
d00c5151b2 [coverage-text] Generate text code coverage report for output on travis console. 2013-01-17 17:09:36 +01:00
terrafrost
ce22f11f7f Merge pull request #57 from bantu/coverage-html
Travis CI: Generate code coverage HTML and persistently store it.
2013-01-17 07:58:23 -08:00
Andreas Fischer
ec58a8bce3 [coverage-html] Add comment to expect installation. 2013-01-16 23:44:29 +01:00
Andreas Fischer
dda7498b60 [coverage-html] Put fingerprint of RSA host key into variable. 2013-01-16 23:43:28 +01:00
Andreas Fischer
29d2ae1727 [coverage-html] Add code coverage report link to readme. 2013-01-16 23:29:15 +01:00
Andreas Fischer
dbf7265e19 [coverage-html] Add latest symlink. 2013-01-16 23:27:28 +01:00
Andreas Fischer
862bc5d6dc [coverage-html] Use PHP version number in folder name. 2013-01-16 23:18:30 +01:00
Andreas Fischer
9758ab1688 [coverage-html] Generate HTML code coverage report and rsync it out of travis. 2013-01-16 18:59:35 +01:00
terrafrost
309a31c431 Merge pull request #55 from bantu/travis/php-5.5
[travis/php-5.5] Also build on PHP 5.5 environment.
2013-01-15 09:38:04 -08:00
Andreas Fischer
c4311c5297 [travis/php-5.5] Also build on PHP 5.5 environment. 2013-01-15 16:54:51 +01:00
terrafrost
ff4f724c7e Merge pull request #54 from bantu/travis/php-5.3.3
[travis/php-5.3.3] Also build on PHP 5.3.3 in addition to the latest 5.3...
2013-01-14 18:46:32 -08:00
Andreas Fischer
0082ae0434 [travis/php-5.3.3] Build on PHP 5.3.3 in addition to the latest 5.3 version. 2013-01-15 02:52:30 +01:00
Hans-Jürgen Petrich
f7dc23a18e 3DES: Fixed ContinuousBuffer() in CTR/CFB/OFB
FIXED: multiple calls to enable/enableContinuousBuffer() work's now in CTR/CFB/OFB
FIXED: "Illegal string offset" and strlen(array()) Warning/Notice
Performance improvement in CFB Mode with enableContinuousBuffer() using MODE_MCRYPT
2013-01-14 21:23:20 +07:00