Commit Graph

4786 Commits

Author SHA1 Message Date
Jack Worman
0a69972571 Clean Up Tests 2022-03-15 18:49:38 -05:00
terrafrost
57ad98e8bb Merge branch '3.0' 2022-03-12 21:15:36 -06: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
42853f2805 rm appveyor.yml 2022-03-09 00:46:46 -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
1c35df08dc Merge branch '3.0' 2022-03-08 20:53:33 -06:00
terrafrost
824b232b47 BigInteger: add precision to __debugInfo 2022-03-08 20:53:18 -06:00
terrafrost
b722a4f002 Merge branch '3.0' 2022-03-08 08:53:21 -06:00
Jack Worman
46758107de GitHub actions 2022-03-08 06:08:01 -06:00
terrafrost
963fd7368f Merge branch '3.0' 2022-03-03 17:49:36 -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
terrafrost
95aec3267d CS tweaks (Ssh -> SSH, Sftp -> SFTP) 2022-02-27 02:17:25 -06:00
terrafrost
6a6e80ba8f Merge branch '3.0' 2022-02-27 01:40:25 -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
120cdfb6e3 Merge branch '3.0' 2022-02-27 00:37:14 -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
004aec954f Merge branch '3.0' 2022-02-19 18:08:40 -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
87be41b0ee Merge branch '3.0' 2022-02-18 01:52:28 -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
28019bb8f8 Merge branch '3.0' 2022-02-17 23:07:24 -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
8d07631d81 Merge branch '3.0' 2022-02-17 22:27:58 -06:00
terrafrost
97eea332c5 PuTTY: add support for saving PuTTY v3 keys 2022-02-17 22:24:46 -06:00
terrafrost
7cbd239124 Merge branch '3.0' 2022-02-17 08:22:56 -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
b58f7dc4ac Merge branch '3.0' 2022-02-14 23:25:28 -06:00
terrafrost
27f578797d XML Key loading tweaks 2022-02-14 23:20:29 -06:00
terrafrost
e2f9d10660 Merge branch '3.0' 2022-02-14 21:19:59 -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
c1da7c5e8a Merge branch '3.0' 2022-02-14 20:14:14 -06:00
terrafrost
f1dec13c38 PKCS8: the parent class shouldn't be directly called 2022-02-14 20:09:33 -06:00
terrafrost
c233a385cc Merge branch '3.0' 2022-02-14 19:34:16 -06:00