Commit Graph

2981 Commits

Author SHA1 Message Date
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
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
0f6e1c2218 PKCS8: fix public private checks for human readable keys 2023-03-05 10:01:22 -06:00
terrafrost
cf69b29427 Crypt/PKCS8: rm duplicate code and improve detection of public keys 2023-03-04 23:25:36 -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
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
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
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
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
Kevin van Hulst
3ad3693d31 fix "Creating default object from empty value" error 2023-01-06 14:57:05 -06:00
terrafrost
aa68ee7e69 Merge branch '1.0' into 2.0 2022-12-23 10:16:52 -06:00
Alexander Vlasov
797351cd63 Fix undefined properties deprecated in PHP 8.2 2022-12-23 10:08:51 -06:00
terrafrost
974a30d4d9 fix bad merge 2022-12-17 11:48:28 -06:00
terrafrost
5335dbde3e Merge branch '2.0' into 3.0 2022-12-17 11:25:26 -06:00
Simon Podlipsky
97ea650dba fix: drop use of "self" in callable as it's deprecated since php 8.2 2022-12-17 08:49:29 -06:00
terrafrost
90a1765106 Merge branch '2.0' into 3.0 2022-12-16 22:53:49 -06:00
terrafrost
be361b6722 Merge branch '1.0' into 2.0 2022-12-16 22:30:32 -06:00
terrafrost
c99e38b7c9 OpenSSL 3.0.1+ deprecated some algorithms 2022-12-16 22:16:49 -06:00
terrafrost
1a201dd131 Merge branch '2.0' into 3.0 2022-12-11 08:59:36 -06:00
terrafrost
6611c0b566 Merge branch '1.0' into 2.0 2022-12-11 07:30:01 -06:00
terrafrost
1c56e00cf8 SSH2: if logging in with rsa-sha2-256/512 fails, try ssh-rsa 2022-12-11 07:29:44 -06:00
terrafrost
8568af7f9b SymmetricKey: CS updates 2022-12-07 08:38:06 -06:00
terrafrost
d186a9d20d Merge branch '2.0' into 3.0 2022-12-07 08:37:25 -06:00
terrafrost
e8ff5142c8 Merge branch '1.0' into 2.0 2022-12-07 08:33:13 -06:00
terrafrost
16df002325 Crypt/Base: add a function to check continuous buffer status 2022-12-07 08:32:44 -06:00
terrafrost
68aa48de66 X509: CS adjustment 2022-11-29 06:09:31 -06:00
terrafrost
6ee646a480 Merge branch '2.0' into 3.0 2022-11-29 05:47:40 -06:00
terrafrost
218c7e5207 SSH/Agent: add support for named pipes on windows (for pageant) 2022-11-29 05:41:57 -06:00
terrafrost
8907a4bd5b Merge branch '1.0' into 2.0 2022-11-28 08:43:32 -06:00
terrafrost
68c3eef88f SCP: do $var === false vs !$var 2022-11-28 08:42:55 -06:00
terrafrost
b216a4cf07 ASN1: 3.0 already has $location defined 2022-11-27 22:47:20 -06:00
terrafrost
d979777a60 Merge branch '2.0' into 3.0 2022-11-27 22:45:55 -06:00
terrafrost
4c7cce54c3 Merge branch '1.0' into 2.0 2022-11-27 21:37:15 -06:00
Côme Chilliet
74ee25bf8a Fix PHP 8.2 dynamic property warning 2022-11-27 21:37:05 -06:00
terrafrost
bf804e6feb DSA/PuTTY: ssh-dsa should be ssh-dss 2022-11-27 12:18:09 -06:00
terrafrost
08c27ae48a Merge branch '2.0' into 3.0 2022-10-27 23:07:38 -05:00
terrafrost
104f776cff Merge branch '1.0' into 2.0 2022-10-27 23:07:06 -05:00
Lars Moelleken
a482c925af typo: "cann't" vs "can't" 2022-10-27 23:06:53 -05:00