old-signing-key - anyone an idea how to escape so it's only one env var? #50

Merged
val merged 3 commits from old-signing-key into main 2025-06-12 20:23:56 +00:00
Owner

add env vars for old signing key (will be helpful if you had to change your signing key, e.g. for complete reinstall)

I tried to put it in only one .env var, but didn't figure out in the end how to escape everything correctly so that in the end it would result in this syntax in the actual homeserver.yaml like this:

old_signing_keys:
  "ed25519:id": { key: "base64string", expired_ts: 123456789123 }

https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#old_signing_keys

if anyone has an idea, I'm happy to adapt it. tried a lot of variations

add env vars for old signing key (will be helpful if you had to change your signing key, e.g. for complete reinstall) I tried to put it in only one .env var, but didn't figure out in the end how to escape everything correctly so that in the end it would result in this syntax in the actual `homeserver.yaml` like this: ``` old_signing_keys: "ed25519:id": { key: "base64string", expired_ts: 123456789123 } ``` https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#old_signing_keys if anyone has an idea, I'm happy to adapt it. tried a lot of variations
val added 2 commits 2025-06-10 16:53:31 +00:00
Owner

if anyone has an idea, I'm happy to adapt it. tried a lot of variations

I can't think of a way to.

3 variables seems better than zero variables, let's do it!

> if anyone has an idea, I'm happy to adapt it. tried a lot of variations I can't think of a way to. 3 variables seems better than zero variables, let's do it!
3wordchant approved these changes 2025-06-12 19:13:57 +00:00
val added 1 commit 2025-06-12 20:23:15 +00:00
val merged commit e072cf0766 into main 2025-06-12 20:23:56 +00:00
val deleted branch old-signing-key 2025-06-12 20:23:56 +00:00
Sign in to join this conversation.
No description provided.