terrafrost
12f70270cd
fix bad cherry pick
2016-08-04 01:06:52 -05:00
terrafrost
676c1982c7
fix bad merge
2016-08-04 01:04:00 -05:00
terrafrost
1a25aefa59
cherry-picking last commit added new file
2016-08-04 00:55:21 -05:00
klemens
dd23d91d41
spelling fixes
2016-08-04 00:47:52 -05:00
terrafrost
c547ee16c7
Merge branch '1.0' into 2.0
2016-08-04 00:31:15 -05:00
klemens
dca95ac662
spelling fixes
2016-08-04 00:19:27 -05:00
danogentili
7cf300984c
Added root, pow, max, min, loopforeach functions and tests.
2016-08-03 10:51:19 -04:00
terrafrost
d64599f799
Move _encodeLength and _decodeLength to Common\Functions\ASN1.php
2016-07-31 09:37:13 -05:00
terrafrost
c509909004
Organizational Revamp
...
- rename \phpseclib\Crypt\Base to \phpseclib\Crypt\Common\SymmetricKey
- create BlockCipher and StreamCipher to extend SymmetricKey
- replace _string_shift with \phpseclib\Common\Functions\Strings::shift
2016-07-30 22:18:06 -05:00
terrafrost
ec62e5d9f5
RSA: update PKCS1/8 comments
2016-07-28 22:14:37 -05:00
terrafrost
c12500cace
RSA: code cleanup
2016-07-28 13:08:47 -05:00
terrafrost
caa7eed299
Merge branch '2.0'
2016-07-28 11:00:33 -05:00
terrafrost
eff01fba0e
RSA: update phpdoc for 2.0 branch
2016-07-28 11:00:16 -05:00
terrafrost
61d0326bb6
Merge branch '1.0' into 2.0
2016-07-28 10:59:37 -05:00
terrafrost
b9f072bf03
RSA: phpdoc updates
2016-07-28 10:58:27 -05:00
terrafrost
a9bee37187
Merge branch '2.0'
2016-07-23 18:39:41 -05:00
terrafrost
dbdba0b7ef
Merge branch '1.0' into 2.0
2016-07-23 18:16:52 -05:00
terrafrost
dc7f7e4d85
ASN1: fix PHP Warning on PHP 7.1
2016-07-23 11:01:43 -05:00
terrafrost
d31c89a8ae
Merge branch '2.0'
2016-07-20 00:18:17 -05:00
terrafrost
6c0575f8db
ASN1: update code to use 2.0-style constants
2016-07-20 00:17:24 -05:00
terrafrost
7eb0712a01
Merge branch '2.0'
2016-07-19 23:52:15 -05:00
terrafrost
485b8e0463
Merge branch '1.0' into 2.0
2016-07-19 23:52:09 -05:00
terrafrost
d525aa66f2
ASN1: adjust ordering of SET OF values
2016-07-19 23:48:23 -05:00
terrafrost
f7585d99d1
Merge branch '2.0'
2016-07-10 13:22:09 -05:00
terrafrost
a21f3e5132
Merge branch '1.0' into 2.0
2016-07-10 13:22:03 -05:00
terrafrost
cb4a6df10c
SFTP: make symlink support relative target's
2016-07-10 13:11:24 -05:00
terrafrost
3c1985a619
Merge branch '2.0'
2016-07-10 12:56:12 -05:00
terrafrost
97f0b37bd5
Merge branch '1.0' into 2.0
2016-07-10 12:55:56 -05:00
terrafrost
7bc0e61c1d
SSH2: fix "Expected SSH_FXP_STATUS or ..." error
2016-06-29 00:30:28 -05:00
terrafrost
a490e06b48
Merge branch '2.0'
2016-06-26 20:43:33 -05:00
terrafrost
17a14eceb2
Merge branch '1.0' into 2.0
2016-06-26 20:34:15 -05:00
John Sterling
88ce26f8ca
Improve performance of File\X509->_mapInExtensions() for large arrays
...
This avoids passing array references by-value to is_array()
(which would trigger a copy) by refactoring _subArray() into
a separate is_array() check on a by-value var, and a separate
unchecked reference return.
2016-06-26 19:44:48 -05:00
John Sterling
a1e16797ca
Improve performance of File\ASN1->_decode_ber() for large data
...
This removes the use of _string_shift() which copies the (potentially large)
latter part of the input data repeatedly, in favor of maintaining a position var
and using string indexing or substr() to only copy the (relatively small)
current data as it is parsed.
2016-06-26 19:39:44 -05:00
terrafrost
c788ec574f
Hash: CS adjustment
2016-06-22 10:10:32 -05:00
terrafrost
fadefe5594
Merge branch '1.0' of https://github.com/terrafrost/phpseclib into 1.0
2016-06-22 09:57:11 -05:00
terrafrost
1e7bfe75b1
Tests/RSA: fix bad merge
2016-06-22 09:47:56 -05:00
terrafrost
4516227f13
Merge branch '2.0'
2016-06-21 22:55:33 -05:00
terrafrost
b08f17f514
Merge branch '1.0' into 2.0
2016-06-21 22:39:05 -05:00
andrewbelcher
dd754283bb
Fix zero salt length RSA signatures.
2016-06-21 22:33:47 -05:00
terrafrost
1c4fe6b5ba
Merge branch 'unsupported-hash-update'
2016-06-19 19:47:04 -05:00
terrafrost
15f0c3e5e6
Merge branch '2.0'
2016-06-19 19:45:08 -05:00
terrafrost
eeb65b2341
Merge branch '1.0' into 2.0
2016-06-19 19:45:00 -05:00
Mathieu Pipet
6c8affcf11
fixed sending stream resulting in a zero byte file
2016-06-19 19:44:06 -05:00
terrafrost
5b464a169a
Merge branch '2.0'
2016-06-19 10:54:43 -05:00
terrafrost
0121b45011
Merge branch '1.0' into 2.0
2016-06-19 10:53:45 -05:00
terrafrost
b6801c837c
X509: set parameter fields to null for CSR's / RSA
2016-06-19 10:53:20 -05:00
terrafrost
7bdb09c4bd
Merge branch '1.0' into 2.0
2016-06-18 23:29:33 -05:00
terrafrost
6ff421d354
BigInteger/RSA: don't compare openssl versions > 1.0
2016-06-18 23:28:33 -05:00
terrafrost
f815e43077
Merge branch '2.0'
2016-06-12 14:19:56 -05:00
terrafrost
a2e77a7728
Merge branch 'x509-constructed-dns-2.0' into 2.0
2016-06-12 14:19:39 -05:00
terrafrost
002a927746
Merge branch 'x509-constructed-dns' into 1.0
2016-06-12 14:19:08 -05:00
terrafrost
7a628c62b0
don't do phpinfo() check
2016-06-11 20:29:02 -05:00
terrafrost
68a09b8af0
SSH2: i incorrectly thought i had saved when i did git commit -a
2016-06-11 19:38:23 -05:00
terrafrost
2bae0c3881
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2016-06-11 19:17:15 -05:00
terrafrost
414b980b83
Merge branch '2.0'
2016-06-11 19:16:25 -05:00
terrafrost
8bb4592225
Merge branch 'stream-get-contents-1.0' into 2.0
2016-06-06 23:05:15 -05:00
terrafrost
a06ca1d212
Merge pull request #997 from DennisBirkholz/pull-change-defaults
...
Change default signature algorithm from SHA1 to SHA256
2016-06-05 11:35:48 -05:00
terrafrost
e64a55955f
Crypt/Base: trie -> true
2016-06-05 11:28:28 -05:00
Dennis Birkholz
18200131df
Change default signature algorithm from SHA1 to SHA256
2016-06-05 18:09:00 +02:00
terrafrost
fc2a7cef20
RSA: adjustments for master branch
2016-06-04 23:46:40 -05:00
terrafrost
39913e1248
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2016-06-04 22:58:32 -05:00
terrafrost
6b66c1cd52
Merge branch '2.0'
2016-06-04 22:56:55 -05:00
terrafrost
87040bc518
Merge branch '1.0' into 2.0
2016-06-04 22:56:49 -05:00
terrafrost
e2a0b701c7
remove a few calls to paragonie/constant_time_encoding
...
- Hex::decode('aabb') can be replaced with "\xaa\xbb"
- Hex::decode(sha1('...')) can be replaced with sha1('...', true)
2016-06-04 22:31:23 -05:00
terrafrost
2550301678
SSH2: use stream_get_* instead of fread() / fgets()
2016-05-23 00:46:41 -05:00
terrafrost
48fef11389
Merge branch 'cte'
2016-05-21 17:34:05 -05:00
Paragon Initiative Enterprises
adcbecae78
Use paragonie/constant_time_encoding
2016-05-21 12:57:53 -05:00
Paragon Initiative Enterprises
0e8fa93676
Use paragonie/constant_time_encoding
2016-05-12 16:28:40 -04:00
terrafrost
942d194d0a
RSA: don't attempt to use the CRT when zero value components exist
2016-05-09 13:46:28 -05:00
terrafrost
c784d9e1e5
reapply PR #931
2016-05-08 01:34:37 -05:00
terrafrost
1f138916fa
Merge branch '2.0'
2016-05-07 02:40:04 -05:00
terrafrost
a3d3dbd957
Merge branch '1.0' into 2.0
2016-05-07 02:39:17 -05:00
terrafrost
bf31e976c7
RSA: fix PHP4 compatability issue
2016-05-06 22:18:12 -05:00
terrafrost
43d68c6619
Merge branch '2.0'
2016-05-06 12:23:35 -05:00
terrafrost
700338beed
Merge branch '1.0' into 2.0
2016-05-06 11:58:07 -05:00
terrafrost
27d9bde6d2
Merge branch 'sftp_readable_writable-1.0' into 1.0
2016-05-06 11:55:50 -05:00
terrafrost
1b92fd84f9
Merge branch '2.0'
2016-05-06 11:50:26 -05:00
terrafrost
c76b18b869
Merge branch '1.0' into 2.0
2016-05-06 11:50:15 -05:00
artyhedgehog
0dd04d1e9b
Fixed confusing SSH2::getErrors return type
2016-05-06 11:49:24 -05:00
terrafrost
e762b0dc29
SFTP: add is_writable, is_writeable and is_readable
2016-05-05 16:41:15 -05:00
terrafrost
e4c4824ddb
Hash: throw exceptions if hash isn't explicitly supported
2016-05-05 14:20:24 -05:00
terrafrost
305dc1967a
Tests/X509: fix bad merge
2016-05-04 00:16:08 -05:00
terrafrost
538b48c346
Merge branch 'x509-constructed-dns' into x509-constructed-dns-2.0
2016-05-03 20:06:48 -05:00
terrafrost
52a7aee1f5
X509: add support for constructed DNs and non-strict DN checks
2016-05-03 18:22:53 -05:00
terrafrost
8fb4c3363d
undo merging of master to 2.0 branch
2016-04-28 15:34:10 -05:00
terrafrost
a521bd405f
Merge branch '1.0' of https://github.com/phpseclib/phpseclib into 1.0
2016-04-28 10:29:11 -05:00
terrafrost
e40d6cc1cc
Hash: small tweaks per Joey3000
2016-04-12 11:32:40 -05:00
terrafrost
b3171cc63f
SFTP: fix logging constants
2016-04-11 19:30:45 -05:00
terrafrost
076c69fa1b
Merge branch '1.0' into 2.0
2016-04-11 15:18:50 -05:00
terrafrost
d22bcd63cc
SFTP: nlist() on a non-existent directory resulted in error
2016-04-11 15:18:06 -05:00
terrafrost
ceb6dc0255
System/SSH/Agent: fix namespacing on BadConfigurationException
2016-04-10 11:48:08 -05:00
terrafrost
324a973ec1
Merge branch '2.0'
2016-04-10 11:39:55 -05:00
terrafrost
4e4397afc9
Merge branch '1.0' into 2.0
2016-04-10 11:38:03 -05:00
terrafrost
b4cf10fc94
Revert "Merge branch '2.0'"
...
This reverts commit be5f4ef6b19c82f6c898708cc8e1828b05e3d4e8, reversing
changes made to 638fe6971c
.
2016-04-10 11:30:59 -05:00
terrafrost
2cc5dcdc89
Merge branch '2.0'
2016-04-10 11:30:34 -05:00
terrafrost
4b69dcb1ca
Revert "Merge remote-tracking branch 'bantu/bootstrap'"
...
This reverts commit ef04c870e9
, reversing
changes made to cd57bf31ae
.
2016-04-10 11:25:31 -05:00
terrafrost
6a97ddfa72
SSH/Agent: if comment is empty don't include it
2016-04-10 10:58:49 -05:00
terrafrost
638fe6971c
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2016-04-10 10:18:49 -05:00
terrafrost
7dffbfde04
RSA/OpenSSH: savePublicKey() method should have been static
2016-04-10 10:18:15 -05:00
terrafrost
c46e8aeec6
Bootstrap: CS adjustments
2016-04-09 18:06:01 -05:00