Skip to content

feat: allow only https service URLs by default #147

Closed

Description

@uniqueg

Why?

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?

  1. 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.
  2. Apply it wherever service URLs are validated (service.py), with problem details on rejection. Contact URLs keep mailto:.
  3. Cover stored services in the startup check if that's cheap, or document how existing http entries are handled.
  4. 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

  1. added
    priority: high
    status: triage
    type: feature
    type: security
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 21, 2026
  2. removed
    status: in progress
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: hightype: featuretype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions