hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15312) Undocumented KeyProvider configuration keys
Date Wed, 14 Mar 2018 20:51:01 GMT

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

Wei-Chiu Chuang commented on HADOOP-15312:
------------------------------------------

Interesting. So these two configs are fed into KeyProvider.generateKey(), and used by KeyGenerator.getInstance()
and keyGenerator.init() respectively.

 

For the algorithm, the default value "AES/CTR/NoPadding" is split by / and only the first
substring "AES" is used in KeyGenerator.getInstance(). 

 

[https://docs.oracle.com/javase/7/docs/api/javax/crypto/KeyGenerator.html#getInstance(java.lang.String)]

[https://docs.oracle.com/javase/7/docs/api/javax/crypto/KeyGenerator.html#init(int)]

 

> Undocumented KeyProvider configuration keys
> -------------------------------------------
>
>                 Key: HADOOP-15312
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15312
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Assignee: LiXin Ge
>            Priority: Major
>         Attachments: HADOOP-15312.001.patch
>
>
> Via HADOOP-14445, I found two undocumented configuration keys: hadoop.security.key.default.bitlength
and hadoop.security.key.default.cipher



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message