Files
Alexandr Stelnykovych f943e1eaf9 fix(api): remove unauthenticated updates/from-url endpoint
Issue:
The updates/from-url endpoint was registered with PermitAnyone, so any
local process could call it without authentication. Its handler passed the
request body as an index URL to UpdateFromURL, which ran the update with
the version checks and the auto-download/auto-apply settings bypassed.
Signatures were still verified, but a caller could point Portmaster at a
copy of any older signed index and have it installed without asking the
user, e.g. to bring back a version with an already fixed vulnerability.

Change:
- Remove the endpoint. It was left over from an unfinished feature and
  nothing (UI, tray app, scripts) calls it.
- Remove Updater.UpdateFromURL, which had no other callers.

ForceUpdate is unchanged: it is only used by the command line tools and
always uses the configured index URLs.

Fixes #2292
2026-10-15 13:04:44 +03:00
..
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
WIP
2024-11-27 16:16:15 +01:00
WIP
2024-11-27 16:16:15 +01:00