Skip to content

Releases: phpseclib/phpseclib

3.0.14

04 Apr 05:21

Choose a tag to compare

  • PublicKeyLoader: add support for loading PuTTY v3 keys
  • Crypt/Base: fix CTR mode with continuous buffer with non-eval PHP
  • Crypt/Base: use sodium_increment in _increment_str for speed purposes
  • Crypt/Base: fix deprecation notice (#1770)
  • SSH2/Agent: rm unused parameter (#1757)
  • BigInteger: add precision to __debugInfo
  • BigInteger: fix random engine issues
  • call useBestEngine() when getEngine() is called

2.0.37

04 Apr 05:20

Choose a tag to compare

  • RSA: add support for loading PuTTY v3 keys
  • Crypt/Base: fix CTR mode with continuous buffer with non-eval PHP
  • Crypt/Base: use sodium_increment in _increment_str
  • Crypt/Base: fix deprecation notice (#1770)
  • SSH2/Agent: rm unused parameter (#1757)

3.0.13

30 Jan 08:55

Choose a tag to compare

  • SSH2: make login() return false if no valid auth methods are found (#1744)
  • SSH2: show a more helpful error message when logging in with pubkey (#1718)
  • SSH2: rsa-sha2-256 and rsa-sha2-512 sigs weren't verifying (#1743)
  • SFTP: fix chgrp() for version < 4 (#1730)
  • Crypt/Base: add OFB8 as a new mode (phpseclib/mcrypt_compat#33)
  • Crypt/Salsa20: fix PHP 5.6 error (#1717)
  • RSA & BigInteger: check phpinfo() available before using it (#1726)
  • Fixed psalm level 6 errors in phpseclib/Net/ (#1746)

2.0.36

30 Jan 08:54

Choose a tag to compare

  • SSH2: make login() return false if no valid auth methods are found (#1744)
  • SFTP: fix chgrp() for version < 4 (#1730)
  • Crypt/Base: add OFB8 as a new mode (phpseclib/mcrypt_compat#33)
  • RSA & BigInteger: check phpinfo() available before using it (#1726)

1.0.20

28 Dec 06:29

Choose a tag to compare

SFTP:

  • speed up uploads (by changing SFTP upload packet size from 4KB to 32KB)
  • add support for SFTPv4/5/6
  • add enableDatePreservation() / disableDatePreservation() (#1496)
  • uploads on low speed networks could get in infinite loop (#1507)
  • "fix" rare resource not closed error (#1510)
  • progress callback should report actual downloaded bytes (#1543)
  • add stream to get method (#1546)
  • fix undefined index notice in stream touch() (#1615)
  • digit only filenames were converted to integers by php (#1623)
  • Stream: make it so you can write past the end of a file (#1618)
  • reopen channel on channel closure (#1654)
  • don't check SFTP packet size after SFTP initialization (#1606)
  • return false if get_channel_packet returns false (#1678)
  • timeout during SFTP init should return false (#1684)
  • add option to allow arbitrary length packets (#1691)

SSH2:

  • add support for zlib and [email protected] compression
  • add "smart multi factor" login mode (enabled by default) (#1648)
  • don't try to login as none auth method for CoreFTP server (#1488)
  • when building algo list look at if crypto engine is set (#1500)
  • suppress 'broken pipe' errors (#1511)
  • add setKeepAlive() method (#1529)
  • behave like putty with broken publickey auth (#1572)
  • don't close channel on unexpected response to channel request (#1631)
  • add getAuthMethodsToContinue() method (#1648)
  • fix issue with key re-exchange (#1644)
  • fix PHP7.4 errors about accessing bool as string (#1656)
  • end connection faster for algorithm mismatch

X509:

  • really looong base64 encoded strings broke extractBER() (#1486)
  • only parse the first cert of a multi-cert PEMs (#1542, #1568)

ASN1:

  • fix timezone issue when non-utc time is given (#1562)
  • return false when not enough bytes are available (#1676)

RSA:

  • ssh-keygen -yf private.key fails if \r is present (#1698)
  • cleanup RSA PKCS#1 v1.5 signature verification (CVE-2021-30130)

BigInteger:

  • fix issue with toBits on 32-bit PHP 8 installs

Crypt/Base:

  • use a custom error handler for mcrypt

3.0.12

29 Nov 00:13

Choose a tag to compare

  • SSH2: add "smart multi factor" login mode (enabled by default) (#1648)
  • SSH2: error out when no data is received from the server (#1647)
  • SFTP: don't attempt to parse unsupported attributes (#1708)
  • SFTP: getSupportedVersions() call didn't work
  • EC: error out when scalar is out of range (#1712)
  • RSA: add support for raw private keys (#1711)
  • SymmetricKey: add getMode()

2.0.35

29 Nov 00:12

Choose a tag to compare

  • SSH2: add "smart multi factor" login mode (enabled by default) (#1648)
  • SSH2: error out when no data is received from the server (#1647)
  • SFTP: don't attempt to parse unsupported attributes (#1708)
  • SFTP: getSupportedVersions() call didn't work

3.0.11

27 Oct 03:06

Choose a tag to compare

  • SSH2: add support for zlib and [email protected] compression
  • SFTP: add support for SFTPv4/5/6
  • SFTP: add option to allow arbitrary length packets (#1691)
  • SFTP: errors weren't being logged (#1702)
  • RSA: ssh-keygen -yf private.key fails if \r is present (#1698)

2.0.34

27 Oct 03:06

Choose a tag to compare

  • SSH2: add support for zlib and [email protected] compression
  • SFTP: add support for SFTPv4/5/6
  • SFTP: add option to allow arbitrary length packets (#1691)
  • RSA: ssh-keygen -yf private.key fails if \r is present (#1698)

3.0.10

16 Aug 04:28

Choose a tag to compare

  • SFTP: don't check SFTP packet size after SFTP initialization (#1606)
  • SFTP: timeout during SFTP init should return false (#1684)
  • SFTP: return false if get_channel_packet returns false (#1678)
  • ASN1: return false when not enough bytes are available (#1676)
  • BigInteger: Serializable is being deprecated in PHP 8.1 (#1680)
  • explicitly define methods as being static (#1689)
  • plug memory leaks (#1672)