Fix up configuration, add some meta files and utils

This commit is contained in:
2025-09-30 17:46:54 -04:00
parent 69e86523fb
commit 4d83960fc2
12 changed files with 261 additions and 227 deletions

9
cmd/generate_key.py Normal file
View File

@@ -0,0 +1,9 @@
# Generates a key in the format compatible with Synapse and Vona.
import base64
import os
key = base64.b64encode(os.urandom(32)).decode("utf-8")[:43].replace("/", "_")
key_id = base64.b64encode(os.urandom(32)).decode("utf-8")[:6].replace("/", "_")
print(f"ed25519 {key_id} {key}")