terrafrost
|
0c8994bbad
|
Crypt/RSA: add support for loading OpenSSH encrypted keys
|
2022-07-28 08:11:42 -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
|
a95abeb4c4
|
Merge remote-tracking branch 'jworman/Php_7.1'
|
2022-07-22 18:29:53 -05:00 |
|
terrafrost
|
a9c3f10de4
|
Merge branch '3.0'
|
2022-07-15 09:18:37 -05:00 |
|
terrafrost
|
feced404bb
|
EC/PKCS8: OpenSSL didn't like phpseclib formed Ed25519 public keys
|
2022-07-15 09:18:15 -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 |
|
terrafrost
|
30e845ff1a
|
Merge branch '3.0'
|
2022-07-02 21:50:18 -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
|
97902d4bd3
|
Upgrade to PHP 7.0
|
2022-07-02 16:26:15 -05:00 |
|
terrafrost
|
d124f95ea3
|
Merge branch '3.0'
|
2022-06-26 17:21:55 -05:00 |
|
terrafrost
|
9e77203746
|
Tests/BigInteger: make unit test do == vs ===
|
2022-06-26 17:16:17 -05:00 |
|
terrafrost
|
5f137d60ec
|
Tests/ASN1Test: update tests to work with decodeBER returning null
|
2022-06-22 07:57:03 -05:00 |
|
terrafrost
|
2b36a0fcd7
|
Merge branch '3.0'
|
2022-05-10 23:16:48 -05:00 |
|
terrafrost
|
2e963c0002
|
Tests/BigInteger: fix 8.2 deprecation errors
|
2022-05-10 23:08:46 -05:00 |
|
terrafrost
|
b4e20843c8
|
Merge branch '3.0'
|
2022-04-22 18:50:55 -05:00 |
|
Jack Worman
|
746e9eef57
|
Clean Up Tests
|
2022-04-22 18:41:59 -05:00 |
|
terrafrost
|
3e073a59e0
|
Merge branch '3.0'
|
2022-03-15 18:56:04 -05:00 |
|
Jack Worman
|
0a69972571
|
Clean Up Tests
|
2022-03-15 18:49:38 -05:00 |
|
terrafrost
|
b722a4f002
|
Merge branch '3.0'
|
2022-03-08 08:53:21 -06:00 |
|
Jack Worman
|
46758107de
|
GitHub actions
|
2022-03-08 06:08:01 -06:00 |
|
terrafrost
|
6a6e80ba8f
|
Merge branch '3.0'
|
2022-02-27 01:40:25 -06: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 |
|
terrafrost
|
004aec954f
|
Merge branch '3.0'
|
2022-02-19 18:08:40 -06:00 |
|
Jack Worman
|
ea9f6540f3
|
PSR12 fixes
PSR12 fixes
|
2022-02-19 17:06:13 -06:00 |
|
terrafrost
|
7cbd239124
|
Merge branch '3.0'
|
2022-02-17 08:22:56 -06:00 |
|
terrafrost
|
9f6af761b0
|
Merge branch '2.0' into 3.0
|
2022-02-17 08:19:47 -06:00 |
|
terrafrost
|
019b4ffd3a
|
Merge branch '1.0' into 2.0
|
2022-02-17 00:35:01 -06:00 |
|
terrafrost
|
45d2ddcbc4
|
RSA: add support for loading PuTTY v3 keys
|
2022-02-17 00:32:21 -06:00 |
|
terrafrost
|
e2f9d10660
|
Merge branch '3.0'
|
2022-02-14 21:19:59 -06:00 |
|
terrafrost
|
5bc572e2ce
|
EC/PKCS8: OpenSSL didn't like phpseclib formed Ed25519 private keys
Tested with openssl pkey -in private.pem -pubout -text on
OpenSSL 1.1.1f 31 Mar 2020
|
2022-02-14 21:15:36 -06:00 |
|
terrafrost
|
c233a385cc
|
Merge branch '3.0'
|
2022-02-14 19:34:16 -06:00 |
|
terrafrost
|
f5858a6a1d
|
Tests/RSA: add test for changing PKCS8 encryption parameters
|
2022-02-14 19:25:13 -06:00 |
|
terrafrost
|
b2b5e54afe
|
Merge branch '3.0'
|
2022-02-08 20:37:20 -06:00 |
|
terrafrost
|
f96f3505a8
|
Hash: add support for keccak256
|
2022-02-08 20:34:17 -06:00 |
|
terrafrost
|
30eeb49583
|
Merge branch '3.0'
|
2022-02-04 10:39:04 -06:00 |
|
Filippo Tessarotto
|
e884929175
|
EC: decipher private key to generate signature
|
2022-02-04 10:15:39 +01:00 |
|
Jack Worman
|
61f2bc1c06
|
Remove Dynamic Constants
Remove Dynamic Constants
|
2022-02-02 19:43:32 -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
|
1017120fa9
|
Merge branch '2.0' into 3.0
|
2022-01-28 15:10:07 -06:00 |
|
terrafrost
|
c8d379daa5
|
Crypt/Base: add OFB8 as a new mode
|
2022-01-28 14:39:16 -06:00 |
|
terrafrost
|
ddfb217855
|
Merge branch '1.0' into 3.0
|
2022-01-08 19:51:35 -06:00 |
|
terrafrost
|
676b099789
|
Merge branch '1.0' into 2.0
|
2022-01-08 19:50:36 -06:00 |
|
PetrP
|
888867e7b6
|
SFTP: fix chgrp() for version < 4
$uid and $gid were flipped with dbfc762257
|
2022-01-08 19:50:22 -06:00 |
|
terrafrost
|
796270a254
|
Tests: update for 3.0 branch
|
2022-01-08 16:49:43 -06:00 |
|
terrafrost
|
2aa8072410
|
Merge branch '1.0' into 3.0
|
2022-01-08 16:49:00 -06:00 |
|
terrafrost
|
bc457521f1
|
Tests: update for 2.0 branch
|
2022-01-08 16:36:47 -06:00 |
|
terrafrost
|
d2994dafe1
|
Merge branch '1.0' into 2.0
|
2022-01-08 16:36:21 -06:00 |
|
terrafrost
|
9b587a87c0
|
Tests: add test for connecting to non-existant host
|
2022-01-08 16:35:57 -06:00 |
|
terrafrost
|
8c137a19e4
|
Tests/Salsa20: use stream[0..63] instead of xor-digest
|
2021-12-04 22:44:20 -06:00 |
|
terrafrost
|
4141799c02
|
Tests: fix issues with Salsa20 / ChaCha20 unit tests
|
2021-12-04 18:43:12 -06:00 |
|
terrafrost
|
35d8974ac1
|
Tests: ChaCha20 and Salsa20 unit tests weren't being ran
|
2021-12-04 16:27:52 -06:00 |
|
thephilosoft
|
aa88c5621b
|
fix: fix syntax errors in ChaCha20 and Salsa20 tests
|
2021-12-04 15:42:25 -06:00 |
|
terrafrost
|
dc3e7bda71
|
Tests/SFTP: PHP 8.1 error message changed
|
2021-11-29 07:23:49 -06:00 |
|
terrafrost
|
84295e2fc2
|
RSA/Keys/Raw: add support for private keys
|
2021-11-21 21:22:34 -06:00 |
|
terrafrost
|
ea0e71977e
|
Tests/EC: add a test showing phpseclib's immunity to an EC vuln
|
2021-11-21 10:34:15 -06:00 |
|
terrafrost
|
c4b571a588
|
EC: error out when scalar is out of range
|
2021-11-21 09:55:04 -06:00 |
|
terrafrost
|
01cdf396b2
|
Merge branch '2.0' into 3.0
|
2021-10-13 22:00:32 -05:00 |
|
terrafrost
|
3da069570c
|
Merge branch '1.0' into 2.0
|
2021-10-13 22:00:20 -05:00 |
|
terrafrost
|
30a9a1541c
|
Tests/SSH2: fix intermittently failing unit test
|
2021-10-13 21:03:54 -05:00 |
|
terrafrost
|
2ec8356121
|
Merge branch '2.0' into 3.0
|
2021-10-12 20:37:34 -05:00 |
|
terrafrost
|
a684f12065
|
Merge branch '1.0' into 2.0
|
2021-10-12 20:37:27 -05:00 |
|
terrafrost
|
6f8d12ffc7
|
Tests: tests were being skipped because their deps had no asserts
|
2021-10-12 20:35:38 -05: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
|
07423805ac
|
Merge branch '2.0' into 3.0
|
2021-06-12 07:58:20 -05:00 |
|
terrafrost
|
f5c4c19880
|
Tests/RSA: update unit test for 2.0
|
2021-06-12 07:12:59 -05:00 |
|
terrafrost
|
451ddf453c
|
Merge branch '1.0' into 2.0
|
2021-06-12 07:11:44 -05:00 |
|
terrafrost
|
c3560c2d4d
|
RSA: OAEP decryption didn't check labels correctly
|
2021-06-12 07:06:08 -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
|
0d9d1eedb1
|
Tests/EC: now that Parallels isn't running these plugins linger
|
2021-04-17 08:18:11 -05:00 |
|
terrafrost
|
5fccc4cada
|
fix bad merge
|
2021-04-17 07:36:50 -05:00 |
|
terrafrost
|
b44a59091a
|
Merge branch '2.0' into 3.0
|
2021-04-17 06:53:11 -05:00 |
|
terrafrost
|
c3aecf503e
|
Tests: updates now that parallels is not being used
|
2021-04-17 06:27:14 -05:00 |
|
terrafrost
|
d70abb9290
|
fix broken unit test
|
2021-04-03 17:13:19 -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
|
581fbdb671
|
CS adjustments
|
2021-04-03 16:41:10 -05:00 |
|
terrafrost
|
5fca2bcb7b
|
Tests/RSA: test requires sha256
|
2021-04-03 16:33:52 -05:00 |
|
terrafrost
|
7a5846ccee
|
Test/RSA: add test for "strict" PKCS1 sigs without NULLs
|
2021-04-03 16:18:31 -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
|
72264ff918
|
Tests/RSA: add unit test for raw keys
|
2021-02-03 20:00:56 -06:00 |
|
terrafrost
|
3d4767301c
|
X509: fix niche issue with computeKeyIdentifier
|
2021-01-25 12:17:36 -06:00 |
|
terrafrost
|
6499451d4b
|
Tests/RSA: adjustments for 2.0
|
2021-01-16 10:40:48 -06:00 |
|
terrafrost
|
8e7acd8842
|
Merge branch '1.0' into 2.0
|
2021-01-16 10:32:10 -06:00 |
|
Jan Slabon
|
e5a226f6be
|
Added support of keys with PSS algorithm-identifier
|
2021-01-16 10:31:56 -06: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
|
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
|
6470c492c5
|
Merge pull request #1574 from kylekatarnls/fix/unit-test-windows-compatibility
Allow tests to pass even on Windows with git core.autocrlf on
|
2021-01-12 10:27:40 -06:00 |
|
terrafrost
|
05d934c89f
|
RSA: improve identification of public / private PKCS1 / PKCS8 keys
|
2021-01-08 09:01:31 -06: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 |
|
terrafrost
|
9de5f3f8ed
|
X509: always parse the first cert of a bundle
|
2021-01-07 20:21:27 -06:00 |
|
Bastien Miclo
|
619253cdfb
|
Allow tests to pass even on Windows with git core.autocrlf on
|
2021-01-07 00:00:26 +01:00 |
|
Bastien Miclo
|
3d35690a0a
|
Allow to extend X509 extensions
|
2021-01-06 23:25:23 +01:00 |
|
David Prévot
|
5fd81cff55
|
ChaCha20 testsuite: tfix (missing quote)
|
2020-12-30 06:08:09 -06:00 |
|
Bastien Miclo
|
224abbc1f9
|
Show array-failure in load() method
|
2020-12-23 07:49:08 -06:00 |
|
terrafrost
|
5e1c890ac6
|
Tests: fix bad unit test
|
2020-12-19 01:14:06 -06:00 |
|
terrafrost
|
9637e25bf7
|
add unit test for resuming uploads
|
2020-12-18 21:34:21 -06:00 |
|
terrafrost
|
df22fa0487
|
add unit test for stream_select addition
|
2020-12-18 21:29:09 -06:00 |
|
terrafrost
|
c5d9534ada
|
fix bad merge
|
2020-12-13 00:57:30 -06:00 |
|
terrafrost
|
c25dff2ef0
|
Merge branch '2.0-class-rename' into 3.0-class-rename
|
2020-12-12 22:26:03 -06:00 |
|
terrafrost
|
360afd93c8
|
fix bad merge
|
2020-12-12 22:15:40 -06:00 |
|
terrafrost
|
0676524dfd
|
Merge branch '1.0-class-rename' into 2.0-class-rename
|
2020-12-12 21:41:10 -06:00 |
|
terrafrost
|
e6abc61f45
|
rm adding of dupe classes (they break annotations)
|
2020-12-12 21:39:58 -06:00 |
|
terrafrost
|
1a30cd862f
|
...
|
2020-12-12 20:13:42 -06:00 |
|
terrafrost
|
7237c0f803
|
fix bad merge
|
2020-12-12 19:34:38 -06:00 |
|
terrafrost
|
e4bf7b111a
|
Merge branch '2.0' into 3.0
|
2020-12-12 19:22:36 -06:00 |
|
terrafrost
|
185139f5c8
|
Merge branch '1.0' into 2.0
|
2020-12-12 17:39:38 -06:00 |
|
terrafrost
|
95432478c0
|
fix bad merge
|
2020-12-12 17:39:32 -06:00 |
|
terrafrost
|
245a84b57f
|
make unit tests pass without gnu parallel
|
2020-12-12 17:26:44 -06:00 |
|
terrafrost
|
5701295017
|
Merge branch '1.0' into 2.0
|
2020-12-12 17:13:41 -06:00 |
|
terrafrost
|
266f16816a
|
enable unit tests for PHP 8 / PHPUnit 9
|
2020-12-12 15:11:04 -06:00 |
|
terrafrost
|
dd5e7742ea
|
Merge branch '2.0' into 3.0
|
2020-11-02 19:54:32 -06:00 |
|
terrafrost
|
42b84143e7
|
Merge branch '1.0' into 2.0
|
2020-11-02 19:54:25 -06:00 |
|
terrafrost
|
d9196e4a83
|
X509: fix unit test for multi-cert pems
|
2020-11-02 19:54:11 -06:00 |
|
terrafrost
|
336fe5c8f8
|
Merge branch '2.0' into 3.0
|
2020-10-29 21:46:30 -05:00 |
|
terrafrost
|
a72e0e7456
|
Tests/X509: update unit test for 2.0 branch
|
2020-10-29 21:35:59 -05:00 |
|
terrafrost
|
da96fbd212
|
Merge branch '1.0' into 2.0
|
2020-10-29 21:35:41 -05:00 |
|
terrafrost
|
00c9edc058
|
X509: don't attempt to parse multi-cert PEMs
|
2020-10-29 21:30:01 -05:00 |
|
terrafrost
|
5983df848c
|
EC: add support for PKCS1 private keys with separate parameters
|
2020-09-19 08:36:09 -05:00 |
|
Liam Dennehy
|
a7fc232c63
|
getaddrinfo error message seems to be unstable, add tolerance to test
|
2020-08-01 02:28:56 -05:00 |
|
terrafrost
|
881fbd78ee
|
Hash: add __toString() method
|
2020-04-19 09:19:27 -05:00 |
|
terrafrost
|
7b5356bf86
|
RSA: add unit test for public key masquerading as private key
|
2020-03-29 23:12:52 -05:00 |
|
terrafrost
|
ddd5a08c5f
|
SSH2: update identifier to 3.0
|
2020-03-07 21:19:00 -06:00 |
|
terrafrost
|
6e55470431
|
Merge branch '2.0' into 3.0
|
2020-03-02 10:57:07 -06:00 |
|
terrafrost
|
0cdae704b6
|
Tests/X509: update unit test for 2.0
|
2020-03-02 10:34:52 -06:00 |
|
terrafrost
|
6f0e3d22d6
|
Merge branch '1.0' into 2.0
|
2020-03-02 10:34:06 -06:00 |
|
terrafrost
|
935fa407e3
|
ASN1: add unit test for malformed ASN1 strings
|
2020-03-02 10:03:02 -06:00 |
|
terrafrost
|
8dac275a03
|
SFTP: rm size() (we already have filesize())
|
2020-02-11 23:25:04 -06:00 |
|
terrafrost
|
db85a95af2
|
Tests/RSA: add unit test for exceptions
|
2020-01-19 02:17:43 -06:00 |
|