Skip to content

Releases: phpseclib/phpseclib

2.0.36

30 Jan 08:54
Compare
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
Compare
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 zlib@openssh.com 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)

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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • SSH2: add support for zlib and zlib@openssh.com 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
Compare
Choose a tag to compare
  • SSH2: add support for zlib and zlib@openssh.com 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
Compare
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)

2.0.33

16 Aug 04:27
Compare
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)

3.0.9

14 Jun 06:55
Compare
Choose a tag to compare
  • SSH2: add getAuthMethodsToContinue() method (#1648)
  • SSH2: timeout would occasionally infinitely loop
  • SSH2: fix PHP7.4 errors about accessing bool as string (#1656)
  • SSH2: fix issue with key re-exchange (#1644)
  • SFTP: reopen channel on channel closure (#1654)
  • X509: extra characters before cert weren't being removed (#1659)
  • X509: signing with pw protected PSS keys yielded errors (#1657)
  • ASN1: fix timezone issue when non-utc time is given (#1562)
  • ASN1: change how default values are processed for ints and enums (#1665)
  • RSA: OAEP decryption didn't check labels correctly (#1669)

2.0.32

14 Jun 06:46
Compare
Choose a tag to compare
  • SSH2: add getAuthMethodsToContinue() method (#1648)
  • SSH2: timeout would occasionally infinitely loop
  • SSH2: fix PHP7.4 errors about accessing bool as string (#1656)
  • SSH2: fix issue with key re-exchange (#1644)
  • SFTP: reopen channel on channel closure (#1654)
  • X509: extra characters before cert weren't being removed (#1659)
  • ASN1: fix timezone issue when non-utc time is given (#1562)
  • RSA: OAEP decryption didn't check labels correctly (#1669)