<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Crypt_RSA&amp;PHPSESSID=6sh8hov6085gl1gd4s43b0k8h0</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/15900" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7271" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7257" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7231" />
      <rdf:li rdf:resource="http://pear.php.net/bug/6984" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/15900">
      <title>Crypt_RSA: Bug 15900 [Open] Abnormal result after the decryption</title>
      <link>http://pear.php.net/bugs/15900</link>
      <content:encoded><![CDATA[<pre>Crypt_RSA Bug
Reported by foub12
2009-02-15T23:10:02+00:00
PHP: 5.2.0 OS: Windows XP Package Version: 

Description:
------------
      In my example, here are the keys generated by Cryot_RSA :

publicKey :
* exp = 65537
* mod = 269591262673059623598041158204757458369

privateKey :
* exp = 133065873704138619452937677773081243649
* mod = 269591262673059623598041158204757458369

If I encrypt the following messages : &quot;abc&quot; and &quot;OK&quot;, I get respectively : &quot;101359587981532728696079137059242763524&quot; and &quot;210161276781397745678118236955275625333&quot;.

After, if I decrypt the encrypt messages, I can't find the expected result but an empty string.

WHY ????

Thanks.
F.

Test script:
---------------
           

Expected result:
----------------
           

Actual result:
--------------</pre>]]></content:encoded>
      <description><![CDATA[<pre>Crypt_RSA Bug
Reported by foub12
2009-02-15T23:10:02+00:00
PHP: 5.2.0 OS: Windows XP Package Version: 

Description:
------------
      In my example, here are the keys generated by Cryot_RSA :

publicKey :
* exp = 65537
* mod = 269591262673059623598041158204757458369

privateKey :
* exp = 133065873704138619452937677773081243649
* mod = 269591262673059623598041158204757458369

If I encrypt the following messages : &quot;abc&quot; and &quot;OK&quot;, I get respectively : &quot;101359587981532728696079137059242763524&quot; and &quot;210161276781397745678118236955275625333&quot;.

After, if I decrypt the encrypt messages, I can't find the expected result but an empty string.

WHY ????

Thanks.
F.

Test script:
---------------
           

Expected result:
----------------
           

Actual result:
--------------</pre>]]></description>
      <dc:date>2009-02-15T23:10:02+00:00</dc:date>
      <dc:creator>fabien &amp;#x64;&amp;#111;&amp;#x74; perie &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Crypt_RSA Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7271">
      <title>Crypt_RSA: Bug 7271 [Assigned] fromString not returning PEAR_Error on error</title>
      <link>http://pear.php.net/bugs/7271</link>
      <content:encoded><![CDATA[<pre>Crypt_RSA Bug
Reported by jausions
2006-03-31T08:22:34+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
The Crypt_RSA_Key::fromString() method doesn't return a PEAR_Error object on error, which is the standard behavior expected in most PEAR package. Since the package has already been released as stable previously, this cannot be changed without causing a BC break.

Can you add a secondary method that would work in the same way as Crypt_RSA_Key::fromString() but return a PEAR_Error object on failure? I'm not sure what would be a good name for it though: fromString2(), import?

Again, I would provide a patch, but your code is not checking in PEAR's CVS server...</pre>]]></content:encoded>
      <description><![CDATA[<pre>Crypt_RSA Bug
Reported by jausions
2006-03-31T08:22:34+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
The Crypt_RSA_Key::fromString() method doesn't return a PEAR_Error object on error, which is the standard behavior expected in most PEAR package. Since the package has already been released as stable previously, this cannot be changed without causing a BC break.

Can you add a secondary method that would work in the same way as Crypt_RSA_Key::fromString() but return a PEAR_Error object on failure? I'm not sure what would be a good name for it though: fromString2(), import?

Again, I would provide a patch, but your code is not checking in PEAR's CVS server...</pre>]]></description>
      <dc:date>2009-01-05T03:31:42+00:00</dc:date>
      <dc:creator>jausions &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Crypt_RSA Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7257">
      <title>Crypt_RSA: Feature/Change Request 7257 [Open] PEM file encryption</title>
      <link>http://pear.php.net/bugs/7257</link>
      <content:encoded><![CDATA[<pre>Crypt_RSA Feature/Change Request
Reported by jausions
2006-03-30T00:47:19+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
With the addition of support of PEM file, the encryption of the key would be nice.

Here are some links:

- http://www.ietf.org/rfc/rfc1421.txt
- http://www.ietf.org/rfc/rfc1423.txt

Keywords: &quot;Proc-Type&quot; &quot;Dek-Info&quot; &quot;DES-EDE3-CBC&quot;

PEM file format may benefit to be spinned into its own package... just as with ASN.1...</pre>]]></content:encoded>
      <description><![CDATA[<pre>Crypt_RSA Feature/Change Request
Reported by jausions
2006-03-30T00:47:19+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
With the addition of support of PEM file, the encryption of the key would be nice.

Here are some links:

- http://www.ietf.org/rfc/rfc1421.txt
- http://www.ietf.org/rfc/rfc1423.txt

Keywords: &quot;Proc-Type&quot; &quot;Dek-Info&quot; &quot;DES-EDE3-CBC&quot;

PEM file format may benefit to be spinned into its own package... just as with ASN.1...</pre>]]></description>
      <dc:date>2006-03-30T00:47:19+00:00</dc:date>
      <dc:creator>jausions &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Crypt_RSA Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7231">
      <title>Crypt_RSA: Feature/Change Request 7231 [Open] OpenSSL backend</title>
      <link>http://pear.php.net/bugs/7231</link>
      <content:encoded><![CDATA[<pre>Crypt_RSA Feature/Change Request
Reported by jausions
2006-03-28T15:20:55+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
It would be good to add a OpenSSL backend if the extension is available. I wonder the performance difference between gmp and openSSL extensions...

Also, please, check the source into PEAR's CVS. It's currently impossible for people to help you with this package.

Thanks,

 -Philippe</pre>]]></content:encoded>
      <description><![CDATA[<pre>Crypt_RSA Feature/Change Request
Reported by jausions
2006-03-28T15:20:55+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
It would be good to add a OpenSSL backend if the extension is available. I wonder the performance difference between gmp and openSSL extensions...

Also, please, check the source into PEAR's CVS. It's currently impossible for people to help you with this package.

Thanks,

 -Philippe</pre>]]></description>
      <dc:date>2006-03-28T15:20:55+00:00</dc:date>
      <dc:creator>jausions &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Crypt_RSA Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/6984">
      <title>Crypt_RSA: Feature/Change Request 6984 [Open] Use of __FILE__ within require</title>
      <link>http://pear.php.net/bugs/6984</link>
      <content:encoded><![CDATA[<pre>Crypt_RSA Feature/Change Request
Reported by toggg
2006-03-01T15:56:22+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
We noticed there is no source control of the package. Please add it to the PEAR CVS.

Lines 109-116 of Crypt/RSA/MathLoader.php make use of dirname(__FILE__) :

[code]
        $class_name = 'Crypt_RSA_Math_' . $wrapper_name;
        $class_filename = dirname(__FILE__) . '/Math/' . $wrapper_name . '.php';

        if (!is_file($class_filename)) {
            $err_handler-&gt;pushError(&quot;can't find file [{$class_filename}] for RSA math wrapper [{$wrapper_name}]&quot;, CRYPT_RSA_ERROR_NO_FILE);
            return $err_handler-&gt;getLastError();
        }
        require_once($class_filename);
[/code]


A PEAR guideline is to seldom use this way of including files. Since it is required that PEAR Base directory be added to the include path you should be able to do otherwise than use dirname(__FILE__).

Please, consider you are killing the implementer ability to master it through h(er|is) include paths</pre>]]></content:encoded>
      <description><![CDATA[<pre>Crypt_RSA Feature/Change Request
Reported by toggg
2006-03-01T15:56:22+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.2.0b

Description:
------------
We noticed there is no source control of the package. Please add it to the PEAR CVS.

Lines 109-116 of Crypt/RSA/MathLoader.php make use of dirname(__FILE__) :

[code]
        $class_name = 'Crypt_RSA_Math_' . $wrapper_name;
        $class_filename = dirname(__FILE__) . '/Math/' . $wrapper_name . '.php';

        if (!is_file($class_filename)) {
            $err_handler-&gt;pushError(&quot;can't find file [{$class_filename}] for RSA math wrapper [{$wrapper_name}]&quot;, CRYPT_RSA_ERROR_NO_FILE);
            return $err_handler-&gt;getLastError();
        }
        require_once($class_filename);
[/code]


A PEAR guideline is to seldom use this way of including files. Since it is required that PEAR Base directory be added to the include path you should be able to do otherwise than use dirname(__FILE__).

Please, consider you are killing the implementer ability to master it through h(er|is) include paths</pre>]]></description>
      <dc:date>2006-03-01T15:56:22+00:00</dc:date>
      <dc:creator>bertrand &amp;#x61;&amp;#116; toggg &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Crypt_RSA Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
