Commit Graph

51 Commits

Author SHA1 Message Date
Ayesh Karunaratne
6931c96422
[PHP 8.4] Fixes for implicit nullability deprecation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
2024-03-16 02:33:11 +07:00
terrafrost
20f8c3101b Merge branch '3.0' 2023-12-27 00:55:41 -06:00
terrafrost
4bdfec9c23 Crypt/AsymmetricKey: loading hidden custom key plugins didn't work 2023-12-27 00:47:36 -06:00
terrafrost
0a70605d79 Merge branch '3.0' 2023-12-16 11:17:01 -06:00
terrafrost
f0194cf639 AsymmetricKey: toString('Raw') returns an array - not a string 2023-12-16 11:12:31 -06:00
terrafrost
90dc3cf6cb Merge branch '3.0' 2023-07-19 19:33:44 -05:00
terrafrost
fc4d9dd480 AsymmetricKey: phpstan tweak 2023-07-02 17:43:35 -05:00
terrafrost
ca2c9588ea Merge branch '3.0' 2023-02-05 23:47:08 -06:00
terrafrost
2487192558 AsymmetricKey: error out on unsupported operations 2023-02-05 17:44:51 -06:00
Jack Worman
985b3c4f7c Throw \phpseclib3\Exception\ExceptionInterface exceptions 2022-09-26 07:41:32 -05:00
terrafrost
b1aef24a86 EC: eliminate dynamic property from Ed25519/448 handling 2022-08-21 21:38:30 -05:00
Jack Worman
6958ba1627 php-cs-fixer @PHP81Migration rule set 2022-08-18 08:10:12 -05:00
terrafrost
32e85c2145 Merge branch 'master' of https://github.com/phpseclib/phpseclib 2022-08-13 16:52:58 -05:00
Jonny Fonsato
5411695c0b
changed as mentioned by Terrafrost 2022-07-28 16:38:51 +02: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
terrafrost
114f8c8f77 backport more changes from master 2022-07-16 09:03:17 -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
Jack Worman
86ef8ef262 2nd round of comments 2022-07-02 16:47:49 -05:00
Jack Worman
97902d4bd3 Upgrade to PHP 7.0 2022-07-02 16:26:15 -05:00
Jack Worman
8855351cbb Remove_@access 2022-05-04 01:35:56 -05:00
Jack Worman
ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -06:00
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
Jack Worman
e3b71763ae Fixed psalm level 6 errors in phpseclib/Net/ 2022-01-30 01:18:53 -06:00
terrafrost
12864bd9f6 AsymmetricKey: make more methods static 2021-08-14 12:03:23 -05:00
terrafrost
a5fcb44e28 AsymmetricKey: make methods static 2021-06-16 01:40:27 -05:00
terrafrost
d9615a6fb9 AsymetrticKey: add getComment() method 2021-04-18 22:20:48 -05:00
terrafrost
b7eaee4977 don't load plugins whose filename start with a . 2021-04-09 10:55:50 -05:00
terrafrost
55f23334cd loadPublic -> loadPublicKey; loadPrivate -> loadPrivateKey 2021-02-12 07:48:12 -06:00
terrafrost
3bddf4d962 PublicKeyLoader: add loadPublic, loadPrivate and loadParameters 2021-02-08 23:44:24 -06:00
William Desportes
5711e7fbe4
Fix phpdoc issues reported by Doctum 2020-09-12 10:14:54 +02:00
William Desportes
480af6b980
Merge branch '2.0' into 3.0 2020-09-09 10:46:22 +02:00
terrafrost
881fbd78ee Hash: add __toString() method 2020-04-19 09:19:27 -05:00
terrafrost
94d3403ed3 getLoadedFormat() threw exception for loadFormat()-loaded keys 2020-04-08 06:15:46 -05:00
terrafrost
327a13d133 $key->getLoadedFormat didn't work on EC / DSA keys 2020-04-08 05:07:47 -05:00
terrafrost
653dbd7f94 rename phpseclib/phpseclib to phpseclib/phpseclib3 for 3.0 branch 2019-11-21 19:38:03 -06:00
terrafrost
1e7453b585 add a new diffie-hellman key exchange class 2019-08-06 22:10:56 -05:00
terrafrost
eb659a5544 set password in load methods for each pubkey instead of in loader 2019-06-28 08:58:20 -05:00
terrafrost
5573187f3d rm $type parameter from AsymmetricKey::load and add loadFormat() 2019-06-28 08:51:12 -05:00
terrafrost
0abce39e39 move $enableBlinding property from AsymmetricKey to RSA 2019-06-27 00:30:55 -05:00
terrafrost
7012e72488 mv Keys/ and Signature/ to Formats/* 2019-06-25 07:52:45 -05:00
terrafrost
d7abfaadbc X509: rm $signatureAlgorithm parameter from signature methods 2019-06-24 18:24:14 -05:00
terrafrost
cc32cd2e95 make RSA / DSA / ECDSA immutable and add support to SSH2 / X509 2019-05-19 15:35:29 -05:00
terrafrost
2c1994805b ECDSA: make it so hash can't be changed for Ed25519 / Ed448 2018-11-29 10:05:28 -06:00
terrafrost
0398f7a815 add ECDSA / EdDSA support 2018-11-19 12:39:21 -06:00
terrafrost
2a6f5f825a Asymmetric: fix for phar's
Inspired by 4e367c9631
2018-02-23 21:15:33 -06:00
terrafrost
ec579bd9ed revisions to rrran's PHPDoc changes 2017-11-05 14:35:27 -06:00
Sokolovskyy Roman
f40ea062c2 Lots of PHPDoc fixes 2017-10-25 11:44:14 +02:00
terrafrost
af6048b48e AsymmetricKey: visibility fixes 2017-09-30 07:58:07 +01:00
Sokolovskyy Roman
6181b2bfbd Set of PHPDOC fixes 2017-08-03 09:16:16 +02:00