ci(release): publish the public releases repository; fix signing and token conditions

The step conditions read step-level env, which a step's own if cannot see:
signing never ran and every release went to this repository. Secrets now
surface as job-level HAS_* flags. The publish job sets up .NET for make-icon,
re-publishing a tag updates the existing release, the portable zip carries
portable.txt, and tags are validated before anything is built.

deploy/releases-repo holds the public README, EULA draft, SECURITY policy and
issue forms; release.yml copies them with the Unraid template, compose file,
screenshots, i18n and SHA256SUMS. The fixtures command reports missing
samples as warning annotations (--allow-missing) instead of a silent pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 22:15:21 +00:00
1 parent c49d4a1d20
commit d0beb7d3bf
11 files changed
+588 -59

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
# Security policy
## Supported versions
Security fixes are made for the latest release only. Upgrade before reporting a problem you found in an older
version; the in-app update check (Settings › Updates) and `docker compose pull` keep installations current.
| Version | Supported |
|---|---|
| Latest release | Yes |
| Older releases, pre-releases, `:nightly` images | No |
## Reporting a vulnerability
Please **do not open a public issue** for a security problem.
Use GitHub's private vulnerability reporting: *Security* tab of this repository › *Report a vulnerability*. Include:
- the affected program (Titano, Uploader, Server) and version (About, or `/api/v1/server/info` for the server);
- how to reproduce the problem, and what an attacker gains;
- whether the server runs behind a reverse proxy and which TLS mode it uses (`auto`, `pem`, `proxy`).
Do not attach diagnostics bundles or logs that you have not read: they are scrubbed of passwords and tokens, but
they contain host names, folder paths and user names.
You will receive an acknowledgement within 7 days. Fixes are released as soon as they are ready, and the release
notes credit the reporter unless they prefer otherwise. Please give us 90 days, or until a fix is released, before
disclosing the problem publicly.
## Scope
In scope: the desktop programs, the installer, the server API and admin panel, the Docker image and the Unraid
template published here.
Out of scope: problems that need an attacker who already controls the user's Windows account or the server host;
denial of service through unrealistic load; self-signed certificate warnings (the client pins the fingerprint you
confirm at first connection); findings from automated scanners without a demonstrated impact.
## How Titano protects you
- Releases list the SHA-256 of every file in `SHA256SUMS`; the in-app update download refuses a file whose hash does
not match. Builds are Authenticode-signed when a signing certificate is configured.
- The server stores passwords with PBKDF2-SHA512 (210,000 iterations) and session tokens only as SHA-256 hashes;
sign-in is rate limited and accounts lock after repeated failures.
- Desktop clients pin the server certificate fingerprint on first use, never send a saved token to a server whose
certificate changed, and keep tokens encrypted with Windows DPAPI.
- No program runs external tools or scripts; the only programs Titano starts are your browser (for links) and
Explorer (to show a folder).