Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 13429 invoked from network); 22 Jan 2005 02:56:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jan 2005 02:56:42 -0000 Received: (qmail 35640 invoked by uid 500); 22 Jan 2005 02:56:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35604 invoked by uid 500); 22 Jan 2005 02:56:41 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 35591 invoked by uid 99); 22 Jan 2005 02:56:41 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from deep.mindlink.net (HELO deep.parasun.net) (204.174.16.4) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 21 Jan 2005 18:56:40 -0800 Received: from [24.143.143.48] (helo=[192.168.0.3]) by deep.parasun.net with esmtp (Exim 4.43) id 1CsBS1-0004bV-GQ for derby-dev@db.apache.org; Fri, 21 Jan 2005 18:56:37 -0800 Message-ID: <41F1C092.6050909@Golux.Com> Date: Fri, 21 Jan 2005 18:55:14 -0800 From: myrna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: [PATCH] encryption suites to run storemats Content-Type: multipart/mixed; boundary="------------070404030009000900040207" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------070404030009000900040207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dan wrote: (sorry for the lay-out, I've been looking at the archives for updates, my mail seems to be intermittently delivering): Can you explain why we need two suites. Well, no, in light of what you write below: -------------- There were changes made to Cloudscape (and thus in Derby) that automatically configure encryption based upon the running virtual machine, especially in JDK 1.4. I know the split of the encryption suites was before these changes were made, where previously the encyption provider had to be stated explicitly if it wasn't Sun's. Thus can we handle a single JVM indpendent suite now? --------------- Thx for the info - I was not aware of the fix. So here's a new patch, with just one suite, running the storemats suite with an encryption algorithm. Note also, that for the encryption tests to work, one *does* need to load separate encryption provider jars from sun when working with jdk131. With jdk14 it's included. This will go into the readme when I update it. The suite will get skipped if you don't have the provider stuff. Myrna --------------070404030009000900040207 Content-Type: text/plain; name="encrypt2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="encrypt2.diff" Index: java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties =================================================================== --- java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties (revision 0) +++ java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties (revision 0) @@ -0,0 +1,4 @@ +encryption=true +testEncryptionAlgorithm=DESede/CBC/NoPadding +testJavaFlags=testDataEncryption=Thursday +suites=storemats Property changes on: java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties ___________________________________________________________________ Name: svn:eol-style + native Index: java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties =================================================================== --- java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties (revision 125764) +++ java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties (working copy) @@ -1,3 +1,3 @@ -suites=derbylang derbynetmats storeall xa derbytools jdbc20 jdk14 jdbcapi +suites=derbylang derbynetmats storeall xa derbytools jdbc20 jdk14 jdbcapi encryption derby.debug.true=enableBtreeConsistencyCheck derby.stream.error.logSeverityLevel=0 --------------070404030009000900040207--