Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AES256 encryption for file storage #3

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Conversation

offsoc
Copy link
Owner

@offsoc offsoc commented Jan 11, 2025

Add AES256 encryption for file storage and user-defined encryption key support.

  • GcsAttachmentGenerator.java

    • Add AES256 encryption for file storage in generateAttachment method.
    • Add user-defined encryption key support in GcsAttachmentGenerator constructor.
  • TusAttachmentGenerator.java

    • Add AES256 encryption for file storage in generateAttachment method.
    • Add user-defined encryption key support in TusAttachmentGenerator constructor.
  • BackupManager.java

    • Add AES256 encryption for file storage in createMessageBackupUploadDescriptor method.
    • Add user-defined encryption key support in BackupManager constructor.
  • Cdn3BackupCredentialGenerator.java

    • Add AES256 encryption for file storage in generateUpload method.
    • Add user-defined encryption key support in Cdn3BackupCredentialGenerator constructor.
  • Cdn3RemoteStorageManager.java

    • Add AES256 encryption for file storage in copy method.
    • Add user-defined encryption key support in Cdn3RemoteStorageManager constructor.
  • RemoteStorageManager.java

    • Add AES256 encryption for file storage in copy method.
    • Add user-defined encryption key support in RemoteStorageManager interface.
  • BackupsDb.java

    • Add AES256 encryption for file storage in setPublicKey method.
    • Add user-defined encryption key support in BackupsDb constructor.
  • MediaEncryptionParameters.java

    • Add AES256 encryption for file storage in MediaEncryptionParameters class.
    • Add user-defined encryption key support in MediaEncryptionParameters constructor.
  • CopyResult.java

    • Add AES256 encryption for file storage in CopyResult class.
    • Add user-defined encryption key support in CopyResult constructor.
  • CopyParameters.java

    • Add AES256 encryption for file storage in CopyParameters class.
    • Add user-defined encryption key support in CopyParameters constructor.
  • BackupUploadDescriptor.java

    • Add AES256 encryption for file storage in BackupUploadDescriptor class.
    • Add user-defined encryption key support in BackupUploadDescriptor constructor.
  • BackupAuthManager.java

    • Add AES256 encryption for file storage in commitBackupId method.
    • Add user-defined encryption key support in BackupAuthManager constructor.
  • BackupLevelUtil.java

    • Add AES256 encryption for file storage in BackupLevelUtil class.
    • Add user-defined encryption key support in BackupLevelUtil constructor.

For more details, open the Copilot Workspace session.

Add AES256 encryption for file storage and user-defined encryption key support.

* **GcsAttachmentGenerator.java**
  - Add AES256 encryption for file storage in `generateAttachment` method.
  - Add user-defined encryption key support in `GcsAttachmentGenerator` constructor.

* **TusAttachmentGenerator.java**
  - Add AES256 encryption for file storage in `generateAttachment` method.
  - Add user-defined encryption key support in `TusAttachmentGenerator` constructor.

* **BackupManager.java**
  - Add AES256 encryption for file storage in `createMessageBackupUploadDescriptor` method.
  - Add user-defined encryption key support in `BackupManager` constructor.

* **Cdn3BackupCredentialGenerator.java**
  - Add AES256 encryption for file storage in `generateUpload` method.
  - Add user-defined encryption key support in `Cdn3BackupCredentialGenerator` constructor.

* **Cdn3RemoteStorageManager.java**
  - Add AES256 encryption for file storage in `copy` method.
  - Add user-defined encryption key support in `Cdn3RemoteStorageManager` constructor.

* **RemoteStorageManager.java**
  - Add AES256 encryption for file storage in `copy` method.
  - Add user-defined encryption key support in `RemoteStorageManager` interface.

* **BackupsDb.java**
  - Add AES256 encryption for file storage in `setPublicKey` method.
  - Add user-defined encryption key support in `BackupsDb` constructor.

* **MediaEncryptionParameters.java**
  - Add AES256 encryption for file storage in `MediaEncryptionParameters` class.
  - Add user-defined encryption key support in `MediaEncryptionParameters` constructor.

* **CopyResult.java**
  - Add AES256 encryption for file storage in `CopyResult` class.
  - Add user-defined encryption key support in `CopyResult` constructor.

* **CopyParameters.java**
  - Add AES256 encryption for file storage in `CopyParameters` class.
  - Add user-defined encryption key support in `CopyParameters` constructor.

* **BackupUploadDescriptor.java**
  - Add AES256 encryption for file storage in `BackupUploadDescriptor` class.
  - Add user-defined encryption key support in `BackupUploadDescriptor` constructor.

* **BackupAuthManager.java**
  - Add AES256 encryption for file storage in `commitBackupId` method.
  - Add user-defined encryption key support in `BackupAuthManager` constructor.

* **BackupLevelUtil.java**
  - Add AES256 encryption for file storage in `BackupLevelUtil` class.
  - Add user-defined encryption key support in `BackupLevelUtil` constructor.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/offsoc/Signal-Server?shareId=XXXX-XXXX-XXXX-XXXX).
@offsoc offsoc merged commit 6a69cbb into main Jan 11, 2025
5 of 8 checks passed
@offsoc offsoc deleted the add-aes256-encryption branch January 11, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant