Commit Graph

109 Commits

Author SHA1 Message Date
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
1762ad4d9e CS adjustments 2022-08-23 21:37:53 -05:00
terrafrost
62f7c8aa10 CS tweaks 2022-08-23 21:26:31 -05:00
terrafrost
0b9b0074c9 backport more dynamic property fixes 2022-08-23 20:01:11 -05:00
terrafrost
a4dba26ec5 CS adjustments 2022-08-21 13:30:27 -05:00
terrafrost
71fa541c9a Merge branch 'jworman' 2022-08-20 23:19:34 -05:00
terrafrost
b64952680e Merge branch '3.0' 2022-08-20 17:38:19 -05:00
terrafrost
0b3c6e27fc add JSON Web Key (JWK) support 2022-08-20 17:38:12 -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
80f2d7f521 php-cs-fixer - php 7.4 rules 2022-08-18 08:10:08 -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
Jonny Fonsato
a3ce8392fd
I have upgraded to php 8.2 with the tests running successfully 2022-07-28 16:30:54 +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
c73b9f0884 RSA/XML: rm redundant check 2022-07-15 12:28:56 -05:00
terrafrost
22e2fdbca6 Merge branch '2.0' into 3.0 2022-07-13 09:14:05 -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
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
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
9141c92236 RSA/PublicKey: rm bad type hint 2022-06-22 07:18:36 -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
terrafrost
27f578797d XML Key loading tweaks 2022-02-14 23:20:29 -06:00
terrafrost
dc488f967f PKCS8: fix private key creation 2022-02-14 19:27:47 -06:00
terrafrost
91a674a781 RSA/PrivateKey: add comment to explain things 2022-02-14 17:59:41 -06:00
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
84295e2fc2 RSA/Keys/Raw: add support for private keys 2021-11-21 21:22:34 -06:00
terrafrost
07423805ac Merge branch '2.0' into 3.0 2021-06-12 07:58:20 -05:00
terrafrost
f61cce9c83 RSA: misc fixes for "without NULL" PKCS1 signature validation 2021-04-03 17:50:28 -05:00
terrafrost
ae15ac69d0 Merge branch 'moosa-2.0' into moosa-3.0 2021-04-03 17:12:38 -05:00
terrafrost
42fc46e9a9 RSA: make sure that parameters is null for relaxed PKCS1 signatures 2021-04-03 11:33:49 -05:00
Jan Slabon
131459996b Added support for absent parameters field in PSS keys
See [here](https://tools.ietf.org/html/rfc4055#section-3.1) for details.
2021-01-16 10:24:55 -06:00
terrafrost
c1b70c21cb RSA: the salt length isn't saved for new keys 2021-01-16 09:59:45 -06:00
terrafrost
06cd62ae55 Merge branch 'rsa-exceptions' into 3.0 2021-01-14 03:10:59 -06:00
terrafrost
bfb49c06e8 RSA: throw exceptions instead of returning false 2021-01-13 12:08:23 -06:00
terrafrost
05d934c89f RSA: improve identification of public / private PKCS1 / PKCS8 keys 2021-01-08 09:01:31 -06:00
terrafrost
7b7d254a6c rm docblock templates 2020-12-30 09:08:05 -06:00
William Desportes
480af6b980
Merge branch '2.0' into 3.0 2020-09-09 10:46:22 +02:00
terrafrost
0b231cc53b RSA: rm ENCRYPTION_PKCS15_COMPAT mode 2020-04-19 15:10:38 -05:00
terrafrost
0f8486cc87 allow strinable objects to be loaded instead of just strings 2020-04-13 07:58:00 -05:00