Skip to content

Commit ec416eb

Browse files
authored
Add cipher suite (AES/CTR/NoPadding) per default (#693)
* add cipher suite and key site per default * adapted changelog * do not default cipher key length * do not mention the default keylength
1 parent 7939fc8 commit ec416eb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +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 defaults to `AES/CTR/NoPadding` for `dfs.encrypt.data.transfer.cipher.suite` to improve security and performance ([#693]).
1314

1415
### Changed
1516

@@ -46,6 +47,7 @@ All notable changes to this project will be documented in this file.
4647
[#677]: https://github.com/stackabletech/hdfs-operator/pull/677
4748
[#683]: https://github.com/stackabletech/hdfs-operator/pull/683
4849
[#684]: https://github.com/stackabletech/hdfs-operator/pull/684
50+
[#693]: https://github.com/stackabletech/hdfs-operator/pull/693
4951

5052
## [25.3.0] - 2025-03-21
5153

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +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 defaults to `AES/CTR/NoPadding` for `dfs.encrypt.data.transfer.cipher.suite`. This can be changed using config overrides.
3637

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ impl HdfsSiteConfigBuilder {
5252
fn add_wire_encryption_settings(&mut self) -> &mut Self {
5353
self.add("dfs.data.transfer.protection", "privacy");
5454
self.add("dfs.encrypt.data.transfer", "true");
55+
self.add(
56+
"dfs.encrypt.data.transfer.cipher.suite",
57+
"AES/CTR/NoPadding",
58+
);
5559
self
5660
}
5761
}

0 commit comments

Comments
 (0)