feat: make calcom encryption key random generated

This commit is contained in:
Sturdy 2024-01-31 15:08:51 +01:00
parent f31b83e84a
commit a27e0f2ca9

View File

@ -23,10 +23,10 @@
"env_variable": "CALCOM_NEXTAUTH_SECRET" "env_variable": "CALCOM_NEXTAUTH_SECRET"
}, },
{ {
"type": "password", "type": "random",
"label": "Calendso Encryption Key. Encryption key that will be used to encrypt CalDAV credentials, choose a random string, for example with `dd if=/dev/urandom bs=1K count=1 | md5sum`", "label": "Calendso Encryption Key. Encryption key that will be used to encrypt CalDAV credentials, choose a random string, for example with `dd if=/dev/urandom bs=1K count=1 | md5sum`",
"required": true, "required": true,
"min": 1, "min": 32,
"max": 1024, "max": 1024,
"env_variable": "CALENDSO_ENCRYPTION_KEY" "env_variable": "CALENDSO_ENCRYPTION_KEY"
}, },