Commit Graph

34 Commits

Author SHA1 Message Date
terrafrost
2487192558 AsymmetricKey: error out on unsupported operations 2023-02-05 17:44:51 -06:00
terrafrost
b1aef24a86 EC: eliminate dynamic property from Ed25519/448 handling 2022-08-21 21:38:30 -05:00
terrafrost
114f8c8f77 backport more changes from master 2022-07-16 09:03:17 -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
terrafrost
eb459daeaf add DSA implementation 2017-02-02 20:20:47 -05:00