hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Lamb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6508) Add an XAttr to specify the cipher mode
Date Tue, 10 Jun 2014 23:31:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027213#comment-14027213

Charles Lamb commented on HDFS-6508:

[~tucu00] also says: The IV length may depend on the algorithm being used (AES-GCM allows
arbitrary lengths starting a 16bytes, if 16 it does the same logic as AES-CTR mode -uses first
8 bytes as counter-, if greater than 16 it does a funny hash computation of it to get 16bytes
and then the counter logic).

Building on my previous email about the enum for the encryption mode, we could put the length
of the IV in the encryption-mode enum itself. Then we can remove it from the the CryptoCodec
and use the constant itself.

> Add an XAttr to specify the cipher mode
> ---------------------------------------
>                 Key: HDFS-6508
>                 URL: https://issues.apache.org/jira/browse/HDFS-6508
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode, security
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
> We should specify the cipher mode in the xattrs for compatibility sake. Crypto changes
over time and we need to prepare for that.

This message was sent by Atlassian JIRA

View raw message