CRYPT_RSA_PUBLIC_FORMAT_PKCS1_RAW and CRYPT_RSA_PUBLIC_FORMAT_PKCS1
produce two very similar looking keys but they are not the same.
As dissection OpenSSL's asn1parse would reveal CRYPT_RSA_PUBLIC_FORMAT_PKCS1
has the fact that it is an RSA key embedded within it whereas
CRYPT_RSA_PUBLIC_FORMAT_PKCS1_RAW does not. phpseclib now resolves
this ambiguity in the same way that OpenSSH's ssh-keygen does.
Despite this change CRYPT_RSA_PUBLIC_FORMAT_PKCS1_RAW is still incompatible
with OpenSSL's rsautl (CRYPT_RSA_PUBLIC_FORMAT_PKCS1 is compatible). I guess
this incompatibility isn't just due to the headers but is also due to the
overall structure of the format.
SFTP: add the ability for nlist() and rawlist() to be sorted
* terrafrost/sftp-sort2:
SFTP: update one last comment
SFTP: update unit test comments
SFTP: add new line to end of unit test
SFTP: assertEquals -> assertSame
SFTP: reset sort options every time and update unit test
SFTP: rm whitespace
SFTP: define $sortOptions
SFTP: add the ability for nlist() and rawlist() to be sorted
X509: add signSPKAC() and saveSPKAC() methods
* terrafrost/spkac:
X509: Unit test CS changes
X509: move location of SPKAC unit test
X509: CS adjustments
X509: PHP4 compat changes
RSA: PHP4 compat changes
X509: rm trailing white space from unit test
X509: add SPKAC unit test
X509: add signSPKAC() and saveSPKAC() methods
Scrutinizer CI code coverage
* bantu/scrutinizer-coverage:
Specify the runs option for external code coverage.
No Scrutinizer Code Coverage on HHVM either.
Extract into upload-code-coverage-scrutinizer.sh
Add -html suffix to existing code-coverage shell script.
Configure Scrutinizer CI to expect external code coverage data.
Upload clover.xml from Travis CI into Scrutinizer CI.
Produce a clover.xml code coverage file.
SFTP Stream changes
* terrafrost/sftp-stream-changes:
SFTP/Stream: fix capatilization
SFTP/Stream: add explanation as to why nlist() is used here
SFTP/Stream: use $scheme instead of 'sftp'
SSH2: make it so callback functions can make exec() return early
* terrafrost/ssh2-exec-callback-termination:
SSH2: 0x7FFFFFFF -> $this->window_size in one more place
SSH2: make it so callback functions can make exec() return early
Random: wrap crypt_random_string in a function_exists call
* terrafrost/crypt-random-string-function-exists:
Random: wrap crypt_random_string in a function_exists call