Commit Graph

4526 Commits

Author SHA1 Message Date
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
5fb084b04c SSH2: if the server doesn't support multiple channels error out 2023-03-29 04:05:41 -05: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
terrafrost
9705cbbc26 SSH/SFTP: make define_array static 2023-03-23 12:23:43 -05:00
terrafrost
0f8bc61538
Merge pull request #1897 from rposky/3.0
SSH2: Better support for multiple interactive channels & expose shell functions: 3.0 Backport
2023-03-23 12:16:56 -05:00
Robert
7ec36fb5d5 Exposed publically open shell method as well as methods to query interactive channel open statuses.
Removed in_request_pty_exec and in_subsystem flags, and removed uses of MASK_SHELL in bitmap, replacing with open channel status queries.
Adding channel argument to read, write, and reset allowing callers to select among multiple open interactive channels.
Adding interactive channel identifier interface as sanctioned path for users to obtain channels ids instead of using channel constants.
Deprecating get_interactive_channel helper and documenting its "legacy" behavior in read, write, and reset doc blocks.
Removing disconnect on timeout in channel close for lack of clarity around timeout origin.
Check for open channel prior to closing in stopSubsystem and reset.
2023-03-16 10:18:03 -05:00
Steven Hetland
abbc1ab7c7 ASN1: 3.0 decodeBER() was optimized to remove duplicate work.
decodeBER() now runs twice as fast.
2023-03-14 21:43:29 -05:00
terrafrost
5ab7f86739 Merge branch '2.0' into 3.0 2023-03-06 06:46:54 -06:00
terrafrost
665d289f59 CHANGELOG: add 2.0.42 release 2023-03-06 06:45:53 -06:00
terrafrost
cc181005cf CHANGELOG: add 3.0.19 release 2023-03-05 11:13:09 -06:00
terrafrost
cee5587120 add unit test for primefield infinite loop 2023-03-05 11:04:55 -06:00
terrafrost
0f6e1c2218 PKCS8: fix public private checks for human readable keys 2023-03-05 10:01:22 -06:00
terrafrost
aff0e68f54 Merge branch '2.0' into 3.0 2023-03-05 07:04:39 -06:00
terrafrost
8339322eb9 Tests/SSH2: CS adjustment 2023-03-05 06:55:50 -06:00
terrafrost
7ce104b12c Merge branch '1.0' into 2.0 2023-03-05 04:18:37 -06:00
terrafrost
34d00869e5 SSH2: backport getTimeout() 2023-03-05 04:07:26 -06:00
terrafrost
cf69b29427 Crypt/PKCS8: rm duplicate code and improve detection of public keys 2023-03-04 23:25:36 -06:00
terrafrost
b9996fda00 Tests/EC: add unit test for naked PKCS8 public key 2023-03-04 22:14:46 -06:00
terrafrost
71b9b64203 CS adjustments 2023-03-04 20:47:49 -06:00
Simon Podlipsky
530f8ab210 feat: add return types to few jsonSerialize() 2023-03-03 14:54:56 -06:00
terrafrost
13833af749 Tests: void return types weren't introduced until PHP 7.1 2023-03-03 14:39:25 -06:00
Simon Podlipsky
c053b895c8 style: add newline at end of BigInteger.php file 2023-03-03 14:23:02 -06:00
terrafrost
fbe79b0855 Merge branch '2.0' into 3.0 2023-03-03 09:30:48 -06:00
terrafrost
0af70c5de6 Merge branch '1.0' into 2.0 2023-03-03 09:25:24 -06:00
terrafrost
9e758c180d Blowfish: 32-bit PHP tweaks 2023-03-03 09:24:42 -06:00
Simon Podlipsky
b946c6eed9 style: run csfixer 2023-03-02 04:52:25 -06:00
terrafrost
6298d1cd55 PrimeField: prevent infinite loop with composite primefields 2023-03-02 03:25:08 -06:00
terrafrost
3b6030d887 Merge branch '2.0' into 3.0 2023-02-11 22:28:10 -06:00
terrafrost
f7ae6b0bfb Merge branch '1.0' into 2.0 2023-02-11 22:21:11 -06:00
terrafrost
1b1e729632 backport enhancements from the 2.0 branch 2023-02-11 22:20:03 -06:00
terrafrost
d3e72bd1fc Merge branch '2.0-github-actions' into 3.0 2023-02-11 20:40:52 -06:00
terrafrost
e42185c672 BigInteger: fix for hex numbers with new lines in them 2023-02-11 19:08:08 -06:00
terrafrost
de80c6a955 Tests: hex numbers with new lines in them should have own test 2023-02-11 18:28:57 -06:00
terrafrost
233f617e08 Tests: don't test encrypted OpenSSH private keys on 32-bit installs 2023-02-11 17:56:02 -06:00
terrafrost
e3b9a97200 Blowfish: fix issues on 32-bit PHP installs 2023-02-11 17:47:40 -06:00
terrafrost
50ab21b7cb Crypt: don't do OpenSSL version check unless OpenSSL is installed 2023-02-11 14:55:25 -06:00
terrafrost
8e8b214820 use github actions instead of travis ci 2023-02-11 14:50:06 -06:00
terrafrost
ad7a7d5c8f fix PHP <5.4 compatability 2023-02-10 12:34:11 -06:00
terrafrost
2487192558 AsymmetricKey: error out on unsupported operations 2023-02-05 17:44:51 -06:00
terrafrost
508eaa7197 Tests: PHPUnit 10 updates 2023-02-05 17:33:16 -06:00
terrafrost
fa9bf44ed6 Merge branch '2.0' into 3.0 2023-01-17 07:56:10 -06:00
terrafrost
49e6bf3762 Merge branch '1.0' into 2.0 2023-01-17 07:56:03 -06:00
terrafrost
c87e256459 BACKERS: add cjhaas. thank you! 2023-01-17 07:55:57 -06:00
Kevin van Hulst
3ad3693d31 fix "Creating default object from empty value" error 2023-01-06 14:57:05 -06:00
terrafrost
f81d9ea09a Merge branch '2.0' into 3.0 2022-12-23 10:46:46 -06:00
terrafrost
7e763c6f97 CHANGELOG: add 2.0.41 release 2022-12-23 10:44:18 -06:00
terrafrost
86e12663fd Merge branch '2.0' into 3.0 2022-12-23 10:28:11 -06:00
terrafrost
aa68ee7e69 Merge branch '1.0' into 2.0 2022-12-23 10:16:52 -06:00