liutec
8e1df6e3c3
Allow setting the terminal window size
2014-06-20 13:04:17 +03:00
terrafrost
03c315d546
SFTP: return $sftp object in unit tests
2014-06-19 23:57:32 -05:00
terrafrost
05baf7b73b
SFTP: fix unit test
2014-06-19 13:57:42 -05:00
terrafrost
366410e2e1
SFTP: syntax error in unit test
2014-06-19 10:42:20 -05:00
Andreas Fischer
709c7c4d48
Merge pull request #385 from bantu/a-random-change
...
Random: include the Crypt_* classes if they're available
* bantu/a-random-change:
phpseclib_is_includable() -> phpseclib_resolve_include_path()
Drop Net_SSH2::_is_includable() method.
Random: a few changes to the stream_resolve_include_path_function
Replace stream_resolve_include_path with phpseclib_is_includable.
Random: add explanatory comment
SSH2: replace _is_includable() with stream_resolve_include_path
Random: include the Crypt_* classes if they're available
2014-06-19 16:08:59 +02:00
terrafrost
f95bf8b10b
SFTP: add unit tests for symlinks
2014-06-19 09:00:23 -05:00
Andreas Fischer
66b17f4790
Merge pull request #387 from bantu/runkit-broken-php5.6beta4
...
runkit is currently not compatible with PHP 5.6.0 Beta 4
* bantu/runkit-broken-php5.6beta4:
runkit is currently not compatible with PHP 5.6.0 Beta 4
2014-06-19 15:49:58 +02:00
Andreas Fischer
db228c9224
runkit is currently not compatible with PHP 5.6.0 Beta 4
2014-06-19 15:36:55 +02:00
Andreas Fischer
fd65c55720
phpseclib_is_includable() -> phpseclib_resolve_include_path()
2014-06-19 14:57:09 +02:00
Andreas Fischer
1afbea613d
Drop Net_SSH2::_is_includable() method.
2014-06-18 23:41:26 +02:00
terrafrost
96ccca2817
Random: a few changes to the stream_resolve_include_path_function
2014-06-18 22:03:09 +02:00
terrafrost
a65b820b54
SFTP: add readlink and symlink functions
2014-06-18 11:34:50 -05:00
Andreas Fischer
9c90beaf82
Replace stream_resolve_include_path with phpseclib_is_includable.
2014-06-17 14:38:24 +02:00
Andreas Fischer
9716d9b7e5
Merge pull request #380 from terrafrost/server-host-key
...
SSH2: make it so you can verify server public host key without logging on
* terrafrost/server-host-key:
SSH2: rm redundant part of SSH2 unit test
SSH2: add unit test for getServerPublicHostKey
SSH2: make it so you can verify server public host key without logging on
2014-06-17 11:37:36 +02:00
terrafrost
2e06a14a8a
SSH2: rm redundant part of SSH2 unit test
2014-06-16 23:58:00 -05:00
terrafrost
bbce7c4762
SSH2: add unit test for getServerPublicHostKey
2014-06-16 18:54:26 -05:00
Andreas Fischer
f807d8799e
Merge pull request #370 from terrafrost/pkcs8
...
RSA: add support for PKCS8 encoded private keys
* terrafrost/pkcs8:
Crypt/Base: readability improvement
RSA: CS adjustments
RSA: rename PUBLIC_FORMAT_PKCS1_RAW -> PUBLIC_FORMAT_PKCS8
RSA: add PKCS8 unit tests
RSA: add support for saving encrypted PKCS8 keys
Crypt/Base: adjust default key size for pbkdf1
RSA: add support for loading PKCS8 encrypted private keys
Crypt/Base: add support for pbkdf1
RSA: add support for saving to PKCS8 (unencrypted)
2014-06-17 00:36:54 +02:00
Andreas Fischer
986b58ecb0
Merge pull request #381 from bantu/hhvm-parent-constructor-php4
...
HHVM does not like it when we call an non-existent parent constructor.
* bantu/hhvm-parent-constructor-php4:
HHVM does not like it when we call an non-existent parent constructor.
2014-06-16 22:53:43 +02:00
Andreas Fischer
b56c6a535e
HHVM does not like it when we call an non-existent parent constructor.
2014-06-16 22:18:19 +02:00
terrafrost
5f56781261
SSH2: make it so you can verify server public host key without logging on
2014-06-16 10:19:34 -05:00
Andreas Fischer
765154f54e
Merge pull request #378 from bantu/UselessOverridingMethod
...
Always correctly link to the constructor of Crypt_Base.
* bantu/UselessOverridingMethod:
Always correctly link to the constructor of Crypt_Base.
2014-06-16 17:03:51 +02:00
terrafrost
0bafe1e6c6
Crypt/Base: readability improvement
2014-06-16 09:57:04 -05:00
Andreas Fischer
088e31b6ea
Merge pull request #373 from terrafrost/another-random-change
...
BigInteger: make it so you can do $min->random($max)
* terrafrost/another-random-change:
BigInteger: one more change to the comments
BigInteger: update comments
BigInteger: unit test update
BigInteger: change argument names for random / randomPrime
BigInteger: fix unit tests
BigInteger: fix syntax error
BigInteger: make it so you can do $min->random($max)
2014-06-16 16:54:00 +02:00
terrafrost
82b5e02f06
Random: add explanatory comment
2014-06-16 09:53:55 -05:00
terrafrost
4401b7e21e
SSH2: replace _is_includable() with stream_resolve_include_path
2014-06-16 09:47:13 -05:00
Andreas Fischer
d38886c2a9
Always correctly link to the constructor of Crypt_Base.
2014-06-16 16:42:18 +02:00
terrafrost
638e6c78ec
Random: include the Crypt_* classes if they're available
...
also error out if none are available
2014-06-16 09:40:27 -05:00
Andreas Fischer
c05cfe4c10
Merge pull request #376 from bantu/UselessOverridingMethod
...
Remove unnecessary constructors.
* bantu/UselessOverridingMethod:
Remove unnecessary constructors.
2014-06-16 16:29:28 +02:00
Andreas Fischer
5cc024a3b5
Merge pull request #377 from terrafrost/rc4-changes
...
RC4: speedups
* terrafrost/rc4-changes:
RC4: speedups
2014-06-16 16:28:29 +02:00
terrafrost
4b9eb4af27
BigInteger: one more change to the comments
2014-06-16 09:23:34 -05:00
terrafrost
0938cba3c3
RC4: speedups
2014-06-16 09:19:14 -05:00
Andreas Fischer
91e78c2106
Remove unnecessary constructors.
2014-06-16 16:14:35 +02:00
terrafrost
0eb0ae7ff7
BigInteger: update comments
2014-06-16 09:09:26 -05:00
terrafrost
92e6b23528
BigInteger: unit test update
2014-06-15 12:13:56 -05:00
terrafrost
34a971d317
BigInteger: change argument names for random / randomPrime
2014-06-14 23:49:57 -05:00
terrafrost
281a8c669e
BigInteger: fix unit tests
2014-06-14 20:47:57 -05:00
terrafrost
f8f0bd44b7
BigInteger: fix syntax error
2014-06-14 19:20:05 -05:00
terrafrost
46166c7351
BigInteger: make it so you can do $min->random($max)
...
...and $min->randomPrime($max) as well
2014-06-14 14:07:33 -05:00
Andreas Fischer
8e07ebfd51
Merge pull request #371 from terrafrost/rc2
...
RC2: speed-ups and CS changes
* terrafrost/rc2:
RC2: speed-ups and CS changes
2014-06-13 23:49:53 +02:00
terrafrost
04d66db309
RC2: speed-ups and CS changes
2014-06-13 16:30:12 -05:00
terrafrost
d8b235141e
RSA: CS adjustments
2014-06-13 13:17:37 -05:00
terrafrost
83301097ea
RSA: rename PUBLIC_FORMAT_PKCS1_RAW -> PUBLIC_FORMAT_PKCS8
...
also make CRYPT_RSA_PUBLIC_FORMAT_PKCS8 the default format
2014-06-13 13:11:59 -05:00
terrafrost
4878f2a99b
RSA: add PKCS8 unit tests
2014-06-13 12:39:12 -05:00
terrafrost
4434d91f25
RSA: add support for saving encrypted PKCS8 keys
2014-06-13 11:43:32 -05:00
terrafrost
d474f56f60
Crypt/Base: adjust default key size for pbkdf1
2014-06-13 10:39:57 -05:00
terrafrost
abae026264
RSA: add support for loading PKCS8 encrypted private keys
2014-06-13 08:56:00 -05:00
terrafrost
21c6a15df3
Crypt/Base: add support for pbkdf1
2014-06-13 08:54:30 -05:00
terrafrost
0a5e26a648
RSA: add support for saving to PKCS8 (unencrypted)
2014-06-12 22:03:00 -05:00
Andreas Fischer
90bc07e292
Merge pull request #366 from terrafrost/rsa-format-change
...
RSA: slight adjustment to CRYPT_RSA_PUBLIC_FORMAT_PKCS1_RAW format
* terrafrost/rsa-format-change:
RSA: slight adjustment to CRYPT_RSA_PUBLIC_FORMAT_PKCS1_RAW format
2014-06-11 08:05:48 +02:00
Andreas Fischer
a39da4dba3
Merge pull request #367 from terrafrost/ssh-mac-algo
...
SSH2: make $mac_algorithms non-static
* terrafrost/ssh-mac-algo:
SSH2: make $mac_algorithms non-static
2014-06-11 07:48:57 +02:00