Skip to content

Commit 0fa4937

Browse files
committed
do not default cipher key length
1 parent 81528e4 commit 0fa4937

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file.
1010
- Use `--file-log-max-files` (or `FILE_LOG_MAX_FILES`) to limit the number of log files kept.
1111
- Use `--file-log-rotation-period` (or `FILE_LOG_ROTATION_PERIOD`) to configure the frequency of rotation.
1212
- Use `--console-log-format` (or `CONSOLE_LOG_FORMAT`) to set the format to `plain` (default) or `json`.
13-
- The operator now sets defaults for `dfs.encrypt.data.transfer.cipher.suite` (`AES/CTR/NoPadding`) and `dfs.encrypt.data.transfer.cipher.key.bitlength` (`128`) to improve security and performance ([#693]).
13+
- The operator now defaults to `AES/CTR/NoPadding` for `dfs.encrypt.data.transfer.cipher.suite` to improve security and performance ([#693]).
1414

1515
### Changed
1616

docs/modules/hdfs/pages/usage-guide/security.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The `kerberos.secretClass` is used to give HDFS the possibility to request keyta
3333

3434
The `tlsSecretClass` is needed to request TLS certificates, used e.g. for the Web UIs.
3535

36-
NOTE: The hdfs-operator uses the cipher suite `AES/CTR/NoPadding` with a 128 Bit key per default. This can be changed using config overrides.
36+
NOTE: The hdfs-operator defaults to `AES/CTR/NoPadding` for `dfs.encrypt.data.transfer.cipher.suite` with a default key length of 128 Bit. This can be changed using config overrides.
3737

3838
=== 4. Verify that Kerberos authentication is required
3939
Use `stackablectl stacklet list` to get the endpoints where the HDFS namenodes are reachable.

rust/operator-binary/src/security/kerberos.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ impl HdfsSiteConfigBuilder {
5656
"dfs.encrypt.data.transfer.cipher.suite",
5757
"AES/CTR/NoPadding",
5858
);
59-
self.add("dfs.encrypt.data.transfer.cipher.key.bitlength", "128");
6059
self
6160
}
6261
}

0 commit comments

Comments
 (0)