Commit Graph

2851 Commits

Author SHA1 Message Date
terrafrost
0ec9d2bdf1 SFTP: CS adjustments 2021-07-28 20:33:52 -05:00
terrafrost
b0fe99b792 Merge branch '1.0' into 2.0 2021-07-28 20:01:26 -05:00
Nick Lassonde
dab514faff timeout in _get_channel_packet during _init_sftp_connection should be a failure 2021-07-28 20:01:19 -05:00
terrafrost
5e290492d1 Serializable is being deprecated in PHP 8.1 2021-07-22 09:19:15 -05:00
terrafrost
05539a72be PrimeField: plug memory leaks 2021-07-10 13:24:33 -05:00
terrafrost
8186db7533 SFTP: get_channel_packet throws exceptions in 3.0 2021-07-05 08:35:39 -05:00
terrafrost
926d3545a2 Merge branch '2.0' into 3.0 2021-07-05 08:34:36 -05:00
terrafrost
6b0f0b4896 Merge branch '1.0' into 2.0 2021-07-05 08:34:18 -05:00
terrafrost
a02526e5e0 SFTP: return false if get_channel_packet returns false 2021-07-05 08:33:42 -05:00
terrafrost
bf88ba4382 incremental commit 2021-06-25 11:29:03 -05:00
terrafrost
927f8062a7 Merge branch '2.0' into 3.0 2021-06-24 21:45:57 -05:00
terrafrost
5a3e622c4d Merge branch '1.0' into 2.0 2021-06-24 21:38:25 -05:00
terrafrost
973bb072a0 ASN1: return false when not enough bytes are available 2021-06-24 21:36:03 -05:00
terrafrost
f0736a8828 X509: getPublicKey() didn't return correct RSA key type 2021-06-23 22:00:36 -05:00
terrafrost
fceb5b47da SFTP: CS adjustments 2021-06-19 11:30:03 -05:00
terrafrost
418035c404 SSH2: use weakreference when available to stop memory leak 2021-06-19 11:17:23 -05:00
ahoareau
f1c4164687 fix exception thrown because of undefined constant with php7.4 2021-06-16 08:43:35 -05:00
terrafrost
9b1f8a260a SSH2: NET_SSH2_CHANNEL_KEEP_ALIVE -> self::CHANNEL_KEEP_ALIVE 2021-06-16 08:12:09 -05:00
terrafrost
a5fcb44e28 AsymmetricKey: make methods static 2021-06-16 01:40:27 -05:00
terrafrost
b32ffb64b8 Merge branch '2.0' into 3.0 2021-06-15 07:29:03 -05:00
terrafrost
d48c13b716 Merge branch '1.0' into 2.0 2021-06-15 07:27:34 -05:00
terrafrost
0673370eda SFTP: don't check SFTP packet size after SFTP initialization 2021-06-15 07:24:34 -05:00
terrafrost
07423805ac Merge branch '2.0' into 3.0 2021-06-12 07:58:20 -05:00
terrafrost
451ddf453c Merge branch '1.0' into 2.0 2021-06-12 07:11:44 -05:00
terrafrost
c3560c2d4d RSA: OAEP decryption didn't check labels correctly 2021-06-12 07:06:08 -05:00
terrafrost
d1666cac50 SFTP: CS adjustments 2021-06-02 22:59:11 -05:00
terrafrost
d7c96ebfb2 ASN1: change how default values are processed for ints and enums 2021-06-01 20:00:40 -05:00
terrafrost
d0a18020f3 Merge branch '2.0' into 3.0 2021-05-23 10:39:25 -05:00
terrafrost
333d2f9ffd Merge branch '1.0' into 2.0 2021-05-23 10:38:31 -05:00
terrafrost
0a2dc24489 X509: extra characters before cert weren't being removed 2021-05-23 10:38:11 -05:00
terrafrost
cfe8a24011 PrivateKey: tweak interface 2021-05-22 10:18:11 -05:00
terrafrost
84f07cc9cb X509: signing with pw protected PSS keys yielded errors 2021-05-22 10:10:09 -05:00
terrafrost
c98b163e76 SSH2: rm unneeded false checks (for which exceptions are now used) 2021-05-21 16:36:53 -05:00
terrafrost
4b2bdfa408 Merge branch '2.0' into 3.0 2021-05-18 22:02:48 -05:00
terrafrost
fe6a84a58b Merge branch '1.0' into 2.0 2021-05-18 22:02:39 -05:00
terrafrost
915d1d8ca9 SSH2: fix PHP7.4 errors about accessing bool as string 2021-05-18 22:00:59 -05:00
terrafrost
c1c233e907 Merge branch '2.0' into 3.0 2021-05-15 22:28:36 -05:00
terrafrost
94abf563ad Merge branch '1.0' into 2.0 2021-05-15 22:22:35 -05:00
terrafrost
8204273978 SSH2: fix issue with key re-exchange 2021-05-15 22:22:14 -05:00
terrafrost
574382e06a Merge branch '2.0' into 3.0 2021-05-14 12:56:16 -05:00
terrafrost
0b4484a107 Merge branch '1.0' into 2.0 2021-05-14 12:56:09 -05:00
terrafrost
9a7cfafc8d SSH2: timeout would occasionally infinitely loop
this was changed from !$this->curTimeout to $this->curTimeout <= 0
in commit 96c4c3bc58
2021-05-14 12:55:06 -05:00
terrafrost
81ffb62c20 Merge branch '2.0' into 3.0-channel-closure 2021-05-11 20:28:46 -05:00
terrafrost
1e36329433 Merge branch '1.0' into 2.0 2021-05-11 20:23:49 -05:00
terrafrost
9c47b0a696 SFTP: reopen channel on channel closure 2021-05-11 20:20:46 -05:00
terrafrost
b2267e24b0 Merge branch '1.0' into 2.0 2021-05-09 07:54:40 -05:00
danieljankowski
b07738814e ASN1: fix timezone issue when non-utc time is given 2021-05-09 07:08:20 -05:00
terrafrost
05828a8759 SFTP: reopen channel on channel closure 2021-05-09 01:07:09 -05:00
nickyb
b53f54d953 Implemented auth_methods_to_continue property and getter. 2021-05-02 08:44:02 -05:00
terrafrost
f1c7946b72 Merge branch '1.0' into 2.0 2021-05-02 08:37:28 -05:00
terrafrost
0e3ef812c3 CS adjustments 2021-05-02 08:37:19 -05:00
terrafrost
f1b0708446 Merge branch '1.0' into 2.0 2021-05-02 08:15:00 -05:00
nickyb
aa8138a330 Support for continue auth methods. 2021-05-02 08:12:24 -05:00
Kyle
0f77cf3a59 Allow string for BigInteger
In real life BigInteger are used to store number too big to be `int` so `string` is actually the natural type to use
2021-04-26 09:07:55 -05:00
terrafrost
7d3b0a2182 X509: tweaks to mapOutExtensions 2021-04-20 16:01:45 -05:00
Kyle
c596078d7a Create tbsCertificate/extensions if missing
Fix #1642
Create tbsCertificate/extensions if missing when extensions values are proceeded
2021-04-20 15:59:46 -05:00
terrafrost
d9615a6fb9 AsymetrticKey: add getComment() method 2021-04-18 22:20:48 -05:00
terrafrost
701881d3de X509: add replace parameter to setExtensionValue 2021-04-18 10:00:26 -05:00
terrafrost
07f728546b X509: apparently list() works differently in 5.6 than in 7.0+ 2021-04-16 09:06:52 -05:00
terrafrost
acc2657511 X509: symmetric array destructuring requires PHP 7.1+ 2021-04-15 21:24:35 -05:00
Bastien Miclo
0dabb0c090 Allow to specify extension value as critical 2021-04-15 21:21:48 -05:00
Kyle
8123521307 Don't filter basicConstraints on unique values
array_unique check values which is not relevant for basicConstraints where `true == "foo"` so prevent to specify any other constraint (like pathlen)
2021-04-15 21:03:08 -05:00
terrafrost
03e9060cbb cipher_name_openssl_ecb shouldn't be static because of AES 2021-04-14 05:24:03 -05:00
terrafrost
5b6024b409 CS adjustment 2021-04-13 08:05:55 -05:00
terrafrost
4e1093fc22 CS adjustments 2021-04-12 06:17:04 -05:00
terrafrost
b7eaee4977 don't load plugins whose filename start with a . 2021-04-09 10:55:50 -05:00
terrafrost
f95b039d08 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-03 18:17:27 -05:00
terrafrost
149b4d2131 RSA: fix for PHP8 2021-04-03 18:16:59 -05:00
terrafrost
74435e1b80 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-03 17:55:22 -05:00
terrafrost
8af4280bde RSA: misc fixes for 'without NULL' PKCS1 signature validation 2021-04-03 17:55:12 -05:00
terrafrost
f61cce9c83 RSA: misc fixes for "without NULL" PKCS1 signature validation 2021-04-03 17:50:28 -05:00
terrafrost
ae15ac69d0 Merge branch 'moosa-2.0' into moosa-3.0 2021-04-03 17:12:38 -05:00
terrafrost
43eeb853f1 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-03 16:47:37 -05:00
terrafrost
4a3e08c273 RSA: tweak to new validation method 2021-04-03 16:33:23 -05:00
terrafrost
9af9d69c19 RSA: support "strict" PKCS1 sigs without NULLs 2021-04-03 16:00:42 -05:00
terrafrost
e02c8452d4 ASN1: fail when encountering unsupported tags 2021-04-03 15:54:27 -05:00
terrafrost
0fc7c81c66 fix bad merge 2021-04-03 13:48:40 -05:00
terrafrost
104a57badd Merge branch 'moosa-2.0' into moosa-3.0 2021-04-03 13:28:23 -05:00
terrafrost
bac775ecd5 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-03 13:19:15 -05:00
terrafrost
8b8cbecb9b ASN1: make sure constructed bit is what it ought to be 2021-04-03 13:15:58 -05:00
terrafrost
42fc46e9a9 RSA: make sure that parameters is null for relaxed PKCS1 signatures 2021-04-03 11:33:49 -05:00
terrafrost
c6a22faf60 Merge branch 'moosa-2.0' into moosa-3.0 2021-04-03 11:11:50 -05:00
terrafrost
5690851a09 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-03 11:10:05 -05:00
terrafrost
a589442a78 ASN1: uncomment out extra validation code 2021-04-03 11:07:25 -05:00
terrafrost
c06f322426 Merge branch 'moosa-2.0' into moosa-3.0 2021-04-02 13:48:20 -05:00
terrafrost
ac00565072 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-02 13:48:07 -05:00
terrafrost
95f597cfb3 ASN1: tweaks to tag decoding 2021-04-02 13:46:14 -05:00
terrafrost
801070db1a Merge branch 'moosa-2.0' into moosa-3.0 2021-04-02 11:09:57 -05:00
terrafrost
6ddc6c0c53 Merge branch 'moosa-1.0' into moosa-2.0 2021-04-02 11:08:36 -05:00
terrafrost
b90c33200e ASN1: don't allow last octet in OID to have MSB set 2021-04-02 11:00:45 -05:00
terrafrost
ed52a587e8 ASN1: CS adjustment 2021-04-02 10:29:04 -05:00
terrafrost
c1ea063c63 Merge branch 'nexans-1.0' into nexans-2.0 2021-03-30 22:44:05 -05:00
terrafrost
2d6705dfbd SSH2: don't close channel on unexpected response to channel request 2021-03-30 22:43:34 -05:00
terrafrost
5cb4e29555 Merge branch 'nexans-2.0' into nexans-3.0 2021-03-30 22:41:43 -05:00
terrafrost
111852d7c0 Merge branch 'nexans-1.0' into nexans-2.0 2021-03-30 22:41:03 -05:00
terrafrost
b18714c248 ... 2021-03-30 22:39:46 -05:00
terrafrost
f0f8d80073 SSH2: use type boolean for want reply instead of character 2021-03-29 08:15:16 -05:00
terrafrost
dfb71b4fc7 Merge branch '2.0' into 3.0 2021-03-27 10:33:46 -05:00
terrafrost
fecdb6b1aa Merge branch '1.0' into 2.0 2021-03-27 10:03:23 -05:00
terrafrost
098cb69039 SSH2: don't close channel on unexpected response to channel request 2021-03-27 10:01:37 -05:00
terrafrost
57b6942962 Merge branch '2.0' into 3.0 2021-03-20 06:30:39 -05:00
terrafrost
6136434139 Merge branch '1.0' into 2.0 2021-03-19 16:59:46 -05:00
terrafrost
e209db78b8 Crypt/Base: use a custom error handler for mcrypt 2021-03-19 16:55:58 -05:00
terrafrost
624f514e88 SSH2: add setTerminal() method 2021-03-16 21:18:56 -05:00
terrafrost
d74340a41c more CS adjustments 2021-03-16 06:55:20 -05:00
terrafrost
cd5e5126ca SFTP: CS adjustment 2021-03-16 06:18:19 -05:00
Ernest Lebedev
906a5fafab Added some PHPDoc fixes according to use cases from the docs (https://phpseclib.com/docs/sftp) to satisfy PHPStan 2021-03-10 07:58:31 -06:00
terrafrost
70bc5d01f0 Merge branch '2.0' into 3.0 2021-03-08 23:04:28 -06:00
terrafrost
cf8d62500b Merge branch '1.0' into 2.0 2021-03-08 23:04:21 -06:00
terrafrost
a45ccbacb7 SFTP: digit only filenames were converted to integers by php 2021-03-08 23:03:38 -06:00
terrafrost
aac5b0a74c Merge branch '1.0' into 2.0 2021-02-26 09:17:52 -06:00
terrafrost
b2b867f032 BigInteger: fix issue with toBits on 32-bit PHP 8 installs 2021-02-26 09:17:05 -06:00
terrafrost
eeabad1ed3 SFTP: mkdir on streams didn't work 2021-02-23 05:14:25 -06:00
terrafrost
8a459caada Merge branch '2.0' into 3.0 2021-02-22 09:06:46 -06:00
terrafrost
22a14fd22f Merge branch '1.0' into 2.0 2021-02-22 09:06:39 -06:00
lightray22
488db53bf7 fix undefined index notice in stream touch() 2021-02-22 08:54:30 -06:00
terrafrost
a8f5d9db55 Merge branch '2.0' into 3.0 2021-02-21 18:57:40 -06:00
terrafrost
67c9cc224b Merge branch '1.0' into 2.0 2021-02-21 18:57:19 -06:00
terrafrost
d20e842a5e SFTP/Stream: make it so you can write past the end of a file 2021-02-21 18:41:28 -06:00
terrafrost
55f23334cd loadPublic -> loadPublicKey; loadPrivate -> loadPrivateKey 2021-02-12 07:48:12 -06:00
terrafrost
052cb7d762 X509: add getCurrentCert method (since $currentCert is now private) 2021-02-10 08:26:58 -06:00
terrafrost
3bddf4d962 PublicKeyLoader: add loadPublic, loadPrivate and loadParameters 2021-02-08 23:44:24 -06:00
terrafrost
a18b86ae26 add mode to all block cipher examples 2021-02-04 01:06:14 -06:00
terrafrost
d096769654 Rijndael: calling setIV() after setBlockLength() can result in err 2021-02-02 20:21:56 -06:00
terrafrost
e9f79655db RSA: use OpenSSL for generating private keys 2021-01-28 09:49:15 -06:00
terrafrost
b49203d5b9 BigInteger: big speedups for when OpenSSL is used 2021-01-26 23:13:40 -06:00
terrafrost
85a844bab1 RSA: CS adjustments 2021-01-26 22:58:45 -06:00
terrafrost
845a2275e8 X509: CS adjustments 2021-01-25 13:02:05 -06:00
terrafrost
bdb6c08c35 misc docblock adjustments 2021-01-25 12:36:02 -06:00
terrafrost
1795b5df6a SSH/Agent: EC keys didn't work with agent 2021-01-25 12:21:14 -06:00
terrafrost
3d4767301c X509: fix niche issue with computeKeyIdentifier 2021-01-25 12:17:36 -06:00
terrafrost
5bddb7b13f Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2021-01-16 10:58:00 -06:00
terrafrost
8e7acd8842 Merge branch '1.0' into 2.0 2021-01-16 10:32:10 -06:00
Jan Slabon
e5a226f6be Added support of keys with PSS algorithm-identifier 2021-01-16 10:31:56 -06:00
Jan Slabon
131459996b Added support for absent parameters field in PSS keys
See [here](https://tools.ietf.org/html/rfc4055#section-3.1) for details.
2021-01-16 10:24:55 -06:00
terrafrost
c1b70c21cb RSA: the salt length isn't saved for new keys 2021-01-16 09:59:45 -06:00
terrafrost
3e32d5a853
Merge pull request #1573 from kylekatarnls/feature/allow-to-use-extensions
Allow to extend X509 extensions
2021-01-15 21:57:07 -06:00
Bastien Miclo
57476bf304
Cleanup import 2021-01-14 16:18:07 +01:00
Bastien Miclo
e69049be5e
Add getRegisteredExtension() 2021-01-14 16:15:55 +01:00
terrafrost
5f8ca76d0f RSA: the salt length, if not specified, is the length of the hash 2021-01-14 08:11:53 -06:00
terrafrost
06cd62ae55 Merge branch 'rsa-exceptions' into 3.0 2021-01-14 03:10:59 -06:00
terrafrost
bfb49c06e8 RSA: throw exceptions instead of returning false 2021-01-13 12:08:23 -06:00
terrafrost
9b24cc87d0 Merge branch 'ssh-auth-alteration-2.0' into ssh-auth-alteration-3.0 2021-01-12 23:23:26 -06:00
terrafrost
2eae2989f4 SSH2: adjustments for 2.0 branch 2021-01-12 23:20:47 -06:00
terrafrost
dc7f8dafbc Merge branch 'ssh-auth-alteration-1.0' into ssh-auth-alteration-2.0 2021-01-12 23:18:16 -06:00
terrafrost
7f1b53fb67 SSH2: behave like putty with broken publickey auth 2021-01-12 23:12:19 -06:00
Simon Podlipsky
b82766486a Fix imports in PublicKeyLoader 2021-01-12 11:12:31 -06:00
terrafrost
fcf691124e
Merge pull request #1578 from kylekatarnls/fix/end-as-date-time
Allow to pass end date as DateTime
2021-01-12 10:31:24 -06:00
terrafrost
ee74b22c01
Merge pull request #1575 from kylekatarnls/fix/phpdoc
Fix encodeDER() PHPDoc
2021-01-12 10:28:33 -06:00
terrafrost
05d934c89f RSA: improve identification of public / private PKCS1 / PKCS8 keys 2021-01-08 09:01:31 -06:00
terrafrost
d9b8341e9c Merge branch '2.0' into 3.0 2021-01-07 20:24:15 -06:00
terrafrost
649609d4b2 Merge branch '1.0' into 2.0 2021-01-07 20:21:59 -06:00
terrafrost
9de5f3f8ed X509: always parse the first cert of a bundle 2021-01-07 20:21:27 -06:00
terrafrost
e14e9e92ca EC: use the correct case up front 2021-01-07 19:35:34 -06:00
Bastien Miclo
cce21f077f
Allow to pass end date as DateTime 2021-01-07 22:05:17 +01:00
Bastien Miclo
0be984fd80
Fix encodeDER() PHPDoc 2021-01-06 23:57:47 +01:00
Bastien Miclo
3d35690a0a
Allow to extend X509 extensions 2021-01-06 23:25:23 +01:00
terrafrost
7b7d254a6c rm docblock templates 2020-12-30 09:08:05 -06:00
terrafrost
b14caee559 Merge branch '2.0' into 3.0 2020-12-30 05:25:02 -06:00
terrafrost
d2cadfd329 Merge branch '1.0' into 2.0 2020-12-30 05:24:54 -06:00
terrafrost
a19b5b4ca8 update how @internal phpdoc attributes are used 2020-12-30 05:05:54 -06:00
terrafrost
7a9418e4e0 SSH2: suppress errors on stream_select calls 2020-12-23 10:39:00 -06:00
Bastien Miclo
ba89cdbf0f Support DateTimeImmutable 2020-12-23 08:16:22 -06:00
Bastien Miclo
224abbc1f9 Show array-failure in load() method 2020-12-23 07:49:08 -06:00
terrafrost
02fa3b142e EC/PKCS1: throw exception when trying to load non-strings 2020-12-23 07:06:04 -06:00
William Desportes
1f66009c1b
Fix a Doctum 5.3.0-dev phpdoc reported error 2020-12-19 21:28:29 +01:00
terrafrost
f5d7c06264 Merge branch '2.0' into 3.0 2020-12-19 01:12:16 -06:00
terrafrost
c680c604c8 Merge branch '1.0' into 2.0 2020-12-19 01:07:08 -06:00
terrafrost
c21147a5bd SFTP: clean up real time logging 2020-12-19 01:05:36 -06:00
terrafrost
31c5e50902 SFTP: change where stat cache is being cleared for uploads 2020-12-19 01:02:06 -06:00
terrafrost
08478feee7 SFTP: resuming uploads didn't work 2020-12-18 17:31:55 -06:00
terrafrost
20852adf78 SSH2/Stream: stream_select needs to be able to access $fsock 2020-12-18 16:12:14 -06:00
terrafrost
99e8d7b822 PKCS8: fix E_WARNING 2020-12-17 08:13:56 -06:00
terrafrost
91ab47e4a5 Merge branch 'keepalive-2.0' into 2.0 2020-12-16 23:14:58 -06:00
terrafrost
2b5e205aec Merge branch 'keepalive-1.0' into 1.0 2020-12-16 23:14:49 -06:00
terrafrost
47e1ce60b3 SSH2: syntax error 2020-12-16 09:13:05 -06:00
terrafrost
0399faa86b SSH2: syntax error 2020-12-16 09:10:35 -06:00
terrafrost
32bfbcd7d2 Merge branch 'keepalive-2.0' into keepalive-3.0 2020-12-16 08:36:43 -06:00
terrafrost
07a7c19407 Merge branch 'keepalive-1.0' into keepalive-2.0 2020-12-16 08:27:50 -06:00
terrafrost
8d567cdf29 SSH2: keepalive tweak 2020-12-16 08:26:03 -06:00
terrafrost
0ddcff753f Merge branch 'keepalive-2.0' into keepalive-3.0 2020-12-15 23:52:53 -06:00
terrafrost
43b2708254 Merge branch 'keepalive-1.0' into keepalive-2.0 2020-12-15 23:36:42 -06:00
terrafrost
f0501ff72b SSH2: get_binary_packet() doesn't know about channel type 2020-12-15 23:11:54 -06:00
terrafrost
a4af48c7a6 Merge branch 'keepalive-2.0' into keepalive-3.0 2020-12-15 08:52:43 -06:00
terrafrost
d904f08a46 SSH2: last merge should have used microtime(true) but didn't 2020-12-15 08:43:21 -06:00
terrafrost
a35535e9c6 Merge branch 'keepalive-1.0' into keepalive-2.0 2020-12-15 08:39:38 -06:00
terrafrost
194e642448 SSH2: handle keepalive@openssh.com packets 2020-12-15 08:25:42 -06:00
terrafrost
e4bf7b111a Merge branch '2.0' into 3.0 2020-12-12 19:22:36 -06:00
terrafrost
5701295017 Merge branch '1.0' into 2.0 2020-12-12 17:13:41 -06:00
terrafrost
266f16816a enable unit tests for PHP 8 / PHPUnit 9 2020-12-12 15:11:04 -06:00
terrafrost
c08683402e Merge branch '2.0' into 3.0 2020-12-07 08:04:12 -06:00
terrafrost
07e1160108 Merge branch '1.0' into 2.0 2020-12-07 08:01:58 -06:00
terrafrost
ee4af462b6 SSH2: end connection faster for algorithm mismatch 2020-12-07 08:00:44 -06:00
terrafrost
afca3030c0 Merge branch '2.0' into 3.0 2020-11-26 21:09:21 -06:00
terrafrost
1ec3efa04b Merge branch '1.0' into 2.0 2020-11-26 21:09:17 -06:00
terrafrost
0b20aff6ff SFTP: CS adjustments 2020-11-26 21:08:49 -06:00
terrafrost
b310f694ef Merge branch '2.0' into 3.0 2020-11-26 19:10:48 -06:00
terrafrost
bf03b0302b Merge branch '1.0' into 2.0 2020-11-26 19:10:39 -06:00
Adrian
9547587cb7 SFTP: add stream to get method 2020-11-26 18:56:02 -06:00
terrafrost
e69b79eba7 Merge branch 'codelts' into 3.0 2020-11-21 10:51:30 -06:00
terrafrost
7e337c9bd7 Merge branch '2.0' into 3.0 2020-11-01 09:31:17 -06:00
terrafrost
e18880009b Merge branch '1.0' into 2.0 2020-10-31 15:15:06 -05:00
Thomas A. Hirsch
b2ae60f0a9 $progressCallback should be called after a specific amount of data has been received and not, if its just requested, as the requested packets might be more as the available and received data. 2020-10-31 15:05:05 -05:00
terrafrost
336fe5c8f8 Merge branch '2.0' into 3.0 2020-10-29 21:46:30 -05:00
terrafrost
da96fbd212 Merge branch '1.0' into 2.0 2020-10-29 21:35:41 -05:00
terrafrost
00c9edc058 X509: don't attempt to parse multi-cert PEMs 2020-10-29 21:30:01 -05:00
terrafrost
e81b31948b Merge branch '1.0' into 2.0 2020-09-28 06:20:16 -05:00
terrafrost
96c4c3bc58 SSH2: add setKeepAlive() method 2020-09-28 06:17:49 -05:00
terrafrost
5983df848c EC: add support for PKCS1 private keys with separate parameters 2020-09-19 08:36:09 -05:00
William Desportes
5711e7fbe4
Fix phpdoc issues reported by Doctum 2020-09-12 10:14:54 +02:00
William Desportes
480af6b980
Merge branch '2.0' into 3.0 2020-09-09 10:46:22 +02:00
William Desportes
05f6467b1d
Merge branch '1.0' into 2.0 2020-09-09 09:56:23 +02:00
William Desportes
2ae683479a
Fix phpdoc errors 2020-09-09 09:43:26 +02:00
terrafrost
fc4a1b0083 Merge branch '2.0' into 3.0 2020-08-30 08:22:20 -05:00
terrafrost
604b94d011 Merge branch '1.0' into 2.0 2020-08-30 08:22:13 -05:00
terrafrost
f4e017f383 SFTP: "fix" rare resource not closed error 2020-08-30 08:21:50 -05:00
terrafrost
dcc85b795d Merge branch '2.0' into 3.0 2020-08-17 07:30:46 -05:00
terrafrost
f0710fc77e Merge branch '1.0' into 2.0 2020-08-17 07:29:12 -05:00
terrafrost
ded9b3043f SSH2: suppress 'broken pipe' errors 2020-08-17 07:28:17 -05:00
terrafrost
8f62b798ef Merge branch '2.0' into 3.0 2020-08-09 11:00:57 -05:00
terrafrost
ed20bba5e7 Merge branch '1.0' into 2.0 2020-08-09 11:00:49 -05:00
terrafrost
239bc63618 SSH2: uploads on low speed networks could get in infinite loop 2020-08-09 11:00:12 -05:00
terrafrost
0747be3d27 Merge branch '1.0' into 2.0 2020-08-01 04:06:57 -05:00
terrafrost
a019cf3f33
Merge pull request #1503 from VincentLanglet/default
_parseKey should return false by default
2020-08-01 04:05:17 -05:00
terrafrost
92a67a03aa Merge branch '2.0' into 3.0 2020-07-31 21:27:38 -05:00
terrafrost
5369b86808 Merge branch '1.0' into 2.0 2020-07-31 08:06:58 -05:00
terrafrost
40b4f1d557 SSH2: when building algo list look at if crypto engine is set 2020-07-31 08:05:31 -05:00
terrafrost
5fbdb8b582 Merge branch '2.0' into 3.0 2020-07-31 04:11:26 -05:00
terrafrost
4eb477051c Merge branch '1.0' into 2.0 2020-07-31 02:50:00 -05:00
terrafrost
c7d7b36018 SSH2: don't try to login as none auth method for CoreFTP server 2020-07-31 02:49:21 -05:00
terrafrost
abe8f6aab8 Merge branch '2.0' into 3.0 2020-07-30 22:59:13 -05:00
terrafrost
82406869fb Merge branch '1.0' into 2.0 2020-07-30 22:58:56 -05:00
terrafrost
ea653e1b01 SFTP: add enableDatePreservation() / disableDatePreservation() 2020-07-30 09:12:23 -05:00
Vincent Langlet
05a564c136 Return false by default 2020-07-30 15:42:02 +02:00
terrafrost
478672607c PKCS8: fix E_NOTICE 2020-07-19 22:40:42 -05:00
terrafrost
8af870963a Merge branch '2.0' into 3.0 2020-07-17 07:55:11 -05:00
terrafrost
64708aed3b Merge branch '1.0' into 2.0 2020-07-17 07:54:02 -05:00
terrafrost
d077c7b296 X509: really looong base64 encoded strings broke extractBER() 2020-07-17 07:53:05 -05:00
terrafrost
e2fa9f3925 Revert "..."
This reverts commit 827607575a.
2020-07-08 08:48:48 -05:00
terrafrost
9e81c7e257 Merge branch '2.0' into 3.0 2020-07-07 23:47:47 -05:00
terrafrost
c89cd789f4 Merge branch '1.0' into 2.0 2020-07-07 23:47:41 -05:00
terrafrost
d8e39b0864 SFTP: change upload packet size from 4KB to 32KB 2020-07-07 23:47:17 -05:00
terrafrost
827607575a ... 2020-07-03 13:31:37 -05:00
terrafrost
844d7ab539 X509: getPublicKey() didn't work for SPKAC 2020-06-02 08:51:04 -05:00
terrafrost
97ab584c63 Merge branch '2.0' into 3.0 2020-05-31 12:22:45 -05:00
terrafrost
51f2a9386b Merge branch 'timeout-alt-2.0' into 2.0 2020-05-31 12:22:35 -05:00
terrafrost
c2ab2a4884 X509: publicKey wasn't being loaded for CSRs / SPKACs 2020-05-31 02:11:44 -05:00
terrafrost
cc3ad79058 Crypt/Base: create_function isn't needed for PHP >= 5.3.0 2020-05-29 08:34:40 -05:00
terrafrost
ee278f3062 Merge branch 'timeout-alt-1.0' into timeout-alt-2.0 2020-05-29 08:10:36 -05:00
terrafrost
9651d075e3 SSH2: timeout after 5s for channel closures 2020-05-29 08:10:03 -05:00