db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-1740) Change error message to indicate encryptionkey length to be atleast 16 characters instead of 8 characters
Date Tue, 21 Feb 2012 07:50:34 GMT

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

Mike Matrigali commented on DERBY-1740:
---------------------------------------

triaged for 10.9
                
> Change error message to indicate encryptionkey length to be atleast 16 characters instead
of 8 characters
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1740
>                 URL: https://issues.apache.org/jira/browse/DERBY-1740
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.0.2.0
>         Environment: Any
>            Reporter: Rajesh Kartha
>            Priority: Minor
>              Labels: derby_triage10_5_2, derby_triage10_9
>         Attachments: derby-1740-1a.diff
>
>
> While attempting to create a encrypted database with even key length of 14 characters,
it fails with the error message indicating the key length should be atleast 8 characters.
> --
> -- Attempt to encrypt using key of lenght 14
> --
> ij> connect 'jdbc:derby:adb;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=11223344556677';
> ERROR XJ041: Failed to create database 'adb', see the next exception for details.
> ERROR XBM01: Startup failed due to an exception. See next exception for details.
> ERROR XBCX2: Initializing cipher with a boot password that is too short. The password
must be at least 8 characters long.
> --
> --Requires 16 characters for the encryptionKey
> --
> ij> connect 'jdbc:derby:adb;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=1122334455667788';
> ij>

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

        

Mime
View raw message