Commit Graph

4268 Commits

Author SHA1 Message Date
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
f1dec13c38 PKCS8: the parent class shouldn't be directly called 2022-02-14 20:09:33 -06:00
terrafrost
dc488f967f PKCS8: fix private key creation 2022-02-14 19:27:47 -06:00
terrafrost
f5858a6a1d Tests/RSA: add test for changing PKCS8 encryption parameters 2022-02-14 19:25:13 -06:00
terrafrost
91a674a781 RSA/PrivateKey: add comment to explain things 2022-02-14 17:59:41 -06:00
terrafrost
3460c70e3a Merge branch '2.0' into 3.0 2022-02-14 17:53:25 -06:00
terrafrost
6f19948091 Merge branch '1.0' into 2.0 2022-02-14 17:52:16 -06:00
terrafrost
f05091ca95 SSH2/Agent: backport fix from master branch 2022-02-14 17:51:53 -06:00
terrafrost
86c0007078 SFTP: backport fix from master 2022-02-14 17:42:49 -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
terrafrost
f96f3505a8 Hash: add support for keccak256 2022-02-08 20:34:17 -06:00
terrafrost
60edff77e6 EC: CS adjustment 2022-02-04 10:38:47 -06:00
terrafrost
dbe7daff1d
Merge pull request #1752 from Slamdunk/ec_sign_without_password
EC: decipher private key to generate signature
2022-02-04 10:36:23 -06:00
Filippo Tessarotto
e884929175
EC: decipher private key to generate signature 2022-02-04 10:15:39 +01:00
terrafrost
56973d40db SSH2: stop using more dynamic properties in SymmetricKey 2022-02-01 21:17:10 -06:00
Jack Worman
f900045772 updated contribution steps
updated contribution steps
2022-02-01 20:46:16 -06:00
Jack Worman
9b1c218664 psalm ci
psalm-ci

psalm-ci

psalm-ci
2022-02-01 20:45:53 -06:00
Jack Worman
ef66d9f7dd php-cs-fixer ci
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
ea3bee985c Merge branch '2.0' into 3.0 2022-02-01 07:01:19 -06:00
terrafrost
324f844e1e Merge branch '1.0' into 2.0 2022-02-01 07:01:12 -06:00
terrafrost
bd8f02906e add ChargeOver as a sponsor - thanks!! 2022-02-01 07:00:55 -06:00
terrafrost
d925e66677 Merge branch '1.0' into 3.0 2022-02-01 06:33:46 -06:00
terrafrost
54a5c4b064 Merge branch '1.0' into 2.0 2022-02-01 06:32:02 -06:00
terrafrost
4d66eeb6a4 Crypt/Base: fix CTR mode with continuous buffer with non-eval PHP 2022-02-01 06:31:09 -06:00
Jack Worman
5916c2bff8 Fixed risky tests 2022-01-31 09:53:36 -06:00
terrafrost
112ed0225f Merge branch '2.0' into 3.0 2022-01-30 10:26:49 -06:00
terrafrost
8a123550c5 Crypt/Base: code cleanup 2022-01-30 10:25:45 -06:00
terrafrost
1443ab7936 Merge branch '2.0' into 3.0 2022-01-30 02:50:05 -06:00
terrafrost
a975471263 CHANGELOG: add 2.0.36 release 2022-01-30 02:48:36 -06:00
terrafrost
3f2a5aa4cd SSH2: stop using dynamic properties in Hash 2022-01-30 01:52:31 -06:00
terrafrost
215fd61d12 SSHi2: stop using dynamic properties in SymmetricKey 2022-01-30 01:36:02 -06:00
Jack Worman
0a9fc99dc8 Un-qualifying global functions
Un-qualifying global functions
2022-01-30 01:19:16 -06:00
Jack Worman
e3b71763ae Fixed psalm level 6 errors in phpseclib/Net/ 2022-01-30 01:18:53 -06:00
terrafrost
57661764c5 Merge branch '2.0' into 3.0 2022-01-29 15:04:27 -06:00
terrafrost
1ba6c2cd79 Merge branch '1.0' into 2.0 2022-01-29 15:04:20 -06:00
terrafrost
e69380bfd1 BACKERS: add github sponsors >= $5.00 2022-01-29 15:04:02 -06:00
terrafrost
3d70b5ece8 SSH2: rm debug code 2022-01-29 11:38:19 -06:00
terrafrost
de4220c461 SSH2: CS adjustments 2022-01-29 11:35:38 -06:00
terrafrost
56ed69fbe7 fix bad merge 2022-01-29 09:15:01 -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
e6afe3e25f Merge branch '2.0' into 3.0 2022-01-28 00:54:53 -06:00
terrafrost
ef45ea7289 Merge branch '0.0' into 2.0 2022-01-28 00:52:05 -06:00
uzulla
ba4414c2f3 Fix: avoid warn when cast float to int in PHP7.1.
I got some error.

```
 Implicit conversion from float 992216.1102294922 to int loses precision

---

```
2022-01-28 00:44:44 -06:00
terrafrost
a748bf5bef SSH2: one more tweak to RSA signature verificatio 2022-01-27 18:26:08 -06:00
terrafrost
decbde4f5d SSH2: rsa-sha2-256 and rsa-sha2-512 sigs weren't verifying 2022-01-27 05:51:06 -06:00
Jack Worman
7c000843ab Corrected many @return annotations in phpseclib/Net
Corrected many @return annotations in phpseclib/Net
2022-01-23 11:00:41 -06:00
terrafrost
88e39a1d4b Merge branch '2.0' into 3.0 2022-01-15 20:19:38 -06:00
terrafrost
2c3f0121b2 Merge branch '1.0' into 2.0 2022-01-15 20:19:28 -06:00