harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-629) [classlib][security] Passing invalid DSA spec size does not throw exception
Date Wed, 28 Jun 2006 05:35:30 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-629?page=comments#action_12418174 ] 

Stepan Mishura commented on HARMONY-629:
----------------------------------------

AlgorithmParameterGenerator is not aware which key size is valid for an algorithm. A DSA key
size may be multiple of 64 but it possible that it is not supported by an algorithm's provider.
So AlgorithmParameterGenerator only passes key size to an algorithm's provider and lets the
provider to decide whether the key size is valid or not. 

In our case it is up to BC provider whether to reject or not the provided key size.


> [classlib][security] Passing invalid DSA spec size does not throw exception
> ---------------------------------------------------------------------------
>
>          Key: HARMONY-629
>          URL: http://issues.apache.org/jira/browse/HARMONY-629
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Tim Ellison
>     Assignee: Stepan Mishura
>  Attachments: harmony-629.diff
>
> Passing in a required DSA key length that is not a multiple of 64 does not cause an exception.
> Patch to tests illustrating problem follows.

-- 
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


Mime
View raw message