1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
Commit graph

8 commits

Author SHA1 Message Date
catborise
40822e7184 fix: write the admin password file without following symlinks
In Docker, migrate runs as root while data/ belongs to www-data, so a
planted data/admin_password symlink would make root overwrite its target.
Remove any existing path first and create the file with
O_CREAT|O_EXCL|O_NOFOLLOW (mode set via fchmod). install.sh's /tmp
fallback log is now created with mktemp instead of a fixed name.
2026-10-02 23:17:32 +03:00
catborise
7b53493800 fix: stop printing secrets during installation
- The generated admin password is written to data/admin_password (mode
  0600) instead of being printed, so it no longer ends up in the install
  log or `docker logs`. If the file cannot be written it is printed as
  before, so the admin is never locked out.
- webvirtcloud.sh no longer echoes the generated SECRET_KEY.
- install.sh creates the install log with mode 0600.
2026-10-02 22:47:56 +03:00
catborise
b545c8b30b fix(ci): fix shellcheck SC2317 in install.sh, quote GITHUB_PATH, and upgrade codeql actions 2026-09-25 16:17:09 +03:00
catborise
8306f0d761 fix(ci): fix linter workflow dependencies, python version, and shellcheck issues 2026-09-25 16:09:01 +03:00
catborise
070e3baf75 refactor(install): harden bootstrap script and restore retspen upstream URLs 2026-09-25 15:53:32 +03:00
catborise
79c6bd4c62 fix(install): modernize Ubuntu and Debian installer script for 24.04 and Debian 12 compatibility 2026-09-25 13:49:27 +03:00
catborise
922a8e62d1 fix some linter warnings 2020-09-25 15:57:17 +03:00
catborise
7dd9127572 Automatic install option for Webvirtcloud is added (beta) 2020-08-21 18:38:10 +03:00