Skip to content

Releases: phpseclib/phpseclib

3.0.16

05 Sep 18:04

Choose a tag to compare

  • SSH2: fix type hinting for keyboard_interactive_process (#1836)

3.0.15

02 Sep 17:08

Choose a tag to compare

  • PublicKeyLoader: add support for OpenSSH encrypted keys (#1737, #1733, #1531, #1490)
  • PublicKeyLoader: add support for JSON Web Keys (#1817)
  • SSH2: make login method return false under rare situation (#1790)
  • SSH2: fix possibly undefined variable error (#1802)
  • SFTP: fix enableDatePreservation bug w.r.t. mtime (#1670)
  • SFTP: try to delete dir even if it can't be opened (#1791)
  • SFTP: try without path canonicalization if initial realpath() fails (#1796)
  • SFTP: detect if stream metadata has wrapper_type set for put() method (#1792)
  • BigInteger: tweak to the phpinfo checks (#1726)
  • BigInteger: fix behavior on 32-bit PHP installs (#1820)
  • EC/PKCS8: OpenSSL didn't like phpseclib formed Ed25519 public keys (#1819)
  • don't use dynamic properties, which are deprecated in PHP 8.2 (#1808, #1822)
  • fix deprecated implicit float to int on 32-bit PHP 8.1

2.0.38

02 Sep 17:07

Choose a tag to compare

  • RSA: add support for OpenSSH encrypted keys (#1737, #1733, #1531, #1490)
  • SSH2: fix possibly undefined variable error (#1802)
  • SFTP: try to delete dir even if it can't be opened (#1791)
  • SFTP: try without path canonicalization if initial realpath() fails (#1796)
  • SFTP: detect if stream metadata has wrapper_type set for put() method (#1792)
  • BigInteger: fix behavior on 32-bit PHP installs (#1820)
  • don't use dynamic properties, which are deprecated in PHP 8.2 (#1808, #1822)
  • fix deprecated implicit float to int on 32-bit PHP 8.1

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