[ 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org