terrafrost
a9c3f10de4
Merge branch '3.0'
2022-07-15 09:18:37 -05:00
terrafrost
feced404bb
EC/PKCS8: OpenSSL didn't like phpseclib formed Ed25519 public keys
2022-07-15 09:18:15 -05:00
terrafrost
7aa6c08a85
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2022-07-14 23:16:14 -05:00
terrafrost
4914e91a33
Merge branch '3.0'
2022-07-14 23:05:51 -05:00
terrafrost
1359431224
Merge branch '1.0' into 2.0
2022-07-14 23:04:58 -05:00
terrafrost
22e2fdbca6
Merge branch '2.0' into 3.0
2022-07-13 09:14:05 -05:00
terrafrost
68323d8f11
Merge branch '1.0' into 2.0
2022-07-13 09:07:31 -05:00
terrafrost
9fae7ec89d
RSA: loading keys could error out if xml extension wasn't installed
2022-07-13 09:06:33 -05:00
Jack Worman
7154fd98d2
Php 7.1
2022-07-08 21:42:28 -05:00
Jack Worman
e210166f43
Php 7.1 Upgrade
2022-07-08 08:37:58 -05:00
terrafrost
477b98d43d
SSH2 / SFTP: unify logging and add a new mode - LOG_SIMPLE_REALTIME
2022-07-06 21:22:03 -05:00
Jack Worman
b2beedbf9a
3rd round of comments
2022-07-03 07:54:11 -05:00
Jack Worman
81ffdbc4ef
Merge branch 'master' into Upgrade_to_Php_7.0
...
# Conflicts:
# phpseclib/Crypt/EC/BaseCurves/Prime.php
# phpseclib/Crypt/EC/Formats/Keys/XML.php
# phpseclib/Crypt/RSA/PrivateKey.php
# phpseclib/File/ANSI.php
# phpseclib/File/ASN1.php
# phpseclib/File/X509.php
# phpseclib/Net/SFTP.php
# phpseclib/Net/SFTP/Stream.php
# phpseclib/Net/SSH2.php
# phpseclib/System/SSH/Agent.php
# phpseclib/System/SSH/Agent/Identity.php
# tests/Unit/Math/BigInteger/TestCase.php
2022-07-03 07:48:16 -05:00
Jack Worman
8a2b94fb24
3rd round of comments
2022-07-03 07:33:45 -05:00
terrafrost
30e845ff1a
Merge branch '3.0'
2022-07-02 21:50:18 -05:00
terrafrost
1fd995abdf
Merge branch '3.0-type-hinting-backport' into 3.0
2022-07-02 21:49:55 -05:00
terrafrost
250f1a5b51
more backporting
2022-07-02 21:49:45 -05:00
Jack Worman
86ef8ef262
2nd round of comments
2022-07-02 16:47:49 -05:00
Jack Worman
beafe2a8a1
1st round of comments
2022-07-02 16:26:17 -05:00
Jack Worman
97902d4bd3
Upgrade to PHP 7.0
2022-07-02 16:26:15 -05:00
terrafrost
d22639841a
Merge branch '3.0'
2022-06-26 17:08:07 -05:00
terrafrost
0b3cc98084
BigInteger: fix behavior on 32-bit PHP installs
2022-06-26 17:07:45 -05:00
terrafrost
2f9bfb7987
Merge branch '1.0' into 2.0
2022-06-22 08:17:22 -05:00
terrafrost
978b2adbfc
RC2: fix deprecation error
2022-06-22 08:17:09 -05:00
terrafrost
4bceb6ca2d
Merge branch '1.0' into 2.0
2022-06-22 08:01:36 -05:00
terrafrost
f61a9b42d5
don't use dynamic properties, which are deprecated in PHP 8.2
2022-06-22 08:00:59 -05:00
terrafrost
9141c92236
RSA/PublicKey: rm bad type hint
2022-06-22 07:18:36 -05:00
terrafrost
7de44b745d
X509: backport fix for dnsName to 3.0 branch from master
2022-06-21 08:17:59 -05:00
Vadym Ovechkin
cee667126c
Prevent static call to non-static method error ( #1805 )
2022-06-20 21:27:10 +03:00
terrafrost
9a1d16fe97
ASN1: make it so that null is returned if the BER can't be decoded
2022-06-18 22:51:31 -05:00
terrafrost
e0adfa1712
backport select type hinting changes from master branch
2022-06-18 17:42:01 -05:00
terrafrost
545b43cd70
Merge branch '3.0'
2022-06-16 17:57:28 -05:00
terrafrost
f24691dc55
Merge branch '2.0' into 3.0
2022-06-16 09:37:40 -05:00
terrafrost
a0c76f01d2
Merge branch '1.0' into 2.0
2022-06-16 08:32:59 -05:00
terrafrost
f189b9aae2
SFTP: try without path canonicalization if initial realpath() fails
...
also make it so chdir works even without path canonicalization
2022-06-16 08:31:39 -05:00
terrafrost
c4f6f602e5
SFTP: update for the master branch
2022-06-14 05:47:51 -05:00
terrafrost
a84f5ddc49
Merge branch '3.0'
2022-06-14 05:47:13 -05:00
terrafrost
623bb39f1c
SFTP: update for 3.0 branch
...
in 1.0 / 2.0 _get_channel_packet could return false even when the
channel status was NET_SSH2_MSG_CHANNEL_DATA. in 3.0 it can't.
where 1.0 / 2.0 returned false 3.0 now throws exceptions
2022-06-14 05:43:31 -05:00
terrafrost
d85417c6ec
Merge branch '2.0' into 3.0
2022-06-14 05:42:25 -05:00
terrafrost
413dcb6082
SFTP: update for 2.0 code
2022-06-14 05:32:38 -05:00
terrafrost
1d1d3a4403
Merge branch '1.0' into 2.0
2022-06-14 05:31:09 -05:00
terrafrost
85205bf6d5
SSH2: set channel closure flag elsewhere as well
2022-06-14 05:30:24 -05:00
terrafrost
dcf9656a42
Merge branch '3.0'
2022-06-14 03:58:42 -05:00
terrafrost
9c45309d0e
SSH2: CS adjustment
2022-06-14 03:58:31 -05:00
terrafrost
0ca4393a2a
Merge branch '3.0'
2022-06-14 00:03:20 -05:00
terrafrost
fbf6027a43
Merge branch '2.0' into 3.0
2022-06-14 00:03:13 -05:00
terrafrost
5ea851d68b
Merge branch '1.0' into 2.0
2022-06-14 00:02:23 -05:00
terrafrost
62677de0bf
SSH2: fix possibly undefined variable error
2022-06-14 00:02:10 -05:00
terrafrost
62c36daa67
Merge branch '3.0'
2022-05-13 15:04:33 -05:00
Filippo Tessarotto
8b13462ee8
SFTP::get can also return true
2022-05-11 11:53:42 +02:00
terrafrost
0446caf2f6
Merge branch '3.0'
2022-05-10 22:14:16 -05:00
terrafrost
43c59198b8
Merge branch '2.0' into 3.0
2022-05-10 22:14:10 -05:00
terrafrost
3286f095d2
Merge branch '1.0' into 2.0
2022-05-10 22:14:04 -05:00
Yan Hu
eb71a6da75
Detect if stream metadata has wrapper_type set for SFTP put() method
2022-05-10 22:13:52 -05:00
terrafrost
c11618f005
Merge branch '3.0'
2022-05-06 16:25:37 -05:00
terrafrost
15ad047415
replace git.io links
2022-05-06 16:25:22 -05:00
terrafrost
51f863f289
Merge branch '3.0'
2022-05-06 14:27:24 -05:00
terrafrost
715bb9ff97
SFTP: CS adjustment
2022-05-06 14:26:57 -05:00
terrafrost
571e16af38
Merge branch '2.0' into 3.0
2022-05-06 14:26:30 -05:00
terrafrost
10a011de1d
Merge branch '1.0' into 2.0
2022-05-06 14:26:24 -05:00
terrafrost
1dfd1b9cd4
SFTP: try to delete dir even if it can't be opened
2022-05-06 14:19:42 -05:00
terrafrost
21993760ad
Merge branch '3.0'
2022-05-04 07:09:00 -05:00
terrafrost
3ce5d6f8c7
ASN1\Maps: CS adjustments
2022-05-04 07:03:47 -05:00
Jack Worman
8855351cbb
Remove_@access
2022-05-04 01:35:56 -05:00
terrafrost
f21681bee8
Merge branch '3.0'
2022-05-04 01:19:12 -05:00
terrafrost
a965060d81
SSH2: make login method return false under rare situation
2022-05-04 01:18:33 -05:00
terrafrost
eabe4aa23f
Merge branch '1.0' into 2.0
2022-04-26 09:02:46 -05:00
terrafrost
c22bf62ce1
BigInteger: tweak to the phpinfo checks
2022-04-26 08:54:19 -05:00
terrafrost
f57f5debe0
Merge branch '3.0'
2022-04-14 11:50:40 -05:00
terrafrost
e700ac7561
SFTP: fix enableDatePreservation bug w.r.t. mtime
2022-04-14 11:48:49 -05:00
terrafrost
726264bafa
Merge branch '3.0'
2022-03-20 13:52:26 -05:00
terrafrost
9a1e1caa90
EC / DSA: useBestEngine() needs to be called in getEngine()
2022-03-20 13:52:00 -05:00
terrafrost
ed0f7cc9f6
Merge branch '3.0'
2022-03-20 11:30:52 -05:00
terrafrost
301aad4764
RSA: conditionally call useBestEngine() when getEngine() is called
2022-03-20 11:30:24 -05:00
terrafrost
19502c5070
Merge branch '3.0'
2022-03-18 12:47:49 -05:00
terrafrost
eb971aaaac
BigInteger: fix deprecation notice
2022-03-18 12:47:40 -05:00
terrafrost
bf71ed9618
Merge branch '1.0' into 2.0
2022-03-18 11:13:26 -05:00
terrafrost
24ae493c10
Crypt/Base: fix deprecation notice
2022-03-18 11:05:49 -05:00
terrafrost
3e073a59e0
Merge branch '3.0'
2022-03-15 18:56:04 -05:00
Jack Worman
0a69972571
Clean Up Tests
2022-03-15 18:49:38 -05:00
terrafrost
57ad98e8bb
Merge branch '3.0'
2022-03-12 21:15:36 -06:00
terrafrost
887cf97185
fix pslam error
2022-03-11 19:14:07 -06:00
terrafrost
f04a4e6fda
fix error in PHP EvalBarrett Engine:
2022-03-11 18:38:01 -06:00
terrafrost
26d8f7a250
make it so BigIntegers can be JSON serialized
2022-03-10 20:26:46 -06:00
terrafrost
815aa23b39
BigInteger/Engines/BCMath: bcmod got a third param in PHP 7.2.0
...
the third parameter also isn't set in any other bcmod call and
isn't needed for bccomp anyway as
bccomp('0.000', '0') == bccomp('0', '0')
2022-03-10 05:24:30 -06:00
terrafrost
2f57517bad
BigInteger/Engines/PHP: trim 0's when a precision is being used
2022-03-08 23:37:29 -06:00
terrafrost
1c35df08dc
Merge branch '3.0'
2022-03-08 20:53:33 -06:00
terrafrost
824b232b47
BigInteger: add precision to __debugInfo
2022-03-08 20:53:18 -06:00
terrafrost
963fd7368f
Merge branch '3.0'
2022-03-03 17:49:36 -06:00
terrafrost
04e46cf656
CS adjustment
2022-03-03 17:44:41 -06:00
Jack Worman
9e321981a2
Psalm coverage for phpseclib3\Math\
...
Revert accidental change
2022-03-03 17:40:20 -06:00
Jack Worman
6bad45c016
Psalm coverage for phpseclib3\Math\
2022-03-03 17:37:26 -06:00
Jack Worman
b6f93a4a21
Psalm coverage for phpseclib3\Math\
...
Psalm coverage for phpseclib3\Math\
2022-03-03 17:36:10 -06:00
Jack Worman
6f2db49696
Psalm coverage for phpseclib3\Math\
...
Psalm coverage for phpseclib3\Math\
2022-03-03 17:20:24 -06:00
terrafrost
95aec3267d
CS tweaks (Ssh -> SSH, Sftp -> SFTP)
2022-02-27 02:17:25 -06:00
terrafrost
6a6e80ba8f
Merge branch '3.0'
2022-02-27 01:40:25 -06:00
Jack Worman
574953061a
PSR4 for tests and added fall-through for switches
...
PSR4 for tests and added fall-through for switches
2022-02-27 01:26:31 -06:00
terrafrost
120cdfb6e3
Merge branch '3.0'
2022-02-27 00:37:14 -06:00
terrafrost
5f60f96487
File/ASN1/Maps: CS adjustments
...
these are mostly backported from PR#1754. the only modified files
from that PR are:
- RSAPrivateKey
- OtherPrimeInfo
2022-02-27 00:36:32 -06:00
terrafrost
004aec954f
Merge branch '3.0'
2022-02-19 18:08:40 -06:00
terrafrost
f2e9dd993d
ChaCha20: ignore coding standards
2022-02-19 17:33:15 -06:00
terrafrost
a0d06e5e81
CS adjustments
2022-02-19 17:19:08 -06:00
Jack Worman
ea9f6540f3
PSR12 fixes
...
PSR12 fixes
2022-02-19 17:06:13 -06:00
terrafrost
87be41b0ee
Merge branch '3.0'
2022-02-18 01:52:28 -06:00
terrafrost
566d74b991
Merge branch '2.0' into 3.0
2022-02-18 01:47:58 -06:00
terrafrost
60b1e2cb18
Merge branch '1.0' into 2.0
2022-02-18 01:46:00 -06:00
terrafrost
7ce96d9337
Crypt/Base: sodium_increment uses the opposite endianness
2022-02-18 01:45:29 -06:00
terrafrost
c56d8525ef
Strings: increment_str should return incremented value
2022-02-17 23:45:07 -06:00
terrafrost
28019bb8f8
Merge branch '3.0'
2022-02-17 23:07:24 -06:00
terrafrost
b510af1cb5
Merge branch '2.0' into 3.0
2022-02-17 23:07:16 -06:00
terrafrost
7a0b96ecfa
Merge branch '1.0' into 2.0
2022-02-17 23:00:53 -06:00
terrafrost
1ba024df94
Crypt/Base: use sodium_increment in _increment_str
2022-02-17 22:50:56 -06:00
terrafrost
8d07631d81
Merge branch '3.0'
2022-02-17 22:27:58 -06:00
terrafrost
97eea332c5
PuTTY: add support for saving PuTTY v3 keys
2022-02-17 22:24:46 -06:00
terrafrost
7cbd239124
Merge branch '3.0'
2022-02-17 08:22:56 -06:00
terrafrost
9f6af761b0
Merge branch '2.0' into 3.0
2022-02-17 08:19:47 -06:00
terrafrost
019b4ffd3a
Merge branch '1.0' into 2.0
2022-02-17 00:35:01 -06:00
terrafrost
45d2ddcbc4
RSA: add support for loading PuTTY v3 keys
2022-02-17 00:32:21 -06:00
terrafrost
b58f7dc4ac
Merge branch '3.0'
2022-02-14 23:25:28 -06:00
terrafrost
27f578797d
XML Key loading tweaks
2022-02-14 23:20:29 -06:00
terrafrost
e2f9d10660
Merge branch '3.0'
2022-02-14 21:19:59 -06:00
terrafrost
7d3dbccd72
DH/PKCS8: encryption options couldn't be set for PKCS8 private keys
2022-02-14 21:19:29 -06:00
terrafrost
5bc572e2ce
EC/PKCS8: OpenSSL didn't like phpseclib formed Ed25519 private keys
...
Tested with openssl pkey -in private.pem -pubout -text on
OpenSSL 1.1.1f 31 Mar 2020
2022-02-14 21:15:36 -06:00
terrafrost
c1da7c5e8a
Merge branch '3.0'
2022-02-14 20:14:14 -06:00
terrafrost
f1dec13c38
PKCS8: the parent class shouldn't be directly called
2022-02-14 20:09:33 -06:00
terrafrost
c233a385cc
Merge branch '3.0'
2022-02-14 19:34:16 -06:00
terrafrost
dc488f967f
PKCS8: fix private key creation
2022-02-14 19:27:47 -06:00
terrafrost
ffbddd8152
Merge branch '3.0'
2022-02-14 17:59:57 -06:00
terrafrost
91a674a781
RSA/PrivateKey: add comment to explain things
2022-02-14 17:59:41 -06:00
terrafrost
6f19948091
Merge branch '1.0' into 2.0
2022-02-14 17:52:16 -06:00
terrafrost
f05091ca95
SSH2/Agent: backport fix from master branch
2022-02-14 17:51:53 -06:00
terrafrost
86c0007078
SFTP: backport fix from master
2022-02-14 17:42:49 -06:00
terrafrost
b5a3b05574
Merge branch '2.0'
2022-02-14 17:35:58 -06:00
terrafrost
247d23f40e
X509: code cleanup
2022-02-14 17:32:20 -06:00
Jack Worman
b96fc26dbc
Psalm coverage to everywhere except phpseclib/Crypt/, phpseclib/Math/ and tests/
...
Revert "Removed remaining tabs"
This reverts commit 31c077d6b1
.
Revert "Whitespace php-cs-fixer.php rules added"
This reverts commit 25e336614d
.
Addressing comments
2022-02-14 17:30:41 -06:00
terrafrost
b2b5e54afe
Merge branch '3.0'
2022-02-08 20:37:20 -06:00
terrafrost
f96f3505a8
Hash: add support for keccak256
2022-02-08 20:34:17 -06:00
terrafrost
30eeb49583
Merge branch '3.0'
2022-02-04 10:39:04 -06:00
terrafrost
60edff77e6
EC: CS adjustment
2022-02-04 10:38:47 -06:00
terrafrost
b3f14dee37
SSH2: move KEXDH_INIT / KEXDH_REPLY to MessageType
2022-02-04 08:56:52 -06:00
Filippo Tessarotto
e884929175
EC: decipher private key to generate signature
2022-02-04 10:15:39 +01:00
Jack Worman
b352bd602d
Changed casing
2022-02-03 19:09:41 -06:00
Jack Worman
fa53c147a5
Aliases PacketType
2022-02-03 12:50:50 -06:00
Jack Worman
dcf3528c8d
Renamed constants classes
2022-02-03 12:49:50 -06:00
Jack Worman
61f2bc1c06
Remove Dynamic Constants
...
Remove Dynamic Constants
2022-02-02 19:43:32 -06:00
terrafrost
56973d40db
SSH2: stop using more dynamic properties in SymmetricKey
2022-02-01 21:17:10 -06:00
Jack Worman
9b1c218664
psalm ci
...
psalm-ci
psalm-ci
psalm-ci
2022-02-01 20:45:53 -06:00
Jack Worman
ef66d9f7dd
php-cs-fixer ci
...
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
d925e66677
Merge branch '1.0' into 3.0
2022-02-01 06:33:46 -06:00
terrafrost
54a5c4b064
Merge branch '1.0' into 2.0
2022-02-01 06:32:02 -06:00