feat: verify signed updates and expose Nix values

Signed-off-by: Dict Xiong <me@dxng.cn>
This commit is contained in:
Dict Xiong
2026-11-11 02:24:53 +08:00
parent 86f74b0a84
commit 02ea21c839
9 changed files with 529 additions and 15 deletions

View File

@@ -28,6 +28,9 @@ while [[ $# > 0||-n "$ARG" ]];do
ARG=-${ARG:2}
fi
done
# The verified updater runs from install.sh. Only the legacy opt-out mode
# still performs the old pre-install checkout.
if [[ "${DFS_IGNORE_COMMIT_SIGN:-0}" != 1 ]]; then DFS_SECURE=0; fi
IFS=',' read -r -a DFS_USERS<<<"$DFS_USER"
for u in "${DFS_USERS[@]}";do
if [[ -z "$u" ]];then