Problem/Motivation

As part of the major initiatives to support Automatic Updates and the Project Browser, the Drupal.org infrastructure team has prioritized a major security enhancement - securely signing packages using Rugged, an implementation of TUF, theupdateframework.io.

Proposed resolution

An RFP for implementing a secure server side signing method according to the tough specification was released in June of 2021.

Consensus Enterprises was selected as the implementation partner for this system, working together with the Drupal Association on the implementation details. The Drupal Association is working with infrastructure management partners Tag1 Consulting to stand up this infrastructure in the cloud, so it can be integrated into the packaging pipeline.

Remaining tasks

Comments

hestenet created an issue. See original summary.

hestenet credited drumm.

hestenet credited nnewton.

hestenet’s picture

Issue summary: View changes
hestenet’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes

Reviewing the known issues in Rugged:

drumm’s picture

Issue summary: View changes

Adding to the issue summary:

Plan for signing core components

  • Templates like drupal/core-recommended are hosted on Packagist.org, so they can be installed with one step after getting Composer. Core component subtree splits are hosted in the same way to simplify core packaging
  • https://packagist.org/packages.json changes frequently, so signing on behalf of Packagist.org will need some way to either always have the current version signed, or proxy that's able to serve what we have signed
wim leers’s picture

Do we have any idea about an ETA?

I'm asking because in #3349368: [policy, no patch] How much of The Update Framework integration is needed for alpha-level review/commit of Package Manager? it was just revealed that this is hard-blocking package_manager, automatic_updates and project_browser getting added to Drupal core.

markdorison’s picture

Issue summary: View changes
drumm’s picture

ergonlogic’s picture

ergonlogic’s picture

Issue summary: View changes

I've revised the summary with updates for the Rugged tickets.

catch’s picture

Looks like hashed bins is also done https://gitlab.com/rugged/rugged/-/issues/99

drumm’s picture

Status: Active » Reviewed & tested by the community

This is now ready: https://packages.drupal.org/8/metadata/

Before calling it done, we need:

drumm’s picture

Added 2 more child issues:

gábor hojtsy’s picture

Does this mean that package signing is practically all rolled out?

This is now ready: https://packages.drupal.org/8/metadata/

drumm’s picture

Status: Reviewed & tested by the community » Fixed
Related issues: +#3477553: [PP-1] Manually test TUF-enabled Composer projects

Yes, I think we can call this done.

I hope there’s more testing with #3477553: [PP-1] Manually test TUF-enabled Composer projects before this is made generally available out of the box with Drupal core. But that and the rugged followups are all being tracked in their own issues.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.