You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/12/14 10:12:21 UTC

[jira] Created: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

[classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
------------------------------------------------------------------------

                 Key: HARMONY-2678
                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


Here is a testcase:
 public void test_algorithmParameters_getInstance() throws Exception
    {
        assertNotNull(AlgorithmParameters.getInstance("OAEP"));
    }

RI passes.
Harmony fails.

It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2678?page=all ]

Leo Li updated HARMONY-2678:
----------------------------

    Attachment: patch-remove_signed.diff

Hi Stepan:
     That is OK.
      But I missed to remove the "signed" from the name of the bouncy castle jar. Could you help to apply the additional patch to fix it?:)
     Thank you.

Leo

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip, patch-remove_signed.diff
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484076 ] 

Leo Li commented on HARMONY-2678:
---------------------------------

Hi, Stepan:
      Sorry for the delay.
      Verified. Thank you.

Good luck.
Leo.

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip, patch-remove_signed.diff
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2678?page=all ]

Stepan Mishura updated HARMONY-2678:
------------------------------------

    Component/s: Classlib

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2678?page=all ]

Stepan Mishura reassigned HARMONY-2678:
---------------------------------------

    Assignee: Stepan Mishura

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura closed HARMONY-2678.
-----------------------------------


Verified by Leo.

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip, patch-remove_signed.diff
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2678?page=all ]

Leo Li updated HARMONY-2678:
----------------------------

    Attachment: patch-2678.zip

In this patch depends.properties is modified in order to get the bouncy castle jars for jdk1.5.

Will somebody try this?

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Attachments: patch-2678.zip
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2678?page=comments#action_12459186 ] 
            
Stepan Mishura commented on HARMONY-2678:
-----------------------------------------

Hi Leo,

I've applied your patch for upgrading version of Bounce Castle provider at r488123. However I've not applied patch for the test. I'm not quite sure that we should test functionality that provided by 'security provider'. I'm going to collect all similar issues and raise this question on harmony-dev.

Thanks,
Stepan.

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2678?page=comments#action_12459537 ] 
            
Stepan Mishura commented on HARMONY-2678:
-----------------------------------------

Leo, thanks for the patch - applied at r488522.


> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip, patch-remove_signed.diff
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-2678) [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura resolved HARMONY-2678.
-------------------------------------

    Resolution: Fixed

Leo, I've added test to SECURITY module at r497742. I think the issue can be closed.

> [classlib][security]AlgorithmParameters fails to getInstance from "OAEP"
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2678
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2678
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2678.zip, patch-remove_signed.diff
>
>
> Here is a testcase:
>  public void test_algorithmParameters_getInstance() throws Exception
>     {
>         assertNotNull(AlgorithmParameters.getInstance("OAEP"));
>     }
> RI passes.
> Harmony fails.
> It seems that there is no org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.class, but another three classes seeming related:
> RSAESOAEPparams.class, OAEPEncoding.class and JCERSACipher$OAEPPadding.class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira