nextcloud/tests/lib/Files
Stephen Cuppett cdaeed02b6 feat(objectstore): Add AWS SSE-KMS encryption support for S3 storage
Add support for Server-Side Encryption with AWS Key Management Service
(SSE-KMS) for S3 object storage. This allows Nextcloud to encrypt data
at rest in S3 using AWS-managed keys.

Key features:
- New config options: sse_kms_enabled and sse_kms_key_id
- Backward compatible with existing SSE-C (customer-provided keys)
- SSE-C takes precedence when both SSE-C and SSE-KMS are configured

Implementation details:
- Added getServerSideEncryptionParameters() method to centralize
  encryption parameter logic for both SSE-C and SSE-KMS
- Updated multipart uploads to use unified encryption parameters
- Added comprehensive PHPUnit tests for SSE-KMS scenarios
- Tested with AWS bucket and KMS keys in us-east-1 region

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Stephen Cuppett <steve@cuppett.com>
2026-04-16 13:21:53 -04:00
..
AppData chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Cache Merge pull request #58134 from nextcloud/carl/lock-propagator-order 2026-02-09 16:04:38 +01:00
Config test: add test for updating cached mounts with multiple entries for root id 2026-03-04 18:43:35 +01:00
Mount perf(MountManager): use binary search to find mount in path 2026-01-29 11:41:58 +01:00
Node chore(rector): Run rector on apps, core and tests directory 2026-02-06 13:23:23 +01:00
ObjectStore feat(objectstore): Add AWS SSE-KMS encryption support for S3 storage 2026-04-16 13:21:53 -04:00
Search refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
SimpleFS fix(InMemoryFile): allow to stream read the contents 2026-02-06 17:29:26 +01:00
Storage test(Storage): avoid falsy directory/filename checks (for now) 2026-03-02 13:44:20 +01:00
Stream feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Template refactor: Apply rector changes 2026-03-01 14:43:11 +00:00
Type chore: make php-cs happy 2025-12-09 22:26:16 -05:00
Utils chore(Scanner): Use modern syntax and APIs 2026-04-08 12:26:55 +02:00
EtagTest.php chore(Scanner): Use modern syntax and APIs 2026-04-08 12:26:55 +02:00
FileInfoTest.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
FilenameValidatorTest.php chore: migrate to PHPUnit 11 2025-11-05 15:42:33 +01:00
FilesystemTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
PathVerificationTest.php refactor: apply rector rules for PHPUnit 10 2025-10-27 21:56:04 +01:00
SetupManagerTest.php refactor(share): Remove some deprecated method usages 2026-03-10 11:39:57 +01:00
ViewTest.php test(ViewTest): disable Nextcloud not PHP - drop testTouchFloat() 2026-03-10 22:12:42 -04:00