terrafrost
fa53d11807
more CS adjustments
2023-09-25 11:22:02 -05: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
a0abd3507b
Tests/X509: updates to work for 2.0 branch
2023-09-25 10:46:39 -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
713cd7efb6
Tests/X509: fix malformed base64
...
base64_decode() handles it just fine but sodium_base642bin() doesn't
e5396968c5
fixed this in the 3.0 branch but not the 2.0 branch
it's an issue in the 2.0 branch because phpseclib2_compat uses the
phpseclib 2.0 unit tests to test a thin wrapper for phpseclib 3.0
2023-04-09 10:29:22 -05:00
Jack Worman
985b3c4f7c
Throw \phpseclib3\Exception\ExceptionInterface exceptions
2022-09-26 07:41:32 -05:00
terrafrost
19fe966933
CS adjustment
2022-09-23 22:46:02 -05:00
terrafrost
c1f284d6b8
Merge branch '3.0'
2022-09-23 22:43:52 -05:00
terrafrost
df21050d03
Tests/X509: add test for PSS signed CRL signed by PKCS1 X509
2022-09-23 18:48:55 -05:00
terrafrost
8c53a80405
Merge branch '3.0'
2022-09-23 16:15:43 -05:00
terrafrost
9158033ddb
CS adjustment
2022-09-23 15:23:25 -05:00
terrafrost
ea5a4c3c62
Tests/X509: add unit test for CRL creation with PSS keys
2022-09-23 15:02:44 -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
510a93a50a
Php 7.3
...
- Update php requirement to >=7.3
- Add php-cs-fixer rule: @PHP73Migration
2022-07-22 21:45:53 -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
97902d4bd3
Upgrade to PHP 7.0
2022-07-02 16:26:15 -05:00
terrafrost
5f137d60ec
Tests/ASN1Test: update tests to work with decodeBER returning null
2022-06-22 07:57:03 -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
Jack Worman
ef66d9f7dd
php-cs-fixer ci
...
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
Jack Worman
5916c2bff8
Fixed risky tests
2022-01-31 09:53:36 -06:00
terrafrost
927f8062a7
Merge branch '2.0' into 3.0
2021-06-24 21:45:57 -05:00
terrafrost
01addfb92f
Tests/X509: update new unit test to work with 2.0
2021-06-24 21:39:07 -05:00
terrafrost
5a3e622c4d
Merge branch '1.0' into 2.0
2021-06-24 21:38:25 -05:00
terrafrost
973bb072a0
ASN1: return false when not enough bytes are available
2021-06-24 21:36:03 -05:00
terrafrost
5f3281a6d5
Tests/X509/CSR: cast implicit bools to explicit bools
2021-06-23 22:05:00 -05:00
terrafrost
a8a13ae7c9
Tests/X509/CSR: getPublicKey() didn't handle PKCS1 / PSS correctly
2021-06-23 21:53:48 -05:00
terrafrost
6d4f436da1
X509: add unit tests
2021-06-01 21:01:48 -05:00
Kyle
c596078d7a
Create tbsCertificate/extensions if missing
...
Fix #1642
Create tbsCertificate/extensions if missing when extensions values are proceeded
2021-04-20 15:59:46 -05:00
terrafrost
ae15ac69d0
Merge branch 'moosa-2.0' into moosa-3.0
2021-04-03 17:12:38 -05:00
terrafrost
43eeb853f1
Merge branch 'moosa-1.0' into moosa-2.0
2021-04-03 16:47:37 -05:00
terrafrost
10cee4514c
Tests/ASN1: test for bad tag
2021-04-03 13:53:20 -05:00
terrafrost
c1d21edb94
Tests/ASN1: add tests for constructed mismatches
2021-04-03 13:44:29 -05:00
terrafrost
104a57badd
Merge branch 'moosa-2.0' into moosa-3.0
2021-04-03 13:28:23 -05:00
terrafrost
730070b78f
Tests/ASN1: update unit tests to work on 2.0 branch
2021-04-03 13:25:56 -05:00
terrafrost
bac775ecd5
Merge branch 'moosa-1.0' into moosa-2.0
2021-04-03 13:19:15 -05:00
terrafrost
6be326e7e7
Tests/ASN1: add test for OID garbage bytes
2021-04-03 12:04:07 -05:00
terrafrost
2eec2e0ab2
Merge branch 'moosa-1.0' into moosa-2.0
2021-04-03 11:57:40 -05:00
terrafrost
dbd210c4a7
Tests/ASN1: add test for null garbage bytes
2021-04-03 11:38:11 -05:00
terrafrost
3d4767301c
X509: fix niche issue with computeKeyIdentifier
2021-01-25 12:17:36 -06:00
terrafrost
3e32d5a853
Merge pull request #1573 from kylekatarnls/feature/allow-to-use-extensions
...
Allow to extend X509 extensions
2021-01-15 21:57:07 -06:00
Bastien Miclo
e69049be5e
Add getRegisteredExtension()
2021-01-14 16:15:55 +01:00
terrafrost
010ca94cb4
Merge branch '2.0' into 3.0
2021-01-07 20:36:27 -06:00
terrafrost
78e04f4ab6
Merge branch '1.0' into 2.0
2021-01-07 20:36:21 -06:00
terrafrost
df94788edf
Tests/X509: update unit test
2021-01-07 20:36:09 -06:00
terrafrost
d9b8341e9c
Merge branch '2.0' into 3.0
2021-01-07 20:24:15 -06:00
terrafrost
649609d4b2
Merge branch '1.0' into 2.0
2021-01-07 20:21:59 -06:00