Package: php-phpseclib / 2.0.30-2+deb11u2

Metadata

Package Version Patches format
php-phpseclib 2.0.30-2+deb11u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Use homemade autoload.php.patch | (download)

phpseclib/Crypt/AES.php | 2 1 + 1 - 0 !
phpseclib/Crypt/Blowfish.php | 2 1 + 1 - 0 !
phpseclib/Crypt/DES.php | 2 1 + 1 - 0 !
phpseclib/Crypt/Hash.php | 2 1 + 1 - 0 !
phpseclib/Crypt/RC2.php | 2 1 + 1 - 0 !
phpseclib/Crypt/RC4.php | 2 1 + 1 - 0 !
phpseclib/Crypt/RSA.php | 4 2 + 2 - 0 !
phpseclib/Crypt/Random.php | 2 1 + 1 - 0 !
phpseclib/Crypt/Rijndael.php | 2 1 + 1 - 0 !
phpseclib/Crypt/TripleDES.php | 2 1 + 1 - 0 !
phpseclib/Crypt/Twofish.php | 2 1 + 1 - 0 !
phpseclib/Net/SCP.php | 2 1 + 1 - 0 !
phpseclib/Net/SFTP.php | 2 1 + 1 - 0 !
phpseclib/Net/SSH1.php | 4 2 + 2 - 0 !
phpseclib/Net/SSH2.php | 4 2 + 2 - 0 !
phpseclib/System/SSH/Agent.php | 2 1 + 1 - 0 !
16 files changed, 19 insertions(+), 19 deletions(-)

 use homemade autoload.php

0003 phpcbf run.patch | (download)

tests/Functional/Net/SCPSSH2UserStoryTest.php | 6 3 + 3 - 0 !
tests/Functional/Net/SFTPUserStoryTest.php | 8 4 + 4 - 0 !
2 files changed, 7 insertions(+), 7 deletions(-)

 phpcbf run

0004 Drop test failing on pbuilder.patch | (download)

tests/Unit/File/X509/X509Test.php | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 drop test failing on pbuilder

To be investigated

0005 Compatibility with recent PHPUnit 8.patch | (download)

tests/Functional/Net/SCPSSH2UserStoryTest.php | 2 1 + 1 - 0 !
tests/Functional/Net/SFTPLargeFileTest.php | 2 1 + 1 - 0 !
tests/Functional/Net/SFTPStreamTest.php | 2 1 + 1 - 0 !
tests/Functional/Net/SFTPTestCase.php | 4 2 + 2 - 0 !
tests/Functional/Net/SFTPUserStoryTest.php | 2 1 + 1 - 0 !
tests/Functional/Net/SSH2AgentTest.php | 2 1 + 1 - 0 !
tests/PhpseclibFunctionalTestCase.php | 2 1 + 1 - 0 !
tests/PhpseclibTestCase.php | 10 5 + 5 - 0 !
tests/Unit/Crypt/AES/McryptTest.php | 2 1 + 1 - 0 !
tests/Unit/Crypt/AES/OpenSSLTest.php | 2 1 + 1 - 0 !
tests/Unit/Crypt/AES/PurePHPTest.php | 2 1 + 1 - 0 !
tests/Unit/Crypt/Hash/SHA256_96Test.php | 4 0 + 4 - 0 !
tests/Unit/Crypt/Hash/SHA512_96Test.php | 4 0 + 4 - 0 !
tests/Unit/Crypt/Hash/TestCase.php | 4 2 + 2 - 0 !
tests/Unit/Math/BigInteger/BCMathTest.php | 2 1 + 1 - 0 !
tests/Unit/Math/BigInteger/GMPTest.php | 2 1 + 1 - 0 !
tests/Unit/Math/BigInteger/InternalOpenSSLTest.php | 2 1 + 1 - 0 !
tests/Unit/Math/BigInteger/InternalTest.php | 2 1 + 1 - 0 !
tests/Unit/Math/BigInteger/TestCase.php | 2 1 + 1 - 0 !
19 files changed, 23 insertions(+), 31 deletions(-)

 compatibility with recent phpunit (8)


0005 Adapt to recent version of PHPUnit 9.patch | (download)

tests/Unit/Net/SSH2UnitTest.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adapt to recent version of phpunit (9)


0006 ASN1 don t allow last octet in OID to have MSB set.patch | (download)

phpseclib/File/ASN1.php | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 asn1: don't allow last octet in oid to have msb set

0007 ASN1 tweaks to tag decoding.patch | (download)

phpseclib/File/ASN1.php | 13 10 + 3 - 0 !
1 file changed, 10 insertions(+), 3 deletions(-)

 asn1: tweaks to tag decoding

0008 ASN1 uncomment out extra validation code.patch | (download)

phpseclib/File/ASN1.php | 30 15 + 15 - 0 !
1 file changed, 15 insertions(+), 15 deletions(-)

 asn1: uncomment out extra validation code

0009 Tests ASN1 add test for null garbage bytes.patch | (download)

tests/Unit/File/ASN1Test.php | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 tests/asn1: add test for null garbage bytes

0010 Tests ASN1 add test for OID garbage bytes.patch | (download)

tests/Unit/File/ASN1Test.php | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 tests/asn1: add test for oid garbage bytes

0011 ASN1 make sure constructed bit is what it ought to b.patch | (download)

phpseclib/File/ASN1.php | 19 17 + 2 - 0 !
1 file changed, 17 insertions(+), 2 deletions(-)

 asn1: make sure constructed bit is what it ought to be

0012 Tests ASN1 update unit tests to work on 2.0 branch.patch | (download)

tests/Unit/File/ASN1Test.php | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 tests/asn1: update unit tests to work on 2.0 branch

0013 Tests ASN1 add tests for constructed mismatches.patch | (download)

tests/Unit/File/ASN1Test.php | 21 21 + 0 - 0 !
1 file changed, 21 insertions(+)

 tests/asn1: add tests for constructed mismatches

0014 Tests ASN1 test for bad tag.patch | (download)

tests/Unit/File/ASN1Test.php | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 tests/asn1: test for bad tag

0015 ASN1 fail when encountering unsupported tags.patch | (download)

phpseclib/File/ASN1.php | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 asn1: fail when encountering unsupported tags

0016 RSA support strict PKCS1 sigs without NULLs.patch | (download)

phpseclib/Crypt/RSA.php | 56 54 + 2 - 0 !
1 file changed, 54 insertions(+), 2 deletions(-)

 rsa: support "strict" pkcs1 sigs without nulls

0017 Test RSA add test for strict PKCS1 sigs without NULL.patch | (download)

tests/Unit/Crypt/RSA/ModeTest.php | 22 22 + 0 - 0 !
1 file changed, 22 insertions(+)

 test/rsa: add test for "strict" pkcs1 sigs without nulls

0018 RSA tweak to new validation method.patch | (download)

phpseclib/Crypt/RSA.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 rsa: tweak to new validation method

0019 fix broken unit test.patch | (download)

tests/Unit/Crypt/RSA/ModeTest.php | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix broken unit test

0020 RSA misc fixes for without NULL PKCS1 signature vali.patch | (download)

phpseclib/Crypt/RSA.php | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 rsa: misc fixes for 'without null' pkcs1 signature validation

0021 RSA fix for PHP8.patch | (download)

phpseclib/Crypt/RSA.php | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 rsa: fix for php8

0022 Support for continue auth methods.patch | (download)

phpseclib/Net/SSH2.php | 35 31 + 4 - 0 !
1 file changed, 31 insertions(+), 4 deletions(-)

 support for continue auth methods.

0023 SSH2 if logging in with rsa sha2 256 512 fails try s.patch | (download)

phpseclib/Net/SSH2.php | 29 27 + 2 - 0 !
1 file changed, 27 insertions(+), 2 deletions(-)

 ssh2: if logging in with rsa-sha2-256/512 fails, try ssh-rsa

0024 backport enhancements from the 2.0 branch.patch | (download)

phpseclib/Net/SSH2.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 backport enhancements from the 2.0 branch

0025 SSH2 add support for RFC8308.patch | (download)

phpseclib/Net/SSH2.php | 45 44 + 1 - 0 !
1 file changed, 44 insertions(+), 1 deletion(-)

 ssh2: add support for rfc8308

0026 SSH2 implement terrapin attack countermeasures.patch | (download)

phpseclib/Net/SSH2.php | 24 23 + 1 - 0 !
1 file changed, 23 insertions(+), 1 deletion(-)

 ssh2: implement terrapin attack countermeasures

0027 phpcbf run.patch | (download)

phpseclib/Net/SSH2.php | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 phpcbf run

0028 BigInteger put guardrails on isPrime and randomPrime.patch | (download)

phpseclib/Math/BigInteger.php | 41 40 + 1 - 0 !
1 file changed, 40 insertions(+), 1 deletion(-)

 biginteger: put guardrails on isprime() and randomprime()

0029 BigInteger rm visibility modifiers from static varia.patch | (download)

phpseclib/Math/BigInteger.php | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 biginteger: rm visibility modifiers from static variables

the non static variables don't have privacy modifiers so idk that
the static ones ought to either. phpseclib 3.0 uses privacy
modifiers but not the 2.0 branch

0030 ASN1 limit OID length.patch | (download)

phpseclib/File/ASN1.php | 5 5 + 0 - 0 !
tests/Unit/File/ASN1/mal-cert-02.der | 6 6 + 0 - 0 !
tests/Unit/File/ASN1Test.php | 13 13 + 0 - 0 !
3 files changed, 24 insertions(+)

 asn1: limit oid length

0031 Tests updates for phpseclib 2.0.patch | (download)

tests/Unit/File/ASN1Test.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 tests: updates for phpseclib 2.0

0032 BigInteger phpseclib 2.0 updates.patch | (download)

phpseclib/Math/BigInteger.php | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 biginteger: phpseclib 2.0 updates

0033 BigInteger fix getLength.patch | (download)

phpseclib/Math/BigInteger.php | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 biginteger: fix getlength()