Commit Graph

295 Commits

Author SHA1 Message Date
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
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
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
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
72264ff918 Tests/RSA: add unit test for raw keys 2021-02-03 20:00:56 -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
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
Bastien Miclo
619253cdfb
Allow tests to pass even on Windows with git core.autocrlf on 2021-01-07 00:00:26 +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
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
95432478c0 fix bad merge 2020-12-12 17:39:32 -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
5983df848c EC: add support for PKCS1 private keys with separate parameters 2020-09-19 08:36:09 -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
db85a95af2 Tests/RSA: add unit test for exceptions 2020-01-19 02:17:43 -06:00
terrafrost
2b28c3814b Keys/PuTTY: better support RFC4716 keys 2020-01-19 02:09:39 -06:00
terrafrost
b65bad4a1d Tests/RSA: add unit test for PuTTY public keys 2020-01-18 21:58:48 -06:00
terrafrost
a485e85ba5 Tests/RSA: add additional assert for MSBLOBs 2020-01-18 17:31:34 -06:00
terrafrost
3ba5902046 RSA / X509: misc fixes (mostly related to PSS) 2020-01-04 16:26:55 -06:00
terrafrost
15c8cc6810 update unit test to account for newly added null byte 2019-12-17 22:01:42 -06:00