Is your feature request related to a problem?
The Argon2id parameters (time, memory, threads) are currently hardcoded in config/encryption.go. While they are stored in secure.meta, there is no way for the user to configure them when enabling encryption.
Describe the solution you'd like
Allow these parameters to be optionally passed to EnableSecureMode or set via configuration/environment variables.
Describe alternatives you've considered
Keeping them hardcoded, but users with different hardware might want to adjust them for security/performance.
Additional context
Check config/encryption.go.
Is your feature request related to a problem?
The Argon2id parameters (time, memory, threads) are currently hardcoded in
config/encryption.go. While they are stored insecure.meta, there is no way for the user to configure them when enabling encryption.Describe the solution you'd like
Allow these parameters to be optionally passed to
EnableSecureModeor set via configuration/environment variables.Describe alternatives you've considered
Keeping them hardcoded, but users with different hardware might want to adjust them for security/performance.
Additional context
Check
config/encryption.go.