<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/phpseclib/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/phpseclib/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 19 Nov 2014 14:33:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpseclib/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#4 Bad file role on Crypt_RSA</title><link>https://sourceforge.net/p/phpseclib/bugs/4/?limit=25#6915</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;See &lt;a href="https://github.com/phpseclib/phpseclib/pull/286" rel="nofollow"&gt;https://github.com/phpseclib/phpseclib/pull/286&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Wigginton</dc:creator><pubDate>Wed, 19 Nov 2014 14:33:03 -0000</pubDate><guid>https://sourceforge.net05189ae5657a2efedc84e81c998aead8ae0f6674</guid></item><item><title>#5 PEAR channel totally broken</title><link>https://sourceforge.net/p/phpseclib/bugs/5/?limit=25#9f5e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was able to install phpseclib/Net_SFTP just fine using the instructions at &lt;a href="http://phpseclib.sourceforge.net/pear.htm."&gt;http://phpseclib.sourceforge.net/pear.htm.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As for your point # 1:&lt;/p&gt;
&lt;p&gt;Here's the channel.xml file:&lt;/p&gt;

&amp;lt;channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd"&amp;gt;
    &amp;lt;name&amp;gt;phpseclib.sourceforge.net&amp;lt;/name&amp;gt;
    &amp;lt;summary&amp;gt;PHP Secure Communications Library PEAR channel&amp;lt;/summary&amp;gt;
    &amp;lt;suggestedalias&amp;gt;phpseclib&amp;lt;/suggestedalias&amp;gt;
    &amp;lt;servers&amp;gt;
        &amp;lt;primary&amp;gt;
            &amp;lt;rest&amp;gt;
                &amp;lt;baseurl type="REST1.0"&amp;gt;http://phpseclib.sourceforge.net//rest/&amp;lt;/baseurl&amp;gt;
                &amp;lt;baseurl type="REST1.1"&amp;gt;http://phpseclib.sourceforge.net//rest/&amp;lt;/baseurl&amp;gt;
                &amp;lt;baseurl type="REST1.2"&amp;gt;http://phpseclib.sourceforge.net//rest/&amp;lt;/baseurl&amp;gt;
                &amp;lt;baseurl type="REST1.3"&amp;gt;http://phpseclib.sourceforge.net//rest/&amp;lt;/baseurl&amp;gt;
            &amp;lt;/rest&amp;gt;
        &amp;lt;/primary&amp;gt;
    &amp;lt;/servers&amp;gt;
&amp;lt;/channel&amp;gt;

&lt;p&gt;I assume the URL you're talking about is &lt;a href="http://phpseclib.sourceforge.net//rest"&gt;http://phpseclib.sourceforge.net//rest/&lt;/a&gt; ? Because although you're not able to view the directory contents by visiting that URL it does exist as evidenced by this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://phpseclib.sourceforge.net//rest/p/packages.xml"&gt;http://phpseclib.sourceforge.net//rest/p/packages.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I could put a .htaccess there with "Options +Indexes" but you have not convinced me of it's necessity.&lt;/p&gt;
&lt;p&gt;As for your point # 2:&lt;/p&gt;
&lt;p&gt;wget &lt;a href="http://download.pear.php.net/package/Archive_Tar-1.3.13.tgz" rel="nofollow"&gt;http://download.pear.php.net/package/Archive_Tar-1.3.13.tgz&lt;/a&gt;&lt;br /&gt;
tar tf Archive_Tar-1.3.13.tgz&lt;/p&gt;
&lt;p&gt;That outputs this:&lt;/p&gt;
&lt;p&gt;package.xml&lt;br /&gt;
Archive_Tar-1.3.13/Archive/Tar.php&lt;br /&gt;
Archive_Tar-1.3.13/docs/Archive_Tar.txt&lt;/p&gt;
&lt;p&gt;As for your point # 3:&lt;/p&gt;
&lt;p&gt;From Archive_Tar's package.xml:&lt;/p&gt;
&lt;p&gt;&lt;dir name="/"&gt;&lt;br /&gt;
   &amp;lt;file baseinstalldir="/" md5sum="5abc21a68853f801a4ba7b6ff0918d5b" name="Archive/Tar.php" role="php"/&amp;gt;&lt;br /&gt;
   &amp;lt;file baseinstalldir="/" md5sum="2fb90f0be7089a45c09a0d1182792419" name="docs/Archive_Tar.txt" role="doc"/&amp;gt;&lt;br /&gt;
&lt;/dir&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So basically, phpseclib's PEAR channel behaves in the exact same way as php.net's PEAR channel. At least w.r.t. your #2 and #3 points. Does that mean you're going to open up bug reports against pear.php.net as well?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Wigginton</dc:creator><pubDate>Wed, 19 Nov 2014 14:22:45 -0000</pubDate><guid>https://sourceforge.net485e54286ea389e10435df7fb16b298a6d513d3a</guid></item><item><title>PEAR channel totally broken</title><link>https://sourceforge.net/p/phpseclib/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;1st/ &lt;a href="http://phpseclib.sourceforge.net/channel.xml"&gt;http://phpseclib.sourceforge.net/channel.xml&lt;/a&gt; contains URL to &lt;a href="http://phpseclib.sourceforge.org" rel="nofollow"&gt;http://phpseclib.sourceforge.org&lt;/a&gt; which doesn't exist.&lt;/p&gt;
&lt;p&gt;2nd/ packages are broken&lt;br /&gt;
$ tar tf Crypt_AES-0.3.6.tgz &lt;br /&gt;
/Crypt_AES-0.3.6/Crypt/AES.php&lt;br /&gt;
package.xml&lt;/p&gt;
&lt;p&gt;And in package.xml&lt;br /&gt;
    ...file baseinstalldir="Crypt" name="AES.php" role="php"...&lt;/p&gt;
&lt;p&gt;So pear expect Crypt_AES-0.3.6/AES.php which doesn't exists.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Remi COLLET</dc:creator><pubDate>Tue, 25 Feb 2014 13:22:59 -0000</pubDate><guid>https://sourceforge.net711ec56b6c5ce53b7ca7f05608d6926edfb53002</guid></item><item><title>Bad file role on Crypt_RSA</title><link>https://sourceforge.net/p/phpseclib/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When installed from PEAR channel, openssl.conf role is set to "php" when it's obviously a configuration file.&lt;/p&gt;
&lt;p&gt;Patch proposal (on &lt;a href="https://bugzilla.redhat.com/1047608" rel="nofollow"&gt;https://bugzilla.redhat.com/1047608&lt;/a&gt;)&lt;br /&gt;
&lt;a href="https://bugzilla.redhat.com/attachment.cgi?id=846562" rel="nofollow"&gt;https://bugzilla.redhat.com/attachment.cgi?id=846562&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This patch allow to find the file when executed from manual installation and when installed from pear channel.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Remi COLLET</dc:creator><pubDate>Tue, 07 Jan 2014 14:17:17 -0000</pubDate><guid>https://sourceforge.net14edf99b87c195acf0b826d6b71aa974e5253cbe</guid></item><item><title>SFTP can't delete directory</title><link>https://sourceforge.net/p/phpseclib/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can't delete directories over SFTP (0.2.2).&lt;br /&gt;
Can't even delete empty directories.&lt;br /&gt;
Can delete files ok.&lt;br /&gt;
Tried with and without trailing slash.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 27 Dec 2011 18:20:21 -0000</pubDate><guid>https://sourceforge.netddc5df9a19d5d89b0174d2339e8d28b79d109c4c</guid></item><item><title>SFTP delete not working</title><link>https://sourceforge.net/p/phpseclib/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm download version 0.2.1a , and try to call the SFTP::delete.&lt;/p&gt;
&lt;p&gt;I guess prob on NET/SFTP.php  at line:1173 &lt;br /&gt;
change variable $path to $remote_file, and delete working now.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 20 Oct 2010 09:33:12 -0000</pubDate><guid>https://sourceforge.net7ec92c0ab41a99fe6d3861327117f76c48f74f29</guid></item><item><title>PHP notice output during unserialization of Math_BigInteger</title><link>https://sourceforge.net/p/phpseclib/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tested with current CVS (version 1.31 of Math/BigInteger.php).&lt;/p&gt;
&lt;p&gt;If a Math_BigInteger with value 0 is serialized, the hex representation saved from __sleep() is empty. When this is fed back into the constructor by __wakeup() at unserialize time, we end up at some point getting a notice output trying to access the first character in the string.&lt;/p&gt;
&lt;p&gt;Since Crypt_RSA objects store a bigint 0 value, this hits anything that serializes Crypt_RSA objects.&lt;/p&gt;
&lt;p&gt;Example code:&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;/p&gt;
&lt;p&gt;error_reporting(E_ALL);&lt;br /&gt;
ini_set('display_errors', 1);&lt;/p&gt;
&lt;p&gt;require "Math/BigInteger.php";&lt;/p&gt;
&lt;p&gt;$zero = new Math_BigInteger();&lt;br /&gt;
print "Original: " . $zero-&amp;gt;toString() . "\n";&lt;/p&gt;
&lt;p&gt;$ser = serialize($zero);&lt;br /&gt;
print "Serialized: $ser\n";&lt;/p&gt;
&lt;p&gt;$zero2 = unserialize($ser);&lt;br /&gt;
print "Unserialized: " . $zero2-&amp;gt;toString() . "\n";&lt;/p&gt;
&lt;p&gt;Expected output:&lt;br /&gt;
$ php demo.php &lt;br /&gt;
Original: 0&lt;br /&gt;
Serialized: O:15:"Math_BigInteger":1:{s:3:"hex";s:0:"";}&lt;br /&gt;
Unserialized: 0&lt;/p&gt;
&lt;p&gt;Actual output:&lt;br /&gt;
$ php demo.php &lt;br /&gt;
Original: 0&lt;br /&gt;
Serialized: O:15:"Math_BigInteger":1:{s:3:"hex";s:0:"";}&lt;/p&gt;
&lt;p&gt;Notice: Uninitialized string offset: 0 in /home/brion/src/bigint/phpseclib/Math/BigInteger.php on line 354&lt;br /&gt;
Unserialized: 0&lt;/p&gt;
&lt;p&gt;Patch attached, avoids using the empty string when waking.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brion Vibber</dc:creator><pubDate>Mon, 22 Mar 2010 20:17:19 -0000</pubDate><guid>https://sourceforge.neta28d15bf6c62ba35841e14e97e78f4037f03fb25</guid></item></channel></rss>