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 "Mike Matrigali (JIRA)" <ji...@apache.org> on 2011/02/15 20:15:58 UTC
[jira] Updated: (DERBY-2552) Specifying a streaming cipher for data
encryption causes java.lang.ArithmeticException
[ https://issues.apache.org/jira/browse/DERBY-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Matrigali updated DERBY-2552:
----------------------------------
Urgency: Normal
Labels: derby_triage10_8 (was: )
> Specifying a streaming cipher for data encryption causes java.lang.ArithmeticException
> --------------------------------------------------------------------------------------
>
> Key: DERBY-2552
> URL: https://issues.apache.org/jira/browse/DERBY-2552
> Project: Derby
> Issue Type: Bug
> Components: Services
> Affects Versions: 10.3.1.4
> Reporter: Kristian Waagan
> Labels: derby_triage10_8
>
> If a streaming cipher is specified for data encryption when creating a database, a java.lang.ArithmeticException is thrown.
> The reason is that the cipher block size is used in a division as the divisor and it has value 0 (zero).
> Derby should either inform that streaming ciphers are not supported, or be able to use them.
> A quick hack indicates Derby is capable of using streaming ciphers. I was able to create an encrypted database using the ARCFOUR (RC4) algorithm, close Derby and boot the database and fetch the data in the database again. This required changes in only two places (LogToFile and FileLogger), but the issue must be further investigated.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira