Skip to content

[feat] Option to force encryption on by default from config #572

Description

@spignelon

Is your feature request related to a problem? Please describe.
When encryption-key is set in config.toml, the frontend still defaults to encryption off. Every time you log in from a new browser or device, the toggle is off and files get uploaded unencrypted unless you remember to enable it manually.

Describe the solution you'd like
A config option under [tg.uploads] (e.g. encrypt-by-default = true) that makes the frontend default to encryption on when an encryption key is already configured on the server. If the key is set and this option is true, the UI toggle should default to enabled.

Describe alternatives you've considered
Manually enabling the toggle in the UI after every fresh login. This works but is easy to forget, which defeats the purpose of having an encryption key configured.

Additional context
No additional context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions