Commit Graph

1108 Commits

Author SHA1 Message Date
terrafrost
0f6e1c2218 PKCS8: fix public private checks for human readable keys 2023-03-05 10:01:22 -06:00
terrafrost
79dead6a5e CS adjustments 2023-03-05 00:09:02 -06:00
terrafrost
60358cefb1 Merge branch '3.0' 2023-03-04 23:31:30 -06:00
terrafrost
cf69b29427 Crypt/PKCS8: rm duplicate code and improve detection of public keys 2023-03-04 23:25:36 -06:00
terrafrost
f8d2ff5ae4 CS adjustments 2023-03-03 14:42:42 -06:00
terrafrost
c918d60b20 SymmetricKey: rm safe_intval 2023-03-03 14:06:25 -06:00
terrafrost
f519a54e7a Merge branch '3.0' 2023-03-03 12:54:14 -06:00
terrafrost
fbe79b0855 Merge branch '2.0' into 3.0 2023-03-03 09:30:48 -06:00
terrafrost
0af70c5de6 Merge branch '1.0' into 2.0 2023-03-03 09:25:24 -06:00
terrafrost
9e758c180d Blowfish: 32-bit PHP tweaks 2023-03-03 09:24:42 -06:00
terrafrost
922cfd8dea Merge branch '3.0' 2023-03-02 04:52:55 -06:00
Simon Podlipsky
b946c6eed9 style: run csfixer 2023-03-02 04:52:25 -06:00
terrafrost
1b1e729632 backport enhancements from the 2.0 branch 2023-02-11 22:20:03 -06:00
terrafrost
5d51328dd5 Merge branch '3.0' 2023-02-11 20:57:49 -06:00
terrafrost
d3e72bd1fc Merge branch '2.0-github-actions' into 3.0 2023-02-11 20:40:52 -06:00
terrafrost
e3b9a97200 Blowfish: fix issues on 32-bit PHP installs 2023-02-11 17:47:40 -06:00
terrafrost
50ab21b7cb Crypt: don't do OpenSSL version check unless OpenSSL is installed 2023-02-11 14:55:25 -06: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
terrafrost
649b4f1713 Merge branch '3.0' 2022-12-16 22:54:07 -06:00
terrafrost
90a1765106 Merge branch '2.0' into 3.0 2022-12-16 22:53:49 -06:00
terrafrost
be361b6722 Merge branch '1.0' into 2.0 2022-12-16 22:30:32 -06:00
terrafrost
c99e38b7c9 OpenSSL 3.0.1+ deprecated some algorithms 2022-12-16 22:16:49 -06:00
terrafrost
762e786ec9 SymmetricKey: more CS updates 2022-12-07 08:39:01 -06:00
terrafrost
e1541eb109 Merge branch '3.0' 2022-12-07 08:38:28 -06:00
terrafrost
8568af7f9b SymmetricKey: CS updates 2022-12-07 08:38:06 -06:00
terrafrost
d186a9d20d Merge branch '2.0' into 3.0 2022-12-07 08:37:25 -06:00
terrafrost
e8ff5142c8 Merge branch '1.0' into 2.0 2022-12-07 08:33:13 -06:00
terrafrost
16df002325 Crypt/Base: add a function to check continuous buffer status 2022-12-07 08:32:44 -06:00
terrafrost
5afc5f77b9 Merge branch '3.0' 2022-11-27 12:18:17 -06:00
terrafrost
bf804e6feb DSA/PuTTY: ssh-dsa should be ssh-dss 2022-11-27 12:18:09 -06:00
terrafrost
ad11cf3c6b Merge branch '3.0' 2022-10-27 23:07:45 -05:00
terrafrost
08c27ae48a Merge branch '2.0' into 3.0 2022-10-27 23:07:38 -05:00
terrafrost
104f776cff Merge branch '1.0' into 2.0 2022-10-27 23:07:06 -05:00
Lars Moelleken
a482c925af typo: "cann't" vs "can't" 2022-10-27 23:06:53 -05:00
Jack Worman
985b3c4f7c Throw \phpseclib3\Exception\ExceptionInterface exceptions 2022-09-26 07:41:32 -05:00
terrafrost
c1377159a2 Random: don't do >= 8.1 check 2022-09-15 00:01:15 -05:00
terrafrost
5a6f433ee8 Merge branch '3.0' 2022-09-15 00:00:23 -05:00
terrafrost
a1862b1817 fix bad merge 2022-09-15 00:00:14 -05:00
terrafrost
535fa6c777 Merge branch '3.0' 2022-09-14 23:47:17 -05:00
terrafrost
ead5790c80 CS adjustment 2022-09-14 23:45:04 -05:00
terrafrost
65493ae3be Merge branch '2.0' into 3.0 2022-09-14 12:50:32 -05:00
terrafrost
73b149ea6d Merge branch '1.0' into 2.0 2022-09-13 23:59:59 -05:00
terrafrost
c4ec1ea069 Random: fix fallback on PHP 8.1+ 2022-09-13 23:58:14 -05:00
terrafrost
8dbb8667f1 fix bad merge 2022-08-28 11:03:15 -05:00
terrafrost
88fbf6ab97 Merge branch '1.0' into 2.0 2022-08-28 10:34:26 -05:00
terrafrost
1168ba4d27 backport 3.0's PHP 8.1 32-bit fixes 2022-08-28 09:54:08 -05:00
terrafrost
26b2b3f473 CS adjustment 2022-08-27 08:34:15 -05:00
terrafrost
41dbac7a9e Merge branch '3.0' 2022-08-27 08:33:39 -05:00
terrafrost
2026b0c0db Hash: fix PHP 8.2 error
see https://github.com/php/php-src/issues/8924
2022-08-27 08:33:17 -05:00
terrafrost
e2a20a6ad9 fix bad merge 2022-08-27 07:33:21 -05:00
terrafrost
2f3555a9b4 Merge branch '3.0' 2022-08-27 06:16:19 -05:00
terrafrost
c5a9ee5234 fix deprecated implicit float to int on 32-bit PHP 8.1 2022-08-27 05:53:55 -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
b1aef24a86 EC: eliminate dynamic property from Ed25519/448 handling 2022-08-21 21:38:30 -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
a01c3915ce Merge branch '3.0' 2022-08-20 06:19:24 -05:00
terrafrost
13b241e3e9 use libsodium's hex (en|de)coding if available 2022-08-19 22:49:26 -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
3f3de53503 Use loop for encrypting $p 2022-08-18 08:10:12 -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
terrafrost
1d04f9b1d4 Merge branch 'callmejon' 2022-08-13 09:05:30 -05:00
terrafrost
f928536632 EC: make secret field in savePrivateKey optional 2022-08-12 13:12:16 -05:00
Jonny Fonsato
5c8966334e
removed initialization where not needed 2022-08-02 11:50:12 +02:00
Jonny Fonsato
05cdd09f52
add --ignore-platform-req=php for fix test error 2022-08-02 11:06:37 +02:00
terrafrost
259f44207a
Merge pull request #1824 from jack-worman/Php_7.3
Php 7.3 php-cs-fixer rule and composer.json scripts
2022-07-31 23:43:07 -05:00
terrafrost
92984a318f Merge branch '3.0' 2022-07-31 19:35:05 -05:00
terrafrost
7fbd6d5fef Merge branch '2.0' into 3.0 2022-07-31 19:34:49 -05:00
terrafrost
3a087da5cc Merge branch '1.0' into 2.0 2022-07-31 19:34:42 -05:00
terrafrost
a44b56d4b5 Crypt/Base: fix PHP 8.2 deprecation error 2022-07-31 19:29:31 -05:00
terrafrost
2e549e3aa1 Merge branch '3.0' 2022-07-31 17:28:30 -05:00
terrafrost
826d8d6670 make it so OpenSSH encrypted keys can be created 2022-07-31 17:14:20 -05:00
terrafrost
e95febd5aa rm safe_intval 2022-07-31 16:03:41 -05:00
terrafrost
e54624c085 CS adjustments 2022-07-31 09:31:41 -05:00
terrafrost
af7a69a66f Merge branch 'bcrypt' into bcrypt2 2022-07-31 09:04:54 -05:00
terrafrost
2d6713cd54 Crypt: CRYPT_BASE_USE_SAFE_INTVAL -> CRYPT_BASE_USE_REG_INTVAL 2022-07-31 08:59:21 -05:00
terrafrost
3691aefd2b CS adjustments 2022-07-31 08:48:04 -05:00
terrafrost
69d3f8548a Merge branch 'bcrypt3' 2022-07-30 19:49:05 -05:00
terrafrost
1e10a6ab7a fix bad merge 2022-07-30 18:51:45 -05:00
terrafrost
450a961785 Merge branch 'bcrypt2' into bcrypt3 2022-07-30 18:07:26 -05:00
terrafrost
abb6a62384 fix bad merge 2022-07-28 17:35:12 -05:00
terrafrost
11977eeb3c Merge branch 'bcrypt' into bcrypt2 2022-07-28 16:55:43 -05:00
terrafrost
34a277ff16 a few small tweaks 2022-07-28 16:44:29 -05:00
Jonny Fonsato
dd86bd9fbd
change secret position after rebase 2022-07-28 16:56:00 +02: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
terrafrost
cd716bcf36 updates to make phpseclib 1.0 work on older PHP versions 2022-07-28 08:42:14 -05:00
terrafrost
0c8994bbad Crypt/RSA: add support for loading OpenSSH encrypted keys 2022-07-28 08:11:42 -05:00
terrafrost
76a7b07bda Crypt/Blowfish: partial refactor for bcrypt 2022-07-24 17:37:31 -05:00
terrafrost
445077e733 Crypt/Base: rewrite how safe_intval check is done 2022-07-24 16:51:56 -05:00
terrafrost
b0e034ff9d Merge branch '3.0' 2022-07-23 09:41:56 -05:00
terrafrost
33b8a299b5 SymmetricKey: CS update 2022-07-23 09:39:33 -05:00