Commit Graph

4344 Commits

Author SHA1 Message Date
terrafrost
d20e842a5e SFTP/Stream: make it so you can write past the end of a file 2021-02-21 18:41:28 -06:00
terrafrost
7c751ea006 CHANGELOG: add 3.0.5 release 2021-02-12 10:18:16 -06:00
terrafrost
8a028a001c CHANGELOG: add 3.0.4 release 2021-02-12 10:15:17 -06:00
terrafrost
55f23334cd loadPublic -> loadPublicKey; loadPrivate -> loadPrivateKey 2021-02-12 07:48:12 -06:00
terrafrost
052cb7d762 X509: add getCurrentCert method (since $currentCert is now private) 2021-02-10 08:26:58 -06:00
terrafrost
3bddf4d962 PublicKeyLoader: add loadPublic, loadPrivate and loadParameters 2021-02-08 23:44:24 -06:00
terrafrost
a18b86ae26 add mode to all block cipher examples 2021-02-04 01:06:14 -06:00
terrafrost
8797d76009 Merge branch '2.0' into 3.0 2021-02-03 20:02:29 -06:00
terrafrost
72264ff918 Tests/RSA: add unit test for raw keys 2021-02-03 20:00:56 -06:00
terrafrost
d096769654 Rijndael: calling setIV() after setBlockLength() can result in err 2021-02-02 20:21:56 -06:00
terrafrost
e9f79655db RSA: use OpenSSL for generating private keys 2021-01-28 09:49:15 -06:00
terrafrost
b49203d5b9 BigInteger: big speedups for when OpenSSL is used 2021-01-26 23:13:40 -06:00
terrafrost
85a844bab1 RSA: CS adjustments 2021-01-26 22:58:45 -06:00
terrafrost
845a2275e8 X509: CS adjustments 2021-01-25 13:02:05 -06:00
terrafrost
bdb6c08c35 misc docblock adjustments 2021-01-25 12:36:02 -06:00
terrafrost
1795b5df6a SSH/Agent: EC keys didn't work with agent 2021-01-25 12:21:14 -06:00
terrafrost
3d4767301c X509: fix niche issue with computeKeyIdentifier 2021-01-25 12:17:36 -06:00
Tomáš Procházka
e8b4e4d4df Allow newer versions of paragonie/random_compat
Allows to use version of paragonie/random_compat which is NOOP for PHP 7.0 or newer.
2021-01-19 08:26:31 -06:00
terrafrost
97a5a270e4 CHANGELOG: add 3.0.3 release 2021-01-16 11:35:19 -06:00
terrafrost
5bddb7b13f Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0 2021-01-16 10:58:00 -06:00
terrafrost
c203a4425e Merge branch '2.0' into 3.0 2021-01-16 10:41:30 -06:00
terrafrost
6499451d4b Tests/RSA: adjustments for 2.0 2021-01-16 10:40:48 -06:00
terrafrost
cdbb1236a7 Merge branch '2.0' into 3.0 2021-01-16 10:33:39 -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
c1b70c21cb RSA: the salt length isn't saved for new keys 2021-01-16 09:59:45 -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
57476bf304
Cleanup import 2021-01-14 16:18:07 +01:00
Bastien Miclo
e69049be5e
Add getRegisteredExtension() 2021-01-14 16:15:55 +01:00
terrafrost
5f8ca76d0f RSA: the salt length, if not specified, is the length of the hash 2021-01-14 08:11:53 -06:00
terrafrost
06cd62ae55 Merge branch 'rsa-exceptions' into 3.0 2021-01-14 03:10:59 -06:00
terrafrost
bfb49c06e8 RSA: throw exceptions instead of returning false 2021-01-13 12:08:23 -06:00
terrafrost
9b24cc87d0 Merge branch 'ssh-auth-alteration-2.0' into ssh-auth-alteration-3.0 2021-01-12 23:23:26 -06:00
terrafrost
2eae2989f4 SSH2: adjustments for 2.0 branch 2021-01-12 23:20:47 -06:00
terrafrost
dc7f8dafbc Merge branch 'ssh-auth-alteration-1.0' into ssh-auth-alteration-2.0 2021-01-12 23:18:16 -06:00
terrafrost
7f1b53fb67 SSH2: behave like putty with broken publickey auth 2021-01-12 23:12:19 -06:00
Simon Podlipsky
b82766486a Fix imports in PublicKeyLoader 2021-01-12 11:12:31 -06:00
terrafrost
fcf691124e
Merge pull request #1578 from kylekatarnls/fix/end-as-date-time
Allow to pass end date as DateTime
2021-01-12 10:31:24 -06:00
terrafrost
ee74b22c01
Merge pull request #1575 from kylekatarnls/fix/phpdoc
Fix encodeDER() PHPDoc
2021-01-12 10:28:33 -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
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
terrafrost
e14e9e92ca EC: use the correct case up front 2021-01-07 19:35:34 -06:00
Bastien Miclo
cce21f077f
Allow to pass end date as DateTime 2021-01-07 22:05:17 +01:00