Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 96495 invoked from network); 3 Jul 2009 16:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jul 2009 16:21:01 -0000 Received: (qmail 2800 invoked by uid 500); 3 Jul 2009 16:21:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2761 invoked by uid 500); 3 Jul 2009 16:21:11 -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 2717 invoked by uid 99); 3 Jul 2009 16:21:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 16:21:11 +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; Fri, 03 Jul 2009 16:21:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 36407234C004 for ; Fri, 3 Jul 2009 09:20:47 -0700 (PDT) Message-ID: <1553886546.1246638047208.JavaMail.jira@brutus> Date: Fri, 3 Jul 2009 09:20:47 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3710) cannot access a database using AES encryption with encryptionKeyLength=192 after it's been shutdown In-Reply-To: <619608260.1212617625058.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-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-3710: -------------------------------------- Issue & fix info: [Repro attached] Urgency: Normal Bug behavior facts: [Data corruption] Triaged for 10.5.2. > cannot access a database using AES encryption with encryptionKeyLength=192 after it's been shutdown > --------------------------------------------------------------------------------------------------- > > Key: DERBY-3710 > URL: https://issues.apache.org/jira/browse/DERBY-3710 > Project: Derby > Issue Type: Bug > Components: Services > Affects Versions: 10.5.1.1 > Environment: reproduced with ibm's jdk 1.5 and 1.6, and sun's jdk15. > AES encryption with encryptionKeyLength=192 requires unrestricted security policy jars on your jvm > Reporter: Myrna van Lunteren > Attachments: repro.sql > > > Accessing a database created using encryptionAlgorithm: AES/CBC/NoPadding, and encryptionKeyLength=192 after it's been shutdown fails like so: > ----------------------- > ERROR XJ040: Failed to start database 'encdbcbc_192', see the next exception for details. > ERROR XBM06: Startup failed. An encrypted database cannot be accessed without the correct boot password. > ---------------------- > This does not occur when you use encryptionKeyLength=128 (does not require unrestricted jars) nor encryptionKeyLength=256 (does require unrestricted policy jars). > Note: our test (in derbyall): store/aes.sql does not test this, firstly it doesn't test the larger sizes (because it would diff & fail unless you have been able to adjust your jvm's policy jars), and secondly it doesn't shutdown before reconnecting. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.