Commit Graph

685 Commits

Author SHA1 Message Date
terrafrost
fc5b4b332d CS adjustments 2024-12-04 08:39:06 -06:00
terrafrost
83978e6a91 Tests/CSR: update testNewCSR() test 2024-12-04 08:32:48 -06:00
terrafrost
2914a15d04 Tests/X509: add testRSACertWithECSDASig unit test 2024-12-04 07:17:56 -06:00
terrafrost
1d594b65e6 Tests: new CSR encoding broke another unit test 2024-09-30 05:00:58 -05:00
terrafrost
7ee9f87846 Tests: add unit test for attributes 2024-09-30 04:40:33 -05:00
Robert
c82594e222 Add DISCONNECT bitmap mask and use to prevent looping potential while disconnecting. Do not attempt disconnect packet send on closed socket. 2024-08-14 10:32:36 -04:00
terrafrost
67f87dd1e2 Tests/BigInteger: update bitwise_OR test 2024-08-11 10:47:47 -05:00
terrafrost
47895e2851
Merge pull request #2023 from rposky/ssh-default-socket-timeout
SSH2: Defer to default socket timeout in absence of more specific value
2024-08-05 10:59:09 -05:00
terrafrost
42ecb34430 CS adjustments 2024-08-03 11:47:18 -05:00
Robert
b94d55a734 Use the default socket timeout in absence of more specific user-defined value 2024-08-01 12:14:33 -04:00
terrafrost
6ad7c53bbf CS adjustments 2024-07-31 18:28:22 -05:00
terrafrost
a015cded00 fix issue creating IEEE signatures 2024-07-31 09:02:31 -05:00
Robert
c1e69ddb79 Remove use of master MessageType 2024-07-12 17:14:54 -04:00
Robert
e401ee05f5 Introduce buffering to send channel packet for capability to resume across timeout 2024-07-12 17:09:21 -04:00
Robert
c9eb03423f Correct unit test failures 2024-06-28 10:25:07 -04:00
Robert
71a9fc7915 Correction to stream timeout for keep alive, wait for time remaining in interval. Reflect total wait time on packet in logging. 2024-06-28 09:39:06 -04:00
Léon Melis
514b907ab0 Fix support for Ed448 private keys in PKCS#8 format 2024-05-21 17:03:21 +02:00
terrafrost
2689c727e7 BigInteger: EvalBarrett / Barrett could sometimes slow to a crawl 2024-05-01 15:12:04 -05:00
terrafrost
a922309855 BigInteger: optimize getLength() 2024-02-24 14:26:29 -06:00
terrafrost
baba459ca1 Tests: phpseclib 3.0 updates 2024-02-24 13:23:49 -06:00
terrafrost
0192fcc4aa Merge branch '2.0' into 3.0 2024-02-24 13:23:11 -06:00
terrafrost
e67c9dd555 Tests: phpseclib 2.0 updates 2024-02-24 13:16:21 -06:00
terrafrost
072ab45681 Merge branch '1.0' into 2.0 2024-02-24 13:15:33 -06:00
terrafrost
e32531001b ASN1: limit OID length 2024-02-24 13:07:01 -06:00
terrafrost
e17409a3e3 Tests: add unit test for EC pub key with excessively large integer 2024-02-24 08:42:27 -06:00
terrafrost
89f0d3c952 Tests: data providers need to be static 2024-02-07 21:15:15 -06:00
terrafrost
eafbc8a1a0 CS adjustment 2023-11-21 19:44:19 -06:00
terrafrost
964d78101a Math/BinaryField: fix for excessively large degrees 2023-11-21 19:10:46 -06:00
terrafrost
820ec76610 add unit test for PKCS8 RSA keys with DES encryption 2023-11-19 09:41:38 -06:00
terrafrost
80e82babe9 add unit test for PKCS8 RSA keys with RC2 / MD5 encryption 2023-11-12 08:50:59 -06:00
terrafrost
ecd2512a32 Tests: don't do echo in unit tests 2023-11-01 20:23:28 -05:00
terrafrost
90e3b38a29 Merge branch 'ieee' into 3.0 2023-11-01 19:48:32 -05:00
terrafrost
cd4c30e6d0 add test for prime field with prime numbers 2023-11-01 19:43:29 -05:00
terrafrost
0086be8af1 EC/Signature/Format: add new IEEE format 2023-11-01 19:19:07 -05:00
terrafrost
c5b4d08669 Merge branch '2.0' into 3.0 2023-09-25 10:56:47 -05:00
terrafrost
a0abd3507b Tests/X509: updates to work for 2.0 branch 2023-09-25 10:46:39 -05:00
terrafrost
abf482f73b Merge branch '1.0' into 2.0 2023-09-25 10:46:02 -05:00
terrafrost
6cd6e8ceab X509: fix for weird characters in subjaltname 2023-09-25 10:45:13 -05:00
terrafrost
eb456ee319 Tests/AES: rm test from 3.0 branch as 3.0 is super strict with size 2023-09-21 15:17:30 -05:00
terrafrost
1b954b7852 Merge branch '2.0' into 3.0 2023-09-21 15:16:45 -05:00
terrafrost
adc378bb69 Tests/Rijndael: update tests to work with 2.0 branch 2023-09-21 15:16:25 -05:00
terrafrost
d25f03be9a Merge branch '2.0' into 3.0 2023-09-21 15:10:42 -05:00
terrafrost
76e94055f4 Merge branch '1.0' into 2.0 2023-09-21 15:08:28 -05:00
terrafrost
b85ce73d17 AES: rm redundant setKey() method and fix setKeyLength() 2023-09-21 15:07:09 -05:00
terrafrost
426de8d5bf Tests: tweak unit test 2023-07-26 21:54:02 -05:00
terrafrost
69325956ce Tests: add test for garbage collected primefield 2023-07-26 21:23:08 -05:00
terrafrost
cf13741fbb i can't figure this unit test out 2023-07-09 00:31:08 -05:00
terrafrost
f418be845b RSA: setting sig padding broke enc padding and vice versa 2023-06-02 10:14:58 -05:00
terrafrost
184a984e97 SSH2: updates to openchannel refactoring 2023-04-14 18:01:20 -05:00
terrafrost
713cd7efb6 Tests/X509: fix malformed base64
base64_decode() handles it just fine but sodium_base642bin() doesn't

e5396968c5 fixed this in the 3.0 branch but not the 2.0 branch

it's an issue in the 2.0 branch because phpseclib2_compat uses the
phpseclib 2.0 unit tests to test a thin wrapper for phpseclib 3.0
2023-04-09 10:29:22 -05:00