terrafrost
048635669e
Crypt/Base: create hmac object outside of while loop
2018-10-13 08:20:09 -05:00
terrafrost
f0f7350045
Crypt/Base: if derived key length is 0 or less use hash length
2018-10-13 08:10:34 -05:00
terrafrost
2d7aadc689
Hash: tweaks to hash pre-computation
2018-10-12 23:04:57 -05:00
terrafrost
685e0abcc6
Hash: save hashed keys for re-use
2018-10-12 21:18:23 -05:00
terrafrost
f2d92cd4b2
BigInteger: rm pear.php.net link
2018-10-08 07:35:36 -05:00
terrafrost
25c930cc40
SSH2: add ping() method
2018-10-06 01:19:14 -05:00
terrafrost
0c26415f93
SSH2: reset $this->bitmap when the connection fails
2018-10-05 21:27:59 -05:00
Michiel Brandenburg
b4e66d343e
Fixes #1296 parsing invalid certificate
2018-09-17 00:25:55 -05:00
terrafrost
f48d85ced9
SSH2: setEngine -> setPreferredEngine
2018-09-08 14:41:28 -05:00
terrafrost
bee6183bd7
SSH2: remove utf8_decode calls
2018-08-20 20:50:07 -05:00
terrafrost
f7f156b537
SFTP: use lstat in rawlist instead of stat
2018-08-18 15:02:42 -05:00
Dean Sas
426dbdbfcd
Ensure SFTP::rawlist gives same results regardless of statcache
...
Previously SFTP::rawlist gave different results depending on whether the
stat cache was enabled or not. With the stat cache turned off it did not
treat directories correctly, as it relied on the stat cache even though
it was not populated.
2018-08-18 08:36:16 -05:00
terrafrost
66f6d517da
X509: teak validateDate
2018-07-16 00:54:16 -05:00
terrafrost
39a0b652b3
SSH/Agent: add dummy setHash() method
2018-05-27 10:29:56 -05:00
terrafrost
b57976ec5f
SSH2: add support for rsa-sha2-256 / rsa-sha2-512 (RFC8332)
2018-05-27 09:48:44 -05:00
terrafrost
9b49d3c590
SSH2: fixes relating to delayed global requests
2018-05-19 07:45:44 -05:00
terrafrost
6bfca3df72
X509: CS adjustment
2018-04-14 23:41:00 -05:00
terrafrost
6dc7b3e6b9
ASN1: class is never set as key in _decode_ber
2018-04-14 23:39:05 -05:00
terrafrost
c63c223972
BigInteger: fix for (new BigInteger(48))->toString(true)
2018-04-09 23:47:38 -05:00
terrafrost
ea47574317
X509: add methods to enable / disable URL fetching
2018-03-03 13:42:17 -06:00
terrafrost
f5807e1d4e
X509: auto download intermediate certs
2018-03-02 12:53:15 -06:00
terrafrost
1468ef1a23
SFTP: fix issue with extended attribute on 64-bit PHP installs
2018-02-07 21:22:54 -06:00
terrafrost
92623daba8
BigInteger: fix issues with bitwise_xor
2018-01-22 00:38:42 -06:00
terrafrost
8aecafc92f
X509: fix 7.2 error when extensions were removed and new ones added
2018-01-21 12:36:49 -06:00
terrafrost
30a11a3951
SFTP: update state cache accordingly when file becomes directory
2018-01-01 13:07:45 -06:00
terrafrost
46b5bd413a
SSH2: more channel handling updates
2017-12-25 19:09:20 -06:00
terrafrost
c340d62548
Crypt: some of the minimum key lengths were off
2017-12-19 07:04:36 -06:00
terrafrost
354666c36d
Merge branch 'jude' into 1.0
2017-12-18 00:06:51 -06:00
terrafrost
6930560ae6
more adjustments for ARM CPU's
2017-12-17 14:52:43 -06:00
terrafrost
36e9992508
X509: serial numbers are biginteger's
2017-12-14 06:22:55 -06:00
terrafrost
247e969366
X509: simplify revised validation logic and add to CRL validation
2017-12-13 19:36:55 -06:00
mdelikat
d9195ea5bd
validateSignature if subjectKeyIdentifier is not set and check serial number if is set
2017-12-13 19:05:06 -06:00
terrafrost
b25681beeb
fix float to int conversions on ARM CPU's
2017-12-09 18:16:48 -06:00
terrafrost
ab5158dcd3
Random: return empty string if $length is 0
2017-12-03 22:39:01 -06:00
terrafrost
703f7840db
X509: use anonymous function in PHP >= 5.3.0
2017-12-03 15:55:58 -06:00
terrafrost
096289882a
Merge branch '1.0-is-prime' into 1.0
2017-11-23 10:25:28 -06:00
terrafrost
309fa0af44
SSH/SFTP: more adustments to channel handling
2017-11-23 09:31:34 -06:00
terrafrost
5ba61146e6
BigInteger: adjustment to isPrime
2017-11-22 19:49:55 -06:00
terrafrost
b50dde76f5
SSH2: update channel handling in a few more places
2017-11-11 23:08:08 -06:00
terrafrost
0afde6ea43
SSH2: updates to dealing with extraneous channel packets
2017-11-11 15:14:04 -06:00
Jude Rosario
3875d43cb4
Fix PHP 7 global variable rename
...
As described here http://php.net/manual/en/migration70.incompatible.php
2017-11-07 13:48:18 +05:30
terrafrost
ffcff461c4
X509: URL validation didn't work ( #1203 )
2017-11-05 11:36:41 -06:00
terrafrost
a7ebe7d39d
BigInteger: fix bitwise_not for 0
2017-10-05 05:37:42 -05:00
terrafrost
29fabaaa18
RSA: replace != with !$this->_equals
2017-10-05 05:31:19 -05:00
terrafrost
aeb8a98a25
Crypt/Base: fix version_compare call
2017-10-05 05:28:16 -05:00
terrafrost
042c8a9239
RC4: don't assume key is "\0" by default
2017-10-05 05:26:23 -05:00
terrafrost
98d46db7c5
Crypt/Base: use eval() instead of create_function() for >= 5.3
2017-10-04 17:03:14 -05:00
terrafrost
6f47ef808e
X509: fix issues when using datetime without a timezone set in ini
2017-09-30 22:54:33 +01:00
terrafrost
b6d0e37432
BigInteger: use gmp_import / gmp_export when available
2017-09-10 14:56:57 -05:00
terrafrost
e50d8ea51c
Merge branch '1.0' into ssh2-fix-multi-channel-1.0
2017-09-06 00:30:11 -05:00