Commit Graph

2842 Commits

Author SHA1 Message Date
terrafrost
571e16af38 Merge branch '2.0' into 3.0 2022-05-06 14:26:30 -05:00
terrafrost
10a011de1d Merge branch '1.0' into 2.0 2022-05-06 14:26:24 -05:00
terrafrost
1dfd1b9cd4 SFTP: try to delete dir even if it can't be opened 2022-05-06 14:19:42 -05:00
terrafrost
3ce5d6f8c7 ASN1\Maps: CS adjustments 2022-05-04 07:03:47 -05:00
Jack Worman
8855351cbb Remove_@access 2022-05-04 01:35:56 -05:00
terrafrost
a965060d81 SSH2: make login method return false under rare situation 2022-05-04 01:18:33 -05:00
terrafrost
eabe4aa23f Merge branch '1.0' into 2.0 2022-04-26 09:02:46 -05:00
terrafrost
c22bf62ce1 BigInteger: tweak to the phpinfo checks 2022-04-26 08:54:19 -05:00
terrafrost
e700ac7561 SFTP: fix enableDatePreservation bug w.r.t. mtime 2022-04-14 11:48:49 -05:00
terrafrost
9a1e1caa90 EC / DSA: useBestEngine() needs to be called in getEngine() 2022-03-20 13:52:00 -05:00
terrafrost
301aad4764 RSA: conditionally call useBestEngine() when getEngine() is called 2022-03-20 11:30:24 -05:00
terrafrost
eb971aaaac BigInteger: fix deprecation notice 2022-03-18 12:47:40 -05:00
terrafrost
bf71ed9618 Merge branch '1.0' into 2.0 2022-03-18 11:13:26 -05:00
terrafrost
24ae493c10 Crypt/Base: fix deprecation notice 2022-03-18 11:05:49 -05:00
Jack Worman
0a69972571 Clean Up Tests 2022-03-15 18:49:38 -05:00
terrafrost
887cf97185 fix pslam error 2022-03-11 19:14:07 -06:00
terrafrost
f04a4e6fda fix error in PHP EvalBarrett Engine: 2022-03-11 18:38:01 -06:00
terrafrost
26d8f7a250 make it so BigIntegers can be JSON serialized 2022-03-10 20:26:46 -06:00
terrafrost
815aa23b39 BigInteger/Engines/BCMath: bcmod got a third param in PHP 7.2.0
the third parameter also isn't set in any other bcmod call and
isn't needed for bccomp anyway as
bccomp('0.000', '0') == bccomp('0', '0')
2022-03-10 05:24:30 -06:00
terrafrost
2f57517bad BigInteger/Engines/PHP: trim 0's when a precision is being used 2022-03-08 23:37:29 -06:00
terrafrost
824b232b47 BigInteger: add precision to __debugInfo 2022-03-08 20:53:18 -06:00
terrafrost
04e46cf656 CS adjustment 2022-03-03 17:44:41 -06:00
Jack Worman
9e321981a2 Psalm coverage for phpseclib3\Math\
Revert accidental change
2022-03-03 17:40:20 -06:00
Jack Worman
6bad45c016 Psalm coverage for phpseclib3\Math\ 2022-03-03 17:37:26 -06:00
Jack Worman
b6f93a4a21 Psalm coverage for phpseclib3\Math\
Psalm coverage for phpseclib3\Math\
2022-03-03 17:36:10 -06:00
Jack Worman
6f2db49696 Psalm coverage for phpseclib3\Math\
Psalm coverage for phpseclib3\Math\
2022-03-03 17:20:24 -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
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
91a674a781 RSA/PrivateKey: add comment to explain things 2022-02-14 17:59:41 -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