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

4531 Commits

Author SHA1 Message Date
terrafrost
3d70b5ece8 SSH2: rm debug code 2022-01-29 11:38:19 -06:00
terrafrost
de4220c461 SSH2: CS adjustments 2022-01-29 11:35:38 -06:00
terrafrost
56ed69fbe7 fix bad merge 2022-01-29 09:15:01 -06:00
terrafrost
1017120fa9 Merge branch '2.0' into 3.0 2022-01-28 15:10:07 -06:00
terrafrost
c8d379daa5 Crypt/Base: add OFB8 as a new mode 2022-01-28 14:39:16 -06:00
terrafrost
e6afe3e25f Merge branch '2.0' into 3.0 2022-01-28 00:54:53 -06:00
terrafrost
ef45ea7289 Merge branch '0.0' into 2.0 2022-01-28 00:52:05 -06:00
uzulla
ba4414c2f3 Fix: avoid warn when cast float to int in PHP7.1.
I got some error.

```
 Implicit conversion from float 992216.1102294922 to int loses precision

---

```
2022-01-28 00:44:44 -06:00
terrafrost
a748bf5bef SSH2: one more tweak to RSA signature verificatio 2022-01-27 18:26:08 -06:00
terrafrost
decbde4f5d SSH2: rsa-sha2-256 and rsa-sha2-512 sigs weren't verifying 2022-01-27 05:51:06 -06:00
Jack Worman
7c000843ab Corrected many @return annotations in phpseclib/Net
Corrected many @return annotations in phpseclib/Net
2022-01-23 11:00:41 -06:00
terrafrost
88e39a1d4b Merge branch '2.0' into 3.0 2022-01-15 20:19:38 -06:00
terrafrost
2c3f0121b2 Merge branch '1.0' into 2.0 2022-01-15 20:19:28 -06:00
terrafrost
b2708aa783 BACKERS: add new sponsor! 2022-01-15 20:19:09 -06:00
terrafrost
602760c5d8 SSH2: CS change for 3.0 branch 2022-01-14 18:32:23 -06:00
terrafrost
d359543fe7 Merge branch '2.0' into 3.0 2022-01-14 18:31:48 -06:00
terrafrost
89482747a6 Merge branch '0.0' into 2.0 2022-01-14 18:31:37 -06:00
terrafrost
dac83d206e SSH2: fix pre-PHP 5.4 syntax error 2022-01-14 18:31:19 -06:00
terrafrost
ddfb217855 Merge branch '1.0' into 3.0 2022-01-08 19:51:35 -06:00
terrafrost
676b099789 Merge branch '1.0' into 2.0 2022-01-08 19:50:36 -06:00
PetrP
888867e7b6 SFTP: fix chgrp() for version < 4
$uid and $gid were flipped with dbfc762257
2022-01-08 19:50:22 -06:00
terrafrost
796270a254 Tests: update for 3.0 branch 2022-01-08 16:49:43 -06:00
terrafrost
2aa8072410 Merge branch '1.0' into 3.0 2022-01-08 16:49:00 -06:00
terrafrost
bc457521f1 Tests: update for 2.0 branch 2022-01-08 16:36:47 -06:00
terrafrost
d2994dafe1 Merge branch '1.0' into 2.0 2022-01-08 16:36:21 -06:00
terrafrost
9b587a87c0 Tests: add test for connecting to non-existant host 2022-01-08 16:35:57 -06:00
terrafrost
438241b6c2 Merge branch '1.0' into 3.0 2021-12-28 00:27:33 -06:00
terrafrost
70a2120458 Merge branch '0.0' into 2.0 2021-12-28 00:27:18 -06:00
terrafrost
b3a606b90c add 1.0.20 release 2021-12-28 00:26:23 -06:00
terrafrost
0a71243b91 Merge branch '1.0' into 3.0 2021-12-26 02:28:45 -06:00
terrafrost
c60b0c3cc7 Merge branch '1.0' into 2.0 2021-12-26 02:23:57 -06:00
terrafrost
cc6edd81a6 Strings: misc tweaks 2021-12-26 00:40:43 -06:00
David Anderson
a9ed96833e
Check existence of phpinfo() before using 2021-12-21 14:19:00 +00:00
David Anderson
dd9dfeec18
Check phpinfo() available before using it 2021-12-21 14:17:16 +00:00
terrafrost
df918f6af9 Merge branch '2.0' into 3.0 2021-12-15 07:28:38 -06:00
terrafrost
f449152c91 Merge branch '2.0' of https://github.com/phpseclib/phpseclib into 2.0 2021-12-15 07:24:06 -06:00
terrafrost
e0d8b9454a
Merge pull request #1723 from michaelKaefer/3.0
Remove define() from SSH2 and use class constants instead (3.0 branch)
2021-12-15 05:56:29 -06:00
terrafrost
860342f644
Merge pull request #1722 from michaelKaefer/2.0
Remove define() from SSH2 and use class constants instead (2.0 branch)
2021-12-15 05:56:08 -06:00
Michael Käfer
d71522d8aa Remove define() from SSH2 and use class constants instead (3.0 branch) 2021-12-14 16:34:41 +01:00
Michael Käfer
624f328c88 Remove define() from SSH2 and use class constants instead 2021-12-14 13:18:33 +01:00
terrafrost
13881b09d4 Travis: add PHP 8.1 support
See https://bugs.php.net/75474#1509646645 for more info on the static
change
2021-12-11 10:19:39 -06:00
terrafrost
b1daeb1cb7 Merge branch '1.0' into 2.0 2021-12-10 07:44:50 -06:00
terrafrost
0868023216 Travis: add PHP 8.1.0 2021-12-10 07:39:19 -06:00
terrafrost
8a0e6c05e7 Salsa20: fix PHP 5.6 error
The following demonstrates the error:

function demo(&$x)
{
  $x = 5;
}

$x = $y = [10];
demo(...$y);
echo $x[0];

That outputs 5 in PHP 5.6 and 10 in later PHP versions
2021-12-10 07:30:26 -06:00
terrafrost
072a56b2f9 SSH2: allow for stringable objects 2021-12-07 22:20:55 -06:00
terrafrost
20b9abf589 SSH2: show a more helpful error message when logging in with pubkey 2021-12-07 22:10:29 -06:00
terrafrost
6a935bb57b Merge branch '2.0' into 3.0 2021-12-07 21:59:47 -06:00
terrafrost
4e1e394aa9 Merge branch '1.0' into 2.0 2021-12-07 21:59:41 -06:00
terrafrost
a74707e080 SSH2: make login() return false if no valid auth methods are found
this is an issue if you, for example, login with a PublicKey instead of a PrivateKey
2021-12-07 21:59:24 -06:00
terrafrost
e9fbf9ed8a Merge branch '1.0' into 2.0 2021-12-07 21:58:21 -06:00