Commit Graph

4405 Commits

Author SHA1 Message Date
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
terrafrost
649661cd5e SSH2: make login() return false if no valid auth methods are found 2021-12-07 21:57:55 -06:00
terrafrost
8c137a19e4 Tests/Salsa20: use stream[0..63] instead of xor-digest 2021-12-04 22:44:20 -06:00
terrafrost
4141799c02 Tests: fix issues with Salsa20 / ChaCha20 unit tests 2021-12-04 18:43:12 -06:00
terrafrost
35d8974ac1 Tests: ChaCha20 and Salsa20 unit tests weren't being ran 2021-12-04 16:27:52 -06:00
thephilosoft
aa88c5621b fix: fix syntax errors in ChaCha20 and Salsa20 tests 2021-12-04 15:42:25 -06:00
terrafrost
2bcb643660 Merge branch '2.0' into 3.0 2021-12-04 15:10:52 -06:00
terrafrost
f0a7fc8e63 Merge branch '1.0' into 2.0 2021-12-04 15:09:37 -06:00
terrafrost
e0068833b5 README: fix travis-ci.com link 2021-12-04 15:01:33 -06:00
terrafrost
dc3e7bda71 Tests/SFTP: PHP 8.1 error message changed 2021-11-29 07:23:49 -06:00
terrafrost
89bfb45bd8 CHANGELOG: fix bad merge 2021-11-28 17:46:03 -06:00
terrafrost
bf17f54058 Merge branch '2.0' into 3.0 2021-11-28 17:31:46 -06:00
terrafrost
4e16cf3f5f CHANGELOG: add 2.0.35 release 2021-11-28 17:30:39 -06:00
terrafrost
1bd5b40ee1 SymmetricKey: add getMode() 2021-11-28 11:27:52 -06:00
terrafrost
a85c2f0d6e RSA: rm unused privateKey variable 2021-11-22 08:13:55 -06:00
terrafrost
84295e2fc2 RSA/Keys/Raw: add support for private keys 2021-11-21 21:22:34 -06:00
terrafrost
ea0e71977e Tests/EC: add a test showing phpseclib's immunity to an EC vuln 2021-11-21 10:34:15 -06:00
terrafrost
d20bf291a1 Merge branch '3.0' of https://github.com/phpseclib/phpseclib into 3.0 2021-11-21 09:59:07 -06:00
terrafrost
c4b571a588 EC: error out when scalar is out of range 2021-11-21 09:55:04 -06:00
terrafrost
24c26e63e9 Merge branch '2.0' into 3.0 2021-11-17 09:25:04 -06:00
terrafrost
ce5c4ee8c9 Merge branch '1.0' into 2.0 2021-11-17 09:22:52 -06:00
terrafrost
25ccee1238 BACKERS: add Allan Simon 2021-11-17 09:22:30 -06:00
terrafrost
053910784e CS adjustments 2021-11-14 00:53:03 -06:00
terrafrost
4eb9cbd0c8 EC/Keys/PKCS8: publicKey parameter should be optional 2021-11-14 00:52:37 -06:00
terrafrost
014b3a95a1 Merge branch '2.0' into 3.0 2021-11-11 19:51:26 -06:00
terrafrost
ecd08ffc52 Merge branch '1.0' into 2.0 2021-11-11 19:51:19 -06:00
terrafrost
40035dc59c SFTP: don't attempt to parse unsupported attributes 2021-11-11 19:50:52 -06:00