Commit Graph

4286 Commits

Author SHA1 Message Date
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
5f60f96487 File/ASN1/Maps: CS adjustments
these are mostly backported from PR#1754. the only modified files
from that PR are:

- RSAPrivateKey
- OtherPrimeInfo
2022-02-27 00:36:32 -06:00
terrafrost
f2e9dd993d ChaCha20: ignore coding standards 2022-02-19 17:33:15 -06:00
terrafrost
a0d06e5e81 CS adjustments 2022-02-19 17:19:08 -06:00
Jack Worman
ea9f6540f3 PSR12 fixes
PSR12 fixes
2022-02-19 17:06:13 -06:00
terrafrost
566d74b991 Merge branch '2.0' into 3.0 2022-02-18 01:47:58 -06:00
terrafrost
60b1e2cb18 Merge branch '1.0' into 2.0 2022-02-18 01:46:00 -06:00
terrafrost
7ce96d9337 Crypt/Base: sodium_increment uses the opposite endianness 2022-02-18 01:45:29 -06:00
terrafrost
c56d8525ef Strings: increment_str should return incremented value 2022-02-17 23:45:07 -06:00
terrafrost
b510af1cb5 Merge branch '2.0' into 3.0 2022-02-17 23:07:16 -06:00
terrafrost
7a0b96ecfa Merge branch '1.0' into 2.0 2022-02-17 23:00:53 -06:00
terrafrost
1ba024df94 Crypt/Base: use sodium_increment in _increment_str 2022-02-17 22:50:56 -06:00
terrafrost
97eea332c5 PuTTY: add support for saving PuTTY v3 keys 2022-02-17 22:24:46 -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
27f578797d XML Key loading tweaks 2022-02-14 23:20:29 -06:00
terrafrost
7d3dbccd72 DH/PKCS8: encryption options couldn't be set for PKCS8 private keys 2022-02-14 21:19:29 -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
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