Commit Graph

237 Commits

Author SHA1 Message Date
terrafrost
f333669742 Merge branch '3.0' 2024-02-24 14:27:26 -06:00
terrafrost
baba459ca1 Tests: phpseclib 3.0 updates 2024-02-24 13:23:49 -06:00
terrafrost
0192fcc4aa Merge branch '2.0' into 3.0 2024-02-24 13:23:11 -06:00
terrafrost
072ab45681 Merge branch '1.0' into 2.0 2024-02-24 13:15:33 -06:00
terrafrost
e32531001b ASN1: limit OID length 2024-02-24 13:07:01 -06:00
terrafrost
3f7e74e41e Merge branch '3.0' 2023-08-24 20:22:42 -05:00
terrafrost
f7e80e44c9 Merge branch '2.0' into 3.0 2023-08-24 20:22:16 -05:00
terrafrost
278f8e5f5a Merge branch '1.0' into 2.0 2023-08-24 20:21:13 -05:00
terrafrost
585e0e44f4 ASN1: fix string conversion code for 32-bit PHP installs 2023-08-24 20:20:11 -05:00
terrafrost
9197b3ad3e ASN1: CS adjustment 2023-07-02 11:22:02 -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
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
Jack Worman
985b3c4f7c Throw \phpseclib3\Exception\ExceptionInterface exceptions 2022-09-26 07:41:32 -05:00
terrafrost
71fa541c9a Merge branch 'jworman' 2022-08-20 23:19:34 -05:00
terrafrost
3c73d61e7e Merge branch '3.0' 2022-08-19 09:22:57 -05:00
terrafrost
e5396968c5 use libsodium's base64 decoding if available 2022-08-19 09:11:46 -05:00
Jack Worman
6958ba1627 php-cs-fixer @PHP81Migration rule set 2022-08-18 08:10:12 -05:00
Jack Worman
510a93a50a Php 7.3
- Update php requirement to >=7.3
- Add php-cs-fixer rule: @PHP73Migration
2022-07-22 21:45:53 -05:00
Jack Worman
e210166f43 Php 7.1 Upgrade 2022-07-08 08:37:58 -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
97902d4bd3 Upgrade to PHP 7.0 2022-07-02 16:26:15 -05: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
Jack Worman
8855351cbb Remove_@access 2022-05-04 01:35:56 -05: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
Jack Worman
ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -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
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06: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
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
b3b54e8c6b Merge branch '2.0' into 3.0 2021-05-09 08:00:02 -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
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
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
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