You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2008/02/12 19:47:11 UTC

[jira] Commented: (DERBY-2821) emphasize that derby encryption only supports NoPadding option

    [ https://issues.apache.org/jira/browse/DERBY-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568278#action_12568278 ] 

Myrna van Lunteren commented on DERBY-2821:
-------------------------------------------

To reproduce do this:

java -Djava.security.manager -Djava.security.policy=bla.policy org.apache.derby.tools.sysinfo -cp SimpleApp.class

derbytools.jar (or the classes for it) and SimpleApp.class need to be in the classpath.
(you can replace SimpleApp.class for any other class existing in the classpath).
bla.policy does not need to exist

The issue is that the word 'class' in <trunk>/java/tools/org/apache/derby/loc/sysinfo*.properties message SIF01.V is unnecessary; the method(s) generating this error will correctly provide the object type (class) as the first parameter ({0}). 


> emphasize that derby encryption only supports NoPadding option
> --------------------------------------------------------------
>
>                 Key: DERBY-2821
>                 URL: https://issues.apache.org/jira/browse/DERBY-2821
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.2.2.0
>            Reporter: Mike Matrigali
>            Priority: Minor
>
> while doing support for a customer found that they had missed that Derby only supported the NoPadding option in encryption.   The existing section
> says so in the list of supported options, but there is a section on how to specify that points out allowed feedbackmodes but does not emphasize that
> only NoPadding is allowed.   I think the current documentation found at:
> http://db.apache.org/derby/manuals/develop/develop115.html
> Could be improved by adding to the following existing section:
> By Java convention, an encryption algorithm is specified like this:
> algorithmName/feedbackMode/padding
> The only feedback modes allowed are:
>     * CBC
>     * CFB
>     * ECB
>     * OCB
> By adding:
> The only padding modes allowed is:
>     * NoPadding

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