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 2007/10/10 05:51:50 UTC

[jira] Created: (HARMONY-4916) [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.

[classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
-------------------------------------------------------------------------------------

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


Here is an example:

        // Enfore that providers information has been loaded.
        Signature.getInstance("DSA");
        
        Locale defaultLocale = Locale.getDefault();
        try {
            Locale.setDefault(new Locale("tr"));
            Signature.getInstance("MD5withRSA");
        } finally {
            Locale.setDefault(defaultLocale);
        }

RI passes.
Harmony fails.

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


[jira] Closed: (HARMONY-4916) [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.

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

Leo Li closed HARMONY-4916.
---------------------------

    Resolution: Fixed

Patch applied at r585817.

Good luck!
Leo.

> [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4916
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>            Assignee: Leo Li
>
> Here is an example:
>         // Enfore that providers information has been loaded.
>         Signature.getInstance("DSA");
>         
>         Locale defaultLocale = Locale.getDefault();
>         try {
>             Locale.setDefault(new Locale("tr"));
>             Signature.getInstance("MD5withRSA");
>         } finally {
>             Locale.setDefault(defaultLocale);
>         }
> RI passes.
> Harmony fails.

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


[jira] Assigned: (HARMONY-4916) [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.

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

Leo Li reassigned HARMONY-4916:
-------------------------------

    Assignee: Leo Li

> [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4916
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>            Assignee: Leo Li
>
> Here is an example:
>         // Enfore that providers information has been loaded.
>         Signature.getInstance("DSA");
>         
>         Locale defaultLocale = Locale.getDefault();
>         try {
>             Locale.setDefault(new Locale("tr"));
>             Signature.getInstance("MD5withRSA");
>         } finally {
>             Locale.setDefault(defaultLocale);
>         }
> RI passes.
> Harmony fails.

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


[jira] Commented: (HARMONY-4916) [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.

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

Leo Li commented on HARMONY-4916:
---------------------------------

The problem here is that in Turkish Locale, some ASCII chars are converted as what are not expected. For example, the "MD5withRSA" is converted as "MD5W�0�2THRSA". Thus strings representing property/configuration/algorithm seems have to be manipulated as locale neutral.

Good luck!
Leo

> [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4916
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>
> Here is an example:
>         // Enfore that providers information has been loaded.
>         Signature.getInstance("DSA");
>         
>         Locale defaultLocale = Locale.getDefault();
>         try {
>             Locale.setDefault(new Locale("tr"));
>             Signature.getInstance("MD5withRSA");
>         } finally {
>             Locale.setDefault(defaultLocale);
>         }
> RI passes.
> Harmony fails.

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


[jira] Updated: (HARMONY-4916) [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.

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

Alexey Varlamov updated HARMONY-4916:
-------------------------------------

    Component/s: Classlib

> [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4916
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>
> Here is an example:
>         // Enfore that providers information has been loaded.
>         Signature.getInstance("DSA");
>         
>         Locale defaultLocale = Locale.getDefault();
>         try {
>             Locale.setDefault(new Locale("tr"));
>             Signature.getInstance("MD5withRSA");
>         } finally {
>             Locale.setDefault(defaultLocale);
>         }
> RI passes.
> Harmony fails.

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