Commit Graph

399 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
cb3aff1332 Merge branch '3.0' 2023-09-25 10:57:01 -05:00
terrafrost
c5b4d08669 Merge branch '2.0' into 3.0 2023-09-25 10:56:47 -05:00
terrafrost
abf482f73b Merge branch '1.0' into 2.0 2023-09-25 10:46:02 -05:00
terrafrost
6cd6e8ceab X509: fix for weird characters in subjaltname 2023-09-25 10:45:13 -05:00
terrafrost
9f919e8f24 Merge branch '1.0' into 2.0 2023-06-04 16:16:25 -05:00
terrafrost
eb8cbd7317 X509: backport EV subjects 2023-06-04 16:16:07 -05:00
terrafrost
9d2e353a04 Merge branch '3.0' 2023-06-04 16:08:09 -05:00
Tobias
3c349e122b feat(ADMINISTRATION-1): added ev subjects 2023-06-04 16:00:15 -05:00
terrafrost
d856416026 Merge branch '3.0' 2023-05-27 19:30:15 -05:00
Léon Melis
841267aafa X509::getChain() should always return array of X509 objects
Due to an early exit optimization, X509::getChain() could return currentCert as an array, instead of X509
2023-05-27 19:15:15 -05:00
terrafrost
68aa48de66 X509: CS adjustment 2022-11-29 06:09:31 -06:00
Jack Worman
985b3c4f7c Throw \phpseclib3\Exception\ExceptionInterface exceptions 2022-09-26 07:41:32 -05:00
terrafrost
c1f284d6b8 Merge branch '3.0' 2022-09-23 22:43:52 -05:00
terrafrost
f0a146eaa1 X509: make it so PKCS1 X509 certs can create PSS sigs 2022-09-23 22:33:30 -05:00
terrafrost
8c53a80405 Merge branch '3.0' 2022-09-23 16:15:43 -05:00
terrafrost
b54eeb8e35 X509: make it so CRLs, CSRs and SPKACs can support PSS keys 2022-09-23 15:03:37 -05:00
terrafrost
71fa541c9a Merge branch 'jworman' 2022-08-20 23:19:34 -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
16ade5d634 Quality tool fixes 2022-08-18 08:25:29 -05:00
Jack Worman
80f2d7f521 php-cs-fixer - php 7.4 rules 2022-08-18 08:10:08 -05:00
terrafrost
0e4e513900 Merge branch '3.0' 2022-08-17 00:08:21 -05:00
terrafrost
ea94a73380 Merge branch '2.0' into 3.0 2022-08-17 00:08:15 -05:00
terrafrost
cf6ff7dad0 Merge branch '1.0' into 2.0 2022-08-17 00:08:08 -05:00
terrafrost
3d05201d40 X509: include the query part of the URL 2022-08-17 00:07:54 -05: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
e210166f43 Php 7.1 Upgrade 2022-07-08 08:37:58 -05:00
Jack Worman
b2beedbf9a 3rd round of comments 2022-07-03 07:54:11 -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
8a2b94fb24 3rd round of comments 2022-07-03 07:33:45 -05:00
terrafrost
1fd995abdf Merge branch '3.0-type-hinting-backport' into 3.0 2022-07-02 21:49:55 -05:00
terrafrost
250f1a5b51 more backporting 2022-07-02 21:49:45 -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
terrafrost
4bceb6ca2d Merge branch '1.0' into 2.0 2022-06-22 08:01:36 -05:00
terrafrost
f61a9b42d5 don't use dynamic properties, which are deprecated in PHP 8.2 2022-06-22 08:00:59 -05:00
terrafrost
7de44b745d X509: backport fix for dnsName to 3.0 branch from master 2022-06-21 08:17:59 -05:00
Vadym Ovechkin
cee667126c
Prevent static call to non-static method error (#1805) 2022-06-20 21:27:10 +03: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
247d23f40e X509: code cleanup 2022-02-14 17:32:20 -06:00
Jack Worman
b96fc26dbc Psalm coverage to everywhere except phpseclib/Crypt/, phpseclib/Math/ and tests/
Revert "Removed remaining tabs"

This reverts commit 31c077d6b1.

Revert "Whitespace php-cs-fixer.php rules added"

This reverts commit 25e336614d.

Addressing comments
2022-02-14 17:30:41 -06:00
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00