terrafrost
70c0a0ddf4
ASN1: correctly handle long tags
2019-05-26 03:18:06 -05:00
terrafrost
e793461543
ASN1: revamp how OIDs are handled
2019-05-01 09:17:53 -05:00
terrafrost
756b247446
SSH2: explain NET_SSH2_READ_NEXT in comments
2019-04-11 21:54:37 -05:00
terrafrost
b5b763b3f2
RSA: use hash_equals if available
2019-03-23 20:17:43 -05:00
terrafrost
f111bf94b6
SSH2: fix issue with reconnecting via ping()
2019-03-23 18:42:40 -05:00
Ulugbek Miniyarov
7c894b2b99
Fix x509 OpenSSL format when multiple OU's are present
...
When formatting DN in OpenSSL format Multiple Organizational Unit Names (OU) in certificates throw `PHP Notice: Undefined index: id-at-organizationalUnitName` and returned array only contains the last OU.
2019-03-09 18:42:42 -06:00
terrafrost
84e2329249
Hash: fix issues with the mode
2019-03-09 17:08:59 -06:00
terrafrost
ca76d3913f
RSA: protect against possible timing attacks during OAEP decryption
2019-03-08 07:27:04 -06:00
Zachery Stuart
a276c2b073
Call xml_parser_free and unset to avoid memory leaks
2019-03-04 08:15:08 -06:00
terrafrost
fce6063de6
SFTP: make it so get() can correctly handle out of order responses
2019-03-03 18:38:57 -06:00
terrafrost
fcfba38fc7
Crypt: avoid bogus IV errors in ECB mode
2019-02-10 17:18:40 -06:00
Alex Bouma
9a0a9a0096
Whitelist OID 1.3.6.1.4.1.11129.2.4.2
...
This OID is used in some intermediate certificates from the Dutch government and allows for parsing and saving/validating these certificates with phpseclib.
2019-02-05 23:30:55 -06:00
terrafrost
5b795c18ab
SCP: issue error if remote_file is empty in put() call
2019-01-27 17:03:53 -06:00
terrafrost
0f87a0e026
SSH2: CS adjustment
2019-01-20 09:39:12 -06:00
terrafrost
e5ff894d4b
SSH2: add missing constant
2019-01-20 09:12:43 -06:00
terrafrost
b0d63fbfb5
SSH2: ssh-rsa is sometimes incorrectly used instead of rsa-sha2-256
2019-01-16 21:15:11 -06:00
terrafrost
055d6097af
SSH2: more strictly adhere to RFC8332 for rsa-sha2-256/512
2019-01-15 23:41:49 -06:00
terrafrost
a9c0e2d430
SSH2: setTimeout(0) didn't work as intended
2018-12-16 11:44:58 -06:00
terrafrost
363ffc9cfd
System/SSH/Agent: CS adjustment
2018-12-01 23:10:54 -06:00
terrafrost
fbef6f009f
System/SSH/Agent: add parameter to constructor
2018-12-01 22:41:45 -06:00
terrafrost
8f2a0e6f0d
System/SSH/Agent: add support for rsa-sha2-256 / rsa-sha2-512
2018-11-22 20:47:15 -06:00
Sebastiaan Andeweg
396b9f1a0a
fix order of user_error() and bitmap reset
2018-11-11 16:04:30 +01:00
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