You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Yi Liu (JIRA)" <ji...@apache.org> on 2014/05/30 10:28:02 UTC

[jira] [Resolved] (HADOOP-10635) Add a method to CryptoCodec to generate SRNs for IV

     [ https://issues.apache.org/jira/browse/HADOOP-10635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yi Liu resolved HADOOP-10635.
-----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Committed to branch.

Move the {{DEFAULT_SECURE_RANDOM_ALG}} to CommonConfigurationKeysPublic.java:
{code}
/** Defalt value for HADOOP_SECURITY_SECURE_RANDOM_ALGORITHM_KEY */
public static final String HADOOP_SECURITY_SECURE_RANDOM_ALGORITHM_DEFAULT = 
    "SHA1PRNG";
{code}

> Add a method to CryptoCodec to generate SRNs for IV
> ---------------------------------------------------
>
>                 Key: HADOOP-10635
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10635
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
>            Reporter: Alejandro Abdelnur
>            Assignee: Yi Liu
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-10635.1.patch, HADOOP-10635.patch
>
>
> SRN generators are provided by crypto libraries. the CryptoCodec gives access to a crypto library, thus it makes sense to expose the SRN generator on the CryptoCodec API.



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