1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 02:28:06 +01:00
Commit Graph

4571 Commits

Author SHA1 Message Date
terrafrost
9197b3ad3e ASN1: CS adjustment 2023-07-02 11:22:02 -05:00
terrafrost
9341e090c5 Merge branch '2.0' into 3.0 2023-07-02 11:18:17 -05:00
terrafrost
6aa6a5241f SFTP: CS adjustments 2023-07-02 10:46:34 -05:00
terrafrost
411d09cb7a Merge branch '1.0' into 2.0 2023-07-02 10:45:46 -05:00
terrafrost
df3dab7d3f SFTP: make it so SFTP::RESUME also sets offset of local file 2023-07-02 10:45:25 -05:00
terrafrost
bc8e0ed636 BigInteger: speed up powMod() method 2023-06-25 10:03:16 -05:00
terrafrost
862b9662a2 Merge branch '2.0' into 3.0 2023-06-13 03:42:25 -05:00
terrafrost
149f608243 CHANGELOG: add 2.0.44 release 2023-06-13 03:41:47 -05:00
terrafrost
afbee9a7d1 Merge branch '2.0' into 3.0 2023-06-13 03:03:22 -05:00
terrafrost
cbbadea6d1 Merge branch '1.0' into 2.0 2023-06-13 03:02:45 -05:00
terrafrost
16c67f4399 SSH2: fix more E_DEPRECATE_NOTICEs 2023-06-13 03:01:43 -05:00
terrafrost
543a1da811 Merge branch '2.0' into 3.0 2023-06-13 01:30:34 -05:00
terrafrost
87b6bb4b48 CHANGELOG: add 2.0.43 release 2023-06-13 01:30:01 -05:00
terrafrost
f29c2958b6 Merge branch '2.0' into 3.0 2023-06-12 17:16:22 -05:00
terrafrost
68d8f5b4fe Merge branch '1.0' into 2.0 2023-06-12 17:15:30 -05:00
terrafrost
b6c01f9318 SSH2: backport some E_DEPRECATED fixes from 3.0 2023-06-12 17:14:58 -05:00
terrafrost
4f113bc96c SFTP: CS adjustment 2023-06-04 16:39:44 -05:00
terrafrost
dff24146af CS adjustment 2023-06-04 16:33:58 -05:00
terrafrost
2a6f8082b0 Merge branch '2.0' into 3.0 2023-06-04 16:24:54 -05:00
terrafrost
9f919e8f24 Merge branch '1.0' into 2.0 2023-06-04 16:16:25 -05:00
terrafrost
eb8cbd7317 X509: backport EV subjects 2023-06-04 16:16:07 -05:00
Tobias
3c349e122b feat(ADMINISTRATION-1): added ev subjects 2023-06-04 16:00:15 -05:00
terrafrost
b8f8f0b7db SFTP: add optional $recursive parameter to filesize() 2023-06-04 10:50:26 -05:00
terrafrost
f418be845b RSA: setting sig padding broke enc padding and vice versa 2023-06-02 10:14:58 -05:00
Léon Melis
841267aafa X509::getChain() should always return array of X509 objects
Due to an early exit optimization, X509::getChain() could return currentCert as an array, instead of X509
2023-05-27 19:15:15 -05:00
terrafrost
2097656b4a
Merge pull request #1912 from thomascorthals/3.0
SFTP typehint fixes
2023-05-18 08:17:52 -05:00
thomascorthals
c71c217fd5 SFTP typehint fixes 2023-05-15 11:15:49 +02:00
terrafrost
b25206e92b
Merge pull request #1904 from terrafrost/3.0-openchannel
(3.0 branch) SSH/SFTP: create new openChannel() method to eliminate dupe code
2023-05-10 04:38:51 -05:00
terrafrost
58c2b3a16c Merge branch '2.0' into 3.0 2023-05-10 04:37:03 -05:00
terrafrost
765690c057 Merge branch '1.0' into 2.0 2023-05-10 04:36:56 -05:00
terrafrost
3215afaebb BACKERS: add istiak-tridip. thanks!! 2023-05-10 04:36:30 -05:00
terrafrost
3dd7779939 SSH2: rm redundant isAuthenticated() call 2023-05-07 11:24:33 -05:00
terrafrost
89d8e6ecbb SFTP: rm redundant code 2023-05-07 11:07:38 -05:00
terrafrost
f664ccb521 SSH2: make exceptions more useful for read() / write() 2023-05-07 11:07:07 -05:00
terrafrost
961034f4c2 SymmetricKey: fix typehint 2023-05-05 07:36:29 -05:00
terrafrost
79b6f96870 SSH2: CS adjustment 2023-04-21 15:39:01 -05:00
terrafrost
21db83aeb7
Merge pull request #1909 from browner12/AB-fputs-failure-message
(3.0 branch) update exception message
2023-04-21 15:33:04 -05:00
Andrew Brown
d4263e854d update exception message
`fputs()` can return `int|false`.  if it fails and `$sent` is `false`, then our exception message looks a little confusing:

> Only  of XXX bytes were sent

This change updates the message to be more descriptive if the `fputs()` fails.
2023-04-18 15:16:18 -05:00
terrafrost
06f45881f9 Tests/SSH2: add more expansive unit test 2023-04-15 08:07:18 -05:00
terrafrost
184a984e97 SSH2: updates to openchannel refactoring 2023-04-14 18:01:20 -05:00
terrafrost
8b67d0ac32 Merge branch '2.0' into 3.0 2023-04-12 20:56:23 -05:00
terrafrost
d5d0fca7cf Merge branch '1.0' into 2.0 2023-04-12 20:49:21 -05:00
terrafrost
53f967c36e SFTP: fix NET_SFTP_ATTR_EXTENDED 2023-04-12 20:49:07 -05:00
terrafrost
72bd9d99d9 Merge branch 'fixPhpdoc' into 3.0 2023-04-10 01:25:51 -05:00
terrafrost
2d1216ba29 Merge branch '2.0' into 3.0 2023-04-09 10:33:57 -05:00
terrafrost
713cd7efb6 Tests/X509: fix malformed base64
base64_decode() handles it just fine but sodium_base642bin() doesn't

e5396968c5 fixed this in the 3.0 branch but not the 2.0 branch

it's an issue in the 2.0 branch because phpseclib2_compat uses the
phpseclib 2.0 unit tests to test a thin wrapper for phpseclib 3.0
2023-04-09 10:29:22 -05:00
terrafrost
5fb084b04c SSH2: if the server doesn't support multiple channels error out 2023-03-29 04:05:41 -05:00
Vincent Langlet
39bc067417 Fix phpdoc 2023-03-28 09:54:46 +02:00
terrafrost
cecabb1fea SSH/SFTP: create new openChannel() method to eliminate dupe code 2023-03-27 17:46:46 -05:00
terrafrost
b799abd1a0 SSH/SFTP: make message numbers / packet types static as well 2023-03-23 13:04:07 -05:00