You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: allow only https service URLs by default #147
Clients such as Krini, the ELIXIR Cloud Components and proTES will use registry entries to decide where to send requests, together with access tokens. The registry accepts http as well as https service URLs, so a plain-http entry would make clients send tokens unencrypted.
How?
Add an app option (in custom, next to the other access-control/service options) listing the URL schemes allowed for service URLs, defaulting to https only; deployments that need http (e.g. local development, Docker Compose) can allow it explicitly.
Apply it wherever service URLs are validated (service.py), with problem details on rejection. Contact URLs keep mailto:.
Cover stored services in the startup check if that's cheap, or document how existing http entries are handled.
Document it (configuration page, chart README) and add it to the 0.3.0 release notes.
Acceptance criteria
With the default configuration, POST/PUT of a service with an http URL is rejected; with http allowed, it's accepted. Tests cover both.
The Docker Compose setup keeps working.
Documented, and listed in the 0.3.0 release notes.
Context: ELIXIR On-Cloud auth policy (service discovery through the Cloud Registry).
Activity