Run telegram as its own account in a runtime of its own, keep its offset per update, and keep no copy of a secret on the desk (hq ADR 0259 §8)

This commit is contained in:
jochen
2026-10-09 11:03:36 +02:00
committed by jschoubben
parent cc5ddf86c1
commit 50f437fbb1
11 changed files with 49 additions and 26 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
"module": "telegram",
"version": "1",
"slug": "tgrm",
"runs-as": "telegram",
"claims": [
{
"name": "channel",
@@ -33,6 +34,7 @@
}
],
"own-secrets": {
"broker": "${dir:state}/broker",
"telegram-token": "${dir:state}/telegram-token"
},
"secrets-owner": "telegram",
@@ -68,7 +70,6 @@
"telegram"
],
"env": {
"MESH_RUN_AS": "telegram",
"MESH_TELEGRAM_TOKEN_FILE": "${dir:state}/telegram-token"
}
}