terrafrost
ff26e22563
CS adjustments
2023-06-04 11:26:34 -05:00
terrafrost
501c96c48c
Merge branch '3.0'
2023-06-04 10:51:36 -05:00
terrafrost
b8f8f0b7db
SFTP: add optional $recursive parameter to filesize()
2023-06-04 10:50:26 -05:00
terrafrost
e6dd9f6492
Merge branch '3.0'
2023-06-02 10:25:13 -05:00
terrafrost
f418be845b
RSA: setting sig padding broke enc padding and vice versa
2023-06-02 10:14:58 -05:00
terrafrost
d856416026
Merge branch '3.0'
2023-05-27 19:30:15 -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
1b1c073d1e
Merge branch '3.0'
2023-05-18 08:24:02 -05:00
thomascorthals
c71c217fd5
SFTP typehint fixes
2023-05-15 11:15:49 +02:00
terrafrost
8d0c1a10c7
Merge pull request #1905 from terrafrost/master-openchannel
...
(master branch) SSH/SFTP: create new openChannel() method to eliminate dupe code
2023-05-10 04:39:06 -05: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
e6f86e1770
Merge branch '3.0-openchannel' into master-openchannel
2023-05-07 11:35:24 -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
128d5496b5
Merge branch '3.0'
2023-05-05 07:38:24 -05:00
terrafrost
961034f4c2
SymmetricKey: fix typehint
2023-05-05 07:36:29 -05:00
terrafrost
928b5870b2
Merge branch '3.0'
2023-04-21 15:39:47 -05:00
terrafrost
79b6f96870
SSH2: CS adjustment
2023-04-21 15:39:01 -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
52c85c9935
Merge branch '3.0-openchannel' into master-openchannel
2023-04-15 08:31:37 -05:00
terrafrost
184a984e97
SSH2: updates to openchannel refactoring
2023-04-14 18:01:20 -05:00
terrafrost
34feefef3d
Merge branch '3.0'
2023-04-12 20:58:10 -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
7d4fa71e9c
Merge branch '3.0'
2023-04-10 01:28:25 -05:00
terrafrost
55578577c5
Merge branch '3.0-openchannel' into master-openchannel
2023-03-30 20:52:26 -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
terrafrost
9705cbbc26
SSH/SFTP: make define_array static
2023-03-23 12:23:43 -05:00
Robert
53fe071bd2
Merge branch '3.0'
2023-03-16 11:01:21 -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
terrafrost
5761a0ba46
Merge branch '3.0'
2023-03-14 21:44:41 -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
e9596cef8c
Merge branch '3.0'
2023-03-05 10:11:53 -06:00
terrafrost
0f6e1c2218
PKCS8: fix public private checks for human readable keys
2023-03-05 10:01:22 -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
79dead6a5e
CS adjustments
2023-03-05 00:09:02 -06:00
terrafrost
60358cefb1
Merge branch '3.0'
2023-03-04 23:31:30 -06:00
terrafrost
cf69b29427
Crypt/PKCS8: rm duplicate code and improve detection of public keys
2023-03-04 23:25:36 -06:00
terrafrost
9a356ba200
Merge branch 'rposky'
2023-03-04 21:00:14 -06:00
terrafrost
71b9b64203
CS adjustments
2023-03-04 20:47:49 -06:00
terrafrost
ea0a2375d2
Merge branch '3.0'
2023-03-03 14:55:02 -06:00
Simon Podlipsky
530f8ab210
feat: add return types to few jsonSerialize()
2023-03-03 14:54:56 -06:00
terrafrost
f8d2ff5ae4
CS adjustments
2023-03-03 14:42:42 -06:00
terrafrost
a8e90331c1
Merge branch '3.0'
2023-03-03 14:23:11 -06:00