terrafrost
2ea810f2ae
Merge branch '3.0'
2024-09-24 23:22:14 -05:00
terrafrost
826b4cb582
don't run unit tests on PHP 5.6
...
phpseclib 3.0 still nominally supports PHP 5.6 but i'm tired of seeing
unit tests fail because of issues i can't reproduce on my own local
PHP 5.6 install.
this isn't without precident.phpseclib 1.0 nominally supports PHP 4.4,
as well, but it's not unit tested on PHP 4.4. for that one, if someone
has an issue with PHP 4.4 they're free to report it on github. PHP 5.6
will henceforth work that way for phpseclib 3.0.
2024-09-24 22:21:02 -05:00
terrafrost
ac1d45f523
Merge branch '3.0'
2024-09-24 09:09:13 -05:00
terrafrost
c3cd458bcf
BigInteger: speed up Barrett reductions
...
the changes for #1994 (commit 2689c727
) slowed things down
unnecessarily.
2024-09-24 06:37:52 -05:00
terrafrost
69c4fed80d
Merge branch '3.0'
2024-09-15 22:06:21 -05:00
terrafrost
db92f1b198
CHANGELOG: add 3.0.42 release
2024-09-15 22:06:04 -05:00
terrafrost
42f575c079
Merge branch '3.0'
2024-09-15 21:47:47 -05:00
terrafrost
1dba4262e9
X509: CRL default version should be v1 - not v2
2024-09-15 21:45:40 -05:00
terrafrost
d84925124d
Merge branch '2.0' into 3.0
2024-09-15 21:43:31 -05:00
terrafrost
567a439152
Merge branch '1.0' into 2.0
2024-09-15 21:43:24 -05:00
terrafrost
f23b6d583b
X509: CRL fixes
2024-09-15 21:43:11 -05:00
terrafrost
702ec756f4
Merge branch '3.0'
2024-09-15 14:05:38 -05:00
terrafrost
c8da4c50d5
SFTP: refactor posix_rename() somewhat
2024-09-15 14:03:35 -05:00
terrafrost
3983061826
Merge branch '3.0'
2024-09-15 13:59:53 -05:00
terrafrost
89f2385a6a
CS adjustment
2024-09-15 13:40:16 -05:00
terrafrost
b82a58ae46
Merge branch '3.0'
2024-09-15 13:36:12 -05:00
terrafrost
79ab7c1f8e
SFTP: make posix_rename work on SFTP v5+
2024-09-15 13:33:51 -05:00
terrafrost
e546719a58
Merge branch '3.0'
2024-09-13 08:43:37 -05:00
terrafrost
5ec2d25ed4
SSH2: update error message for ppl not connecting to SSH servers
2024-09-13 08:41:54 -05:00
terrafrost
c06443411b
Merge branch '3.0'
2024-09-08 08:07:59 -05:00
terrafrost
a5316b71f5
Hash: simplify sha512 code
2024-09-08 07:58:18 -05:00
terrafrost
e40321c882
Merge branch '3.0'
2024-09-08 07:40:08 -05:00
terrafrost
28866e826b
Hash: fix for masks at upper boundary of what signed ints allow
...
on 64-bit PHP installs (1 << 63) - 1 == (1 << 63)
-1 ^ (-1 << 63) gives the correct result
on 32-bit PHP installs (1 << 31) - 1 returns a float and using the result as a bitmask yields this error on sufficiently new versions of PHP:
Deprecated: Implicit conversion from float -2147483649 to int loses precision
Explicitly casting (1 << 31) - 1 to an int yields the correct result but, then again, so does -1 ^ (-1 << 31) and that one is consistent with how it works on 64-bit PHP installs
2024-09-08 07:18:47 -05:00
terrafrost
e2174f3bf8
Merge branch '3.0'
2024-09-07 19:18:11 -05:00
terrafrost
8307eb3b01
CS adjustment
2024-09-07 19:17:38 -05:00
terrafrost
439ec74afc
Merge branch '3.0'
2024-09-07 18:56:40 -05:00
terrafrost
614bd994b9
Hash: significantly speed up sha512/224 & sha512/256
...
at least on 64-bit PHP < 7.1 installs
previously hashing 0.5MB of data with sha512/224 would take 48.5s.
now it takes 0.72s.
2024-09-06 17:56:21 -05:00
terrafrost
d03090ae91
Merge branch '3.0'
2024-09-04 21:44:26 -05:00
terrafrost
301ef6bd18
Merge branch '2.0' into 3.0
2024-09-04 21:28:07 -05:00
terrafrost
a5a3aaa3d4
Merge branch '1.0' into 2.0
2024-09-04 21:25:34 -05:00
terrafrost
3e8ce2ba4b
SSH2: if string is passed to setPreferredAlgorithms treat as array
2024-09-04 21:25:09 -05:00
terrafrost
9305e38de0
Merge branch '3.0'
2024-09-04 21:15:02 -05:00
terrafrost
e08decd0fe
Hash: significantly speedup umac algorithms on 32-bit PHP installs
...
and cleanup the 64-bit algorithms
2024-08-27 21:31:15 -05:00
terrafrost
609d45284d
CS adjustments
2024-08-25 20:27:50 -05:00
terrafrost
7364fc54e5
Merge branch '3.0'
2024-08-25 20:20:47 -05:00
terrafrost
12cd5f82b5
Merge branch 'sftp-extensions'
2024-08-25 20:15:09 -05:00
terrafrost
ce0aeec402
SFTP: backport statvfs() and posix_rename() from master branch
2024-08-25 20:10:38 -05:00
terrafrost
a8ed4be0ce
Merge branch '3.0'
2024-08-25 18:15:33 -05:00
terrafrost
b500726ce8
Hash: rm unnecessary casting to int
2024-08-25 18:15:18 -05:00
terrafrost
ed378bb533
Merge branch '3.0'
2024-08-25 14:11:32 -05:00
terrafrost
70416554a4
Merge branch '2.0' into 3.0
2024-08-25 14:11:04 -05:00
terrafrost
778035aa71
SSH2: identification strings > 255 bytes didnt get parsed correctly
2024-08-25 14:08:42 -05:00
terrafrost
d69af52c7a
CS adjustmentss
2024-08-25 05:31:50 -05:00
terrafrost
5679fc48db
Merge branch '3.0'
2024-08-25 05:31:01 -05:00
terrafrost
7e699fb725
Hash: significantly speedup umac algorithms on 64-bit PHP installs
...
the same technique should be able to be used to speed up SHA512
on PHP < 7.1.0. PHP >= 7.1.0 doesn't benefit from the change
as there's no need for any pure PHP SHA512 implementation on those
versions
2024-08-25 05:30:29 -05:00
terrafrost
9c73d2d06d
Merge branch '3.0'
2024-08-22 08:48:37 -05:00
terrafrost
e13a2628c5
Hash: umac's require a key; give a better error when one is missing
2024-08-22 08:47:36 -05:00
terrafrost
f1c010b799
Merge branch '3.0'
2024-08-20 08:39:49 -05:00
terrafrost
6897b947ea
SSH2: priotize the umac algorithms down due to their slow speed
...
PHP's hash() method doesn't support them so they receive no
acceleration whereas the other algorithms can and do
2024-08-20 08:38:38 -05:00
terrafrost
394d15bf3a
Merge branch '3.0'
2024-08-19 07:00:10 -05:00