Commit Graph

4881 Commits

Author SHA1 Message Date
terrafrost
2914a15d04 Tests/X509: add testRSACertWithECSDASig unit test 2024-12-04 07:17:56 -06:00
terrafrost
ad709d815f Merge branch '2.0' into 3.0 2024-11-29 00:44:25 -06:00
terrafrost
702bd3370a Merge branch '1.0' into 2.0 2024-11-29 00:43:26 -06:00
terrafrost
8de7a893c2 BigInteger: improve detection of newly introduced GMP bug 2024-11-29 00:35:25 -06:00
terrafrost
7127d934c9 Merge branch '2.0' into 3.0 2024-11-29 00:15:34 -06:00
terrafrost
ca7ae97d31 Merge branch '1.0' into 2.0 2024-11-28 23:36:13 -06:00
terrafrost
05085f4df0 BigInteger: fix for PHP 8.4.0 - 8.4.1 regression
See https://github.com/php/php-src/issues/16870
2024-11-28 23:24:31 -06:00
terrafrost
58709cff79 RSA: PHP 8.4 deprecated xml_set_object() 2024-11-28 23:09:12 -06:00
terrafrost
7d1779e03e X509: even more PHP 8.4 deprecations 2024-11-28 22:04:36 -06:00
terrafrost
6dcb3bbca6 X509: fix another PHP 8.4 deprecation 2024-11-28 19:38:13 -06:00
terrafrost
e432117c2b fix PHP 8.4 deprecations
phpseclib 3.0 works on PHP 5.6+. changing this for the 3.0 branch
would be a BC break so that's not happening.

the problem is that PHP 8.4 deprecated implicitly nullable parameter
types [1] in favor of the ?T syntax, which wasn't introduced until
PHP 7.1. if phpseclib 3.0 ups the minimimally required PHP version
to PHP 5.6 it's breaking BC so we'll just remove the type hinting
to make it a non issue. the master branch (which will eventually
someday become phpseclib 4.0) will still support type hinting

[1] https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-11-28 19:28:11 -06:00
terrafrost
10a9c2e457 Merge branch '2.0' into 3.0 2024-11-28 17:43:56 -06:00
terrafrost
3106784b58 Merge branch '1.0' into 2.0 2024-11-28 17:42:18 -06:00
terrafrost
181f13a9d8 fix unit tests on PHP 8.3/8.4 2024-11-28 17:41:58 -06:00
terrafrost
c38fde1fe0 CS adjustments 2024-11-28 17:19:28 -06:00
terrafrost
8eb3c09bfd Merge branch '2.0' into 3.0 2024-11-28 17:18:34 -06:00
terrafrost
6865afbede Merge branch '1.0' into 2.0 2024-11-28 17:18:22 -06:00
terrafrost
57435e2401 SSH2: add bytesUntilKeyReexchange() method 2024-11-28 17:18:13 -06:00
terrafrost
a27023aa2b Merge branch '2.0' into 3.0 2024-11-22 18:09:25 -06:00
terrafrost
910927a7c2 Merge branch '1.0' into 2.0 2024-11-22 18:08:09 -06:00
terrafrost
88fd8e00b2 run unit tests on PHP 8.3 and 8.4 2024-11-22 18:07:56 -06:00
terrafrost
b39334b81d SSH2: replace \RuntimeException with UnsupportedAlgorithmException 2024-11-22 18:06:09 -06:00
terrafrost
b66b5dc6b2 SSH2: replace user_error with Exceptions 2024-11-22 18:00:43 -06:00
terrafrost
f5113e1352 SSH2: rm extra_packets in a few more places 2024-11-22 17:23:31 -06:00
terrafrost
e81fd6899b SSH2: rm changes i made for debugging 2024-11-22 17:13:52 -06:00
terrafrost
614d8ae88c Merge branch '2.0' into 3.0 2024-11-22 17:13:39 -06:00
terrafrost
99572879b2 Merge branch '1.0' into 2.0 2024-11-22 17:12:21 -06:00
terrafrost
6f4af7ee05 SSH2: extra_packets is no longer used 2024-11-22 17:12:10 -06:00
terrafrost
dcd4b2a034 Merge branch '2.0' into 3.0 2024-11-22 16:54:19 -06:00
terrafrost
53645af893 Merge branch '1.0' into 2.0 2024-11-22 16:32:36 -06:00
terrafrost
b38e84972d SSH2: don't count len of packets sent / rcvd during key exchange 2024-11-22 16:31:06 -06:00
terrafrost
b966aa2536 Merge branch '1.0' into 2.0 2024-11-22 14:54:47 -06:00
terrafrost
ccf4b488e8 SSH2: PHP didn't support constant expressions until PHP 5.6 2024-11-22 14:54:16 -06:00
terrafrost
0b9fd56b6f Merge branch '1.0' into 2.0 2024-11-22 14:40:40 -06:00
terrafrost
7f31a1e3e6 SSH2: make it so phpseclib initiates key re-exchange after 1GB 2024-11-22 14:29:20 -06:00
terrafrost
f7714a529e Merge branch '2.0' into 3.0 2024-11-14 20:14:52 -06:00
terrafrost
57450591e3 Merge branch '1.0' into 2.0 2024-11-14 20:14:04 -06:00
terrafrost
2b3d219fb4 SSH2: update setPreferredAlgorithms() to accept csv's 2024-11-14 20:13:31 -06:00
terrafrost
c0f74b21d6 Merge branch '2.0' into 3.0 2024-10-26 08:53:26 -05:00
terrafrost
97a5d4f1e8 Merge branch '1.0' into 2.0 2024-10-26 08:53:12 -05:00
terrafrost
40e13eff99 BACKERS: add ssddanbrown - thanks!! 2024-10-26 08:52:56 -05:00
terrafrost
c228cc002b X509: add getRequestedCertificateExtensions() 2024-10-01 17:56:59 -05:00
terrafrost
1d594b65e6 Tests: new CSR encoding broke another unit test 2024-09-30 05:00:58 -05:00
terrafrost
eebe2a88b4 Merge branch '2.0' into 3.0 2024-09-30 04:56:39 -05:00
terrafrost
7ee9f87846 Tests: add unit test for attributes 2024-09-30 04:40:33 -05:00
terrafrost
418965da38 Merge branch '1.0' into 2.0 2024-09-30 04:29:45 -05:00
terrafrost
c6ff35a494 X509: make the attributes section of new CSRs be blank 2024-09-30 04:29:10 -05:00
terrafrost
41c78a7d36 PKCS8: Ed25519 / Ed448 pub keys couldn't be saved as DER 2024-09-25 23:13:33 -05:00
terrafrost
a3ef82e281 PKCS8: make it so keys can be saved as PEMs or DERs 2024-09-25 21:54:55 -05:00
terrafrost
fb3aa8d8ab Merge branch '2.0' into 3.0 2024-09-25 18:03:15 -05:00