hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10853) Refactor get instance of CryptoCodec and support create via algorithm/mode/padding.
Date Tue, 22 Jul 2014 08:45:39 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070010#comment-14070010
] 

Yi Liu commented on HADOOP-10853:
---------------------------------

Thanks [~cmccabe] and [~umamaheswararao].
Colin, I committed the patch to branch since there will be conflict if HDFS-6720 gets in first.

> Refactor get instance of CryptoCodec and support create via algorithm/mode/padding.
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-10853
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10853
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: fs-encryption (HADOOP-10150 and HDFS-6134)
>
>         Attachments: HADOOP-10853.001.patch, HADOOP-10853.002.patch, HADOOP-10853.003.patch,
HADOOP-10853.004.patch
>
>
> We should be able to create instance of *CryptoCodec*:
> * via codec class name. (Applications may have config for different crypto codecs)
> * via algorithm/mode/padding. (For automatically decryption, we need to find correct
crypto codec and proper implementation)
> * a default crypto codec through specific config. 
> This JIRA is for
> * Create instance through cipher suite(algorithm/mode/padding)
> * Refactor create instance of {{CryptoCodec}} into {{CryptoCodecFactory}}
> We need to get all crypto codecs in system, this can be done via a Java ServiceLoader
+ hadoop.security.crypto.codecs config.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message