Ver Fonte

HADOOP-15312. Undocumented KeyProvider configuration keys. Contributed by LiXin Ge.

Wei-Chiu Chuang há 7 anos atrás
pai
commit
3fe41c65d8

+ 19 - 0
hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

@@ -2494,6 +2494,25 @@
   </description>
 </property>
 
+<property>
+  <name>hadoop.security.key.default.bitlength</name>
+  <value>128</value>
+  <description>
+    The length (bits) of keys we want the KeyProvider to produce. Key length
+    defines the upper-bound on an algorithm's security, ideally, it would
+    coincide with the lower-bound on an algorithm's security.
+  </description>
+</property>
+
+<property>
+  <name>hadoop.security.key.default.cipher</name>
+  <value>AES/CTR/NoPadding</value>
+  <description>
+    This indicates the algorithm that be used by KeyProvider for generating
+    key, and will be converted to CipherSuite when creating encryption zone.
+  </description>
+</property>
+
 <property>
   <name>fs.har.impl.disable.cache</name>
   <value>true</value>