You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kim Haase (JIRA)" <ji...@apache.org> on 2012/06/08 20:35:23 UTC

[jira] [Created] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Kim Haase created DERBY-5805:
--------------------------------

             Summary: More context for bootPassword and encryptionKey attributes would be helpful
                 Key: DERBY-5805
                 URL: https://issues.apache.org/jira/browse/DERBY-5805
             Project: Derby
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 10.9.1.0
            Reporter: Kim Haase
            Assignee: Kim Haase
            Priority: Minor


The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.


--
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

        

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Description: 
The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

In addition, 


  was:
The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.


    
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In addition, 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase resolved DERBY-5805.
------------------------------

          Resolution: Fixed
       Fix Version/s: 10.10.0.0
                      10.9.1.1
                      10.8.2.3
                      10.7.1.4
                      10.6.2.2
                      10.5.3.1
    Issue & fix info:   (was: Patch Available)

Thanks very much, Knut.

Committed patch DERBY-5805-2.diff to documentation trunk at revision 1396068. 
Merged to 10.9 doc branch at revision 1396078.
Merged to 10.8 doc branch at revision 1396141.
Merged to 10.7 doc branch at revision 1396146.
Merged to 10.6 doc branch at revision 1396154.
Merged to 10.5 doc branch at revision 1396175.

                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>             Fix For: 10.5.3.1, 10.6.2.2, 10.7.1.4, 10.8.2.3, 10.9.1.1, 10.10.0.0
>
>         Attachments: DERBY-5805-2.diff, DERBY-5805-2.stat, DERBY-5805-2.zip, DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472376#comment-13472376 ] 

Knut Anders Hatlen commented on DERBY-5805:
-------------------------------------------

I've read through the patch, and all the changes looked consistent with the findings documented in the earlier comments on this issue. +1
                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5805-2.diff, DERBY-5805-2.stat, DERBY-5805-2.zip, DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Attachment: DERBY-5805-2.zip
                DERBY-5805-2.stat
                DERBY-5805-2.diff

I'm filing a revised patch to correct some technical errors in the previous patch (the use of the encryptionAlgorithm attribute with an already encrypted database, for example) as well as some typos and inconsistencies.

Attaching DERBY-5805-2.diff, DERBY-5805-2.stat, and DERBY-5805-2.zip, with changes to one more file, src/ref/rrefattribnewbootpw.dita, in addition to those in the previous patch:

M       src/ref/rrefattrib60346.dita
M       src/ref/rrefattrib88843.dita
M       src/ref/rrefattribencryptkey.dita
M       src/ref/refderby.ditamap
M       src/ref/rrefattribnewbootpw.dita
M       src/ref/rrefattrib15290.dita
M       src/ref/rrefattribencryptkeylength.dita
M       src/ref/rrefattrib42100.dita
M       src/ref/rrefattribnewencryptkey.dita

I plan to commit this patch tomorrow unless I hear of additional corrections.
                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5805-2.diff, DERBY-5805-2.stat, DERBY-5805-2.zip, DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460822#comment-13460822 ] 

Kim Haase commented on DERBY-5805:
----------------------------------

The Developer's Guide section on DB encryption has a topic called "Creating the boot password" that doesn't discuss the possibility of using the encryptionKey attribute instead of the bootPassword attribute, although encryptionKey is mentioned in some other topics. The topic should be retitled and rewritten. Perhaps "Specifying a boot password or encryption key" would be better.
                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459102#comment-13459102 ] 

Kim Haase commented on DERBY-5805:
----------------------------------

I've been looking at the Reference Manual documentation on the encryption-related attributes for both this issue and the anticipated documentation for DERBY-5792 (decryption). (See (http://db.apache.org/derby/docs/dev/ref/.)

It appears that you can specify the encryptionProvider and encryptionAlgorithm attributes with either bootPassword or encryptionKey, according to the topic on the dataEncryption attribute. However, the topics on encryptionProvider and encryptionAlgorithm do not mention the encryptionKey attribute, implying that they only work with bootPassword. Should those topics be corrected? 

Also, in the encryptionKey topic, the only example of an encryptionAlgorithm uses the default algorithm. Seems as if it would be more realistic to change this to a nondefault one.
                
> More context for bootPassword and encryptionKey attributes would be helpful
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Description: 
The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

In general, the topics on database encryption attributes need additional information, corrections, and examples.


  was:
The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

In addition, 


    
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459982#comment-13459982 ] 

Kim Haase commented on DERBY-5805:
----------------------------------

Thanks, Dag. Indeed, the topic on encryptionKey has an example that uses exactly those attributes. So I think what is needed is to update the encryptionProvider and encryptionAlgorithm topics to mention that they work with either bootPassword or encryptionKey and to provide an example for each that uses encryptionKey.

Do you have some tests that use a non-default encryptionAlgorithm? DES/CBC/NoPadding is the default, so there is really no need to specify it. I was thinking of changing the encryptionKey example to use AES, or something.
                
> More context for bootPassword and encryptionKey attributes would be helpful
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459735#comment-13459735 ] 

Dag H. Wanvik commented on DERBY-5805:
--------------------------------------

> However, the topics on encryptionProvider and encryptionAlgorithm do not mention the encryptionKey attribute, implying that they only work with bootPassword.

I see an example in the tests (in "encryptionKey_jar.sql") that combines algorithm and key:

connect 'jdbc:derby:jar:(ina.jar)db1;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666768' AS DB1;

I believe encryptionKey can be used instead of bootPassword always.
                
> More context for bootPassword and encryptionKey attributes would be helpful
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460475#comment-13460475 ] 

Kim Haase commented on DERBY-5805:
----------------------------------

Thanks, Kristian, for that example. I've reopened DERBY-4229 to add a topic on the encryptionKeyLength attribute to the Reference Manual.
                
> More context for bootPassword and encryptionKey attributes would be helpful
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Attachment: DERBY-5805.zip
                DERBY-5805.stat
                DERBY-5805.diff

Attaching DERBY-5805.diff, DERBY-5805.stat, and DERBY-5805.zip, with revisions to the encryption-related Reference Manual topics for completeness, consistency, and formatting. The following files are changed:

M       src/ref/rrefattrib88843.dita
M       src/ref/rrefattribencryptkey.dita
M       src/ref/rrefattribencryptkeylength.dita
M       src/ref/rrefattribnewencryptkey.dita
M       src/ref/rrefattrib15290.dita
M       src/ref/rrefattrib42100.dita
M       src/ref/refderby.ditamap
M       src/ref/rrefattrib60346.dita

The only change in the map file was to correct the alphabetical order of a couple of topics.

I hope no technical errors have been introduced. I don't know if the comments I made in DERBY-4229 about the interaction of some of the attributes should have any effect.

I will use DERBY-1721 to make fixes to Developer's Guide encryption topics. Once these are all completed, I can add the decryption information as needed.
                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459735#comment-13459735 ] 

Dag H. Wanvik edited comment on DERBY-5805 at 9/21/12 4:05 AM:
---------------------------------------------------------------

> However, the topics on encryptionProvider and encryptionAlgorithm do not mention the encryptionKey attribute, implying that they only work with bootPassword.

I see an example in the tests (in "encryptionKey_jar.sql") that combines algorithm and key:

connect 'jdbc:derby:jar:(ina.jar)db1;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666768' AS DB1;

I believe encryptionKey can be used instead of bootPassword always.

[Update: the code in JCECipherFactory#init indicates this holds. -Dag ]
                
      was (Author: dagw):
    > However, the topics on encryptionProvider and encryptionAlgorithm do not mention the encryptionKey attribute, implying that they only work with bootPassword.

I see an example in the tests (in "encryptionKey_jar.sql") that combines algorithm and key:

connect 'jdbc:derby:jar:(ina.jar)db1;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666768' AS DB1;

I believe encryptionKey can be used instead of bootPassword always.
                  
> More context for bootPassword and encryptionKey attributes would be helpful
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Summary: Database encryption topics in Reference Manual need more information  (was: More context for bootPassword and encryptionKey attributes would be helpful)
    
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470364#comment-13470364 ] 

Kim Haase commented on DERBY-5805:
----------------------------------

I plan to commit this patch on October 8 and backport it to 10.5. I will be glad to provide a revised or additional patch in response to any comments.
                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Affects Version/s: 10.10.0.0
                       10.5.3.0
                       10.6.2.1
                       10.7.1.1
                       10.8.2.2
    
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase updated DERBY-5805:
-----------------------------

    Issue & fix info: Patch Available
    
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (DERBY-5805) Database encryption topics in Reference Manual need more information

Posted by "Kim Haase (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase closed DERBY-5805.
----------------------------


Closing, since trunk changes have appeared in Latest Alpha Manuals.
                
> Database encryption topics in Reference Manual need more information
> --------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>             Fix For: 10.5.3.1, 10.6.2.2, 10.7.1.4, 10.8.2.3, 10.9.1.1, 10.10.0.0
>
>         Attachments: DERBY-5805-2.diff, DERBY-5805-2.stat, DERBY-5805-2.zip, DERBY-5805.diff, DERBY-5805.stat, DERBY-5805.zip
>
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.
> In general, the topics on database encryption attributes need additional information, corrections, and examples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DERBY-5805) More context for bootPassword and encryptionKey attributes would be helpful

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460291#comment-13460291 ] 

Kristian Waagan commented on DERBY-5805:
----------------------------------------

We have do have EncryptionKeyBlowfishTest.
Here's an ij example using a 128-bit AES encryption key:
ij> connect 'jdbc:derby:mydb;create=true;dataEncryption=true;encryptionKey=B54C0BDB303E0584695E4090E8FCDE1E;encryptionAlgorithm=AES/CBC/NoPadding';

I noticed that we don't document the encryptionKeyLength attribute in the Reference Manual, although we have mentioned it in the Developers Guide (see DERBY-4229). From what I can see, it only applies to the bootPassword attribute.
                
> More context for bootPassword and encryptionKey attributes would be helpful
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-5805
>                 URL: https://issues.apache.org/jira/browse/DERBY-5805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.9.1.0
>            Reporter: Kim Haase
>            Assignee: Kim Haase
>            Priority: Minor
>
> The Developer's Guide and Reference Manual information on the bootPassword and encryptionKey attributes doesn't state (not prominently, anyway) that these properties are mutually exclusive, as Rick Hillegas points out in his 6/8/2012 comment on DERBY-5622. This information should be included in the documentation for these properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira