-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Feature to Encrypt user email in database #1756 #2587
Changes from 11 commits
f3af8ed
7583235
3bcb124
a895e95
cfcb403
5259ac7
908f567
333ddc1
8799953
a0fba68
7ffee91
7dad60c
789069c
483ac61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -104,4 +104,16 @@ MINIO_DATA_DIR= | |||||||||||||
|
||||||||||||||
# this environment variable is for setting the environment variable for Image Upload size | ||||||||||||||
|
||||||||||||||
IMAGE_SIZE_LIMIT_KB=3000 | ||||||||||||||
IMAGE_SIZE_LIMIT_KB=3000 | ||||||||||||||
|
||||||||||||||
# This environment variable provides the encryption key for securing user email addresses. | ||||||||||||||
# Format: Base64-encoded 32-byte key | ||||||||||||||
# Generation: Use a cryptographically secure method to generate this key | ||||||||||||||
# WARNING: Keep this value secret and never commit it to version control | ||||||||||||||
ENCRYPTION_KEY= | ||||||||||||||
|
||||||||||||||
# This environment variable provides additional entropy for email hashing | ||||||||||||||
# Format: Random string of at least 32 characters | ||||||||||||||
# Generation: Use a cryptographically secure random string generator | ||||||||||||||
# WARNING: Keep this value secret and never commit it to version control | ||||||||||||||
HASH_PEPPER = | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix formatting and add documentation for HASH_PEPPER. The variable has a trailing space in its name which could cause issues. Additionally, as this is a security-critical variable, it needs proper documentation. Apply this diff: -HASH_PEPPER =
+# This environment variable provides additional entropy for email hashing
+# Format: Random string of at least 32 characters
+# Generation: Use a cryptographically secure random string generator
+# WARNING: Keep this value secret and never commit it to version control
+HASH_PEPPER= 📝 Committable suggestion
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add documentation for ENCRYPTION_KEY.
Since this is a critical security variable used for email encryption, please add documentation comments above the variable that specify:
Apply this diff:
📝 Committable suggestion