Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 8310 invoked from network); 19 Sep 2006 17:21:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 17:21:09 -0000 Received: (qmail 2851 invoked by uid 500); 19 Sep 2006 17:21:08 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2802 invoked by uid 500); 19 Sep 2006 17:21:07 -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 2793 invoked by uid 99); 19 Sep 2006 17:21:07 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 10:21:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:36645] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 00/F4-28275-20720154 for ; Tue, 19 Sep 2006 10:21:07 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6FADE410066 for ; Tue, 19 Sep 2006 17:17:31 +0000 (GMT) Message-ID: <22341424.1158686251455.JavaMail.jira@brutus> Date: Tue, 19 Sep 2006 10:17:31 -0700 (PDT) From: "Jean T. Anderson (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-1622) Add documentation for encrypted database using encryptionKey In-Reply-To: <27654461.1154453894919.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1622?page=all ] Jean T. Anderson closed DERBY-1622. ----------------------------------- Fix Version/s: 10.2.1.0 (was: 10.2.2.0) Resolution: Fixed > Add documentation for encrypted database using encryptionKey > ------------------------------------------------------------ > > Key: DERBY-1622 > URL: http://issues.apache.org/jira/browse/DERBY-1622 > Project: Derby > Issue Type: Task > Components: Documentation > Affects Versions: 10.2.1.0 > Reporter: Sunitha Kambhampati > Assigned To: Laura Stewart > Priority: Minor > Fix For: 10.2.1.0, 10.3.0.0 > > Attachments: derby1622.diff, derby1622_2.diff, derby1622_3.diff, derby1622_4.diff, derby1622_devguide_5.diff, Derby1622_html.zip, derby1622_html2.zip, derby1622_html3.zip, derby1622_html4.zip, derby1622_html5.zip > > > 1) > In Reference Manual:Section: Setting attributes for the database connection url > Add the following attribute: > encryptionKey=key > Function > Specifies the key to use for encrypting a new database or booting an existing encrypted database. The application > provides the encryption key. > Combining with other attributes > When creating a new database, must be combined with create=true and dataEncryption=true. When booting an existing > encrypted database, the encryptionAlgorithm is also required to be specified if the algorithm used when creating the > database was not the default algorithm. The default encryption algorithm used by Derby is DES/CBC/NoPadding. > -- create a new, encrypted database > jdbc:derby:newDB;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666768 > -- boot an encrypted database > jdbc:derby:encryptedDB;encryptionKey=6162636465666768 > 2) > Developers Guide: > http://db.apache.org/derby/docs/dev/devguide/tdevdvlp40140.html > This should say , Booting an encrypted database. > This section should also mention the encryptionKey attribute. > http://db.apache.org/derby/docs/dev/devguide/cdevcsecure60146.html > This section should also mention the encryptionKey attribute. > Something like change this line from > "Once you have created an encrypted database, you must supply the boot password to reboot it." > to > "If you have created an encrypted database using the bootPassword, then you must supply the boot password to reboot it. If you have created an encrypted database using the encryptionKey, then you must supply the encryptionKey to reboot it" > The example should also include the example to boot using the encryptionKey. > For example, to access an encrypted database called encryptedDB, created with the encryptionKey c566bab9ee8b62a5ddb4d9229224c678 and with encryptionAlgorithm=AES/CBC/NoPadding, you would use the following connection URL: > jdbc:derby:encryptedDB;encryptionAlgorithm=AES/CBC/NoPadding;encryptionKey=c566bab9ee8b62a5ddb4d9229224c678 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira