Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22200 invoked from network); 9 Jul 2009 10:43:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jul 2009 10:43:29 -0000 Received: (qmail 50244 invoked by uid 500); 9 Jul 2009 10:43:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50162 invoked by uid 500); 9 Jul 2009 10:43:39 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50135 invoked by uid 99); 9 Jul 2009 10:43:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 10:43:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 10:43:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DB0B0234C004 for ; Thu, 9 Jul 2009 03:43:14 -0700 (PDT) Message-ID: <712931703.1247136194875.JavaMail.jira@brutus> Date: Thu, 9 Jul 2009 03:43:14 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1740) Change error message to indicate encryptionkey length to be atleast 16 characters instead of 8 characters In-Reply-To: <30131981.1156194673819.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-1740: -------------------------------------- Issue & fix info: [Repro attached] Urgency: Normal Triaged for 10.5.2. > 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 > 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. - You can reply to this email to add a comment to the issue online.