Changelog¶
All notable changes to Repod are documented here.
The format follows Keep a Changelog. Repod uses Semantic Versioning.
[Unreleased] — since 2.0.1¶
Everything below is in the repository after the v2.0.1 tag (2026-07-20) and
is not tagged yet.
Added¶
- Signed Alpine index.
APKINDEX.tar.gzis signed with an RSA key of Repod's own (kept in/repos/secrets/apk, included in backups). The public key is served at/apk/repod.rsa.pub:apkclients import it once and no longer need--allow-untrusted. Existing unsigned indexes are rebuilt signed at startup. - Explicit GPG signing key, with an activation endpoint (
POST /settings/gpg/activate) and a page in the interface. Before, generating a key never changed which key signed. - Dependency CVE scan for npm, Maven and PyPI (direct dependencies, through OSV.dev). A finding that breaches the CVE policy sends the package to the review queue.
- CVE re-matching through the stored SBOM, now for Maven, PyPI, npm and OCI as well as deb, rpm and apk.
- Active-active high availability. Scan, install, mirror and sync job state, the live event stream and the log stream can be shared through Redis (
JOB_STATE_BACKEND=redis). - Prometheus business metrics are populated: packages and vulnerabilities by severity, review queue, quarantine, database ages, upload outcomes.
- Pending promotions can be approved or rejected from the Promotions page.
- Patch decisions close themselves when the vulnerability is gone, and are reminded at expiry.
- Fast package search: trigram indexes make name, description and short-query searches fast on large catalogues.
- Kubernetes: a Helm chart, a Traefik alternative to the bundled Nginx proxy, and a Packer and Ansible lab for a Kubernetes and PostgreSQL HA setup.
- Air-gap transfer script for the ClamAV, Grype, EPSS and CISA KEV data.
Changed¶
- Backups now include the reprepro database and the APT index, the RPM and APK trees, the Maven, PyPI and npm repositories, and
/repos/secrets. A backup that cannot fit on disk is refused up front, and retention is applied to manual backups too. /healthreportsdegradedwhen the disk holding/reposis 75 % full or more.- The Dashboard shows the real alert total and ranks alerts by urgency.
- Client setup generates plain-HTTP repository URLs, an SSH-safe isolation script, and signed RPM metadata (
repo_gpgcheck=1). - The backend runs on Python 3.12.
- The first-run setup wizard asks for the setup token that the backend generates in production when none is set. Before, a new production installation could not create its first admin from the interface.
Security¶
- A SSO login only opens a SSO account, the role follows the identity provider (the highest matching role wins), and the identity is checked more strictly.
- A wrong LDAP password answers
401, and the LDAP filter and group matching are safer. - Cross-tenant leaks closed in the hosted service: the audit log, the server logs, the Nginx logs, and the download statistics (which any user could read).
- A failed Grype scan is never treated as "0 CVE": the package goes to review.
pool/*.debdownloads are gated bydistribution_access.- Email templates are rendered in a sandbox and escape their values.
- Rate limiting on SSH-triggering endpoints and on the drift and application-dependency scan triggers.
- Hardening from the audits:
defusedxmland an SSRF guard.
Fixed¶
- Promotion and bulk migration now apply the CVE and EPSS policy.
- Upload reports a publish failure instead of "accepted";
GET /install/jobsno longer returns500after a job finished. - The directory size of the ClamAV database was missing from the storage card of
/health. - OCI repositories and tags no longer leave ghost manifest rows; the retention job no longer leaves ghost rows.
- The upstream cache can add a target and purge again.
- Update candidates for a machine are limited to its own format and release, and only offer a strictly newer version.
- The STIG RHEL 9 profile now matches real machines; the NIS2 PDF export no longer crashes on dates.
- Many interface fixes (audit filters, SBOM page, health badge, executive view tiles, toast notifications).
[2.0.1] — 2026-07-20¶
Added¶
- Dual scan (Grype and Trivy cross-verification) for the hosted service.
Fixed¶
- Direct-download manifest checks are scoped to the requested repository (Maven, PyPI, npm), and the OCI quarantine-conflict check to the destination repository.
- Virtual-package (
Provides) resolution for APT is scoped to the requested distribution, and RPM and APK dependency resolution as well.
[2.0.0] — 2026-07-17¶
Repod grows from an APT and RPM repository manager into a multi-format platform, and a hosted multi-tenant service.
Added¶
- Package formats: private Maven, PyPI and npm registries; validated import from Maven Central, PyPI and npmjs.org, and manual upload; an OCI container registry (Zot) with validated import from Docker Hub, patching and republication.
- Security: distribution-level and machine-level RBAC (
distribution_access,machine_access), content filters per distribution, metadata integrity checks for APT, RPM and APK, the exposure of Maven, PyPI and npm artifacts in the Security module. - Compliance: multi-benchmark CIS and STIG profiles assigned by tag, configuration drift baselines, a NIS2 PDF report, an executive dashboard, deployment of containers and applications to the fleet over SSH, application dependency detection on machines.
- Operations: maintenance windows and tag targeting for install jobs, a transparent upstream cache for air-gapped sites, a first-run setup with generated secrets and a self-signed TLS option, deployment scripts and the
repodctlcommand. - Licensing: RS256-signed licence keys, per-tier features and quotas, 30-day trials, and a reworked licence server for the vendor.
- Hosted service: multi-tenancy (schema per tenant, tenant-aware storage and scheduled jobs), Stripe billing with a subscription lifecycle, mandatory admin MFA with a grace period, GDPR export and erasure.
Fixed¶
- Many security-audit findings in the hosted service (cross-tenant isolation, the licence signature scheme, quota enforcement).
[1.0.2] to [1.0.9] — 2026-05-24 to 2026-06-13¶
Added¶
- A CVE (Grype) step in the import pipeline.
- Alpine APK repositories, and synchronisation of APT, RPM and APK sources together.
- A first-run admin setup wizard on the login page.
- A Help menu with contextual tooltips.
- The licence server (customers, licence generation, usage reports and anomaly detection), a Billing and Licence screen, and a per-licence node quota.
- Pre-built images pulled from the registry by default, GitHub Actions workflows for CI and releases.
Fixed¶
- ClamAV daemon, GPG key generation and Community edition hardening.
- Container startup and permissions on
/repos/security,/repos/apkand/repos/logs. - Lint and CI failures.
[1.0.1] — 2026-05-16¶
Fixed¶
- ClamAV: Replaced
clamscan(OOM-killed at 1 GB limit) withclamddaemon — signatures loaded once in memory. Container memory limit raised to 2.5 GB.gpg-agentadded to both Enterprise and Community Dockerfiles. - GPG key generation: Fixed
NameError: Path is not definedandgpg-agent not installederrors. Added--pinentry-mode loopbackand_ensure_gnupg_permissions(). Key generation now works reliably via the UI. - ClamAV manual update:
freshclamnow called with--log=/dev/nullto avoidPermission deniedon/var/log/clamav/freshclam.log(backend runs asappuser, notclamav). - Community reprepro: Fixed
packages database contains unusederror by runningreprepro clearvanishedafterconf/distributionswas regenerated.conf/distributionsnow auto-generated with all 4 distributions (jammy, noble, focal, bookworm) including GPGSignWith. - Community edition: Removed 8 enterprise service files (
cve_enrichment,security_decisions,sla_alerts,sbom,ldap_auth,email_notifications,security_sync,retention) from Community source code — changingREPOD_EDITIONenvironment variable no longer unlocks Enterprise features.
Added¶
- Auto-init distributions: Both Enterprise and Community backends automatically initialize
conf/distributionsand runreprepro exporton first startup — no manual "Init distributions" button needed. - clamd daemon:
entrypoint.shnow starts theclamddaemon at container boot.appuseris added to theclamavgroup sofreshclamcan write to the database directory.
[1.0.0] — 2026-05-12¶
First stable production release, including the Community Edition (MIT).
Dual-edition architecture¶
- Community Edition — open-source (MIT licence). Includes the full upload pipeline (antivirus scan, CVE analysis, GPG signing, dependency check), package management, JWT + API token authentication, 5-role RBAC, LDAP/AD integration, audit logging, and the web UI.
- Enterprise Edition — adds CVE review queue with CISO approval workflow, SBOM export (CycloneDX 1.5 + SPDX 2.3), configurable CVE policy, SLA tracking, scheduled security sync, package retention, and advanced settings.
- Enterprise endpoints are present in the Community router set and return HTTP
402 Payment Requiredwith a structured upgrade message. The API surface is identical between editions.
Security hardening¶
- Docker socket removed — the backend no longer mounts
/var/run/docker.sock. GPG signing operations now use a shared volume (/repos/gnupg), eliminating a container escape vector. - JWT secret validated at startup — the application refuses to start in production mode if
JWT_SECRET_KEYis missing or set to the default value. - Swagger UI disabled in production —
/docs,/redoc, and/openapi.jsonreturn 404 whenENV=production. - Reset tokens hashed — password reset tokens are stored as SHA-256 hashes only. The plaintext token is never persisted. Reset links expire after 30 minutes.
- LDAP TLS certificate verification — enabled by default (
verify_cert: true). A warning is logged to the console if disabled. - Secrets masked in settings API —
smtp_passwordandbind_passwordare returned as••••••••inGET /settings/. - Password policy enforced — minimum 8 characters, at least one uppercase letter, at least one digit or special character. Enforced at user creation, password change, and password reset.
- Resource limits — backend container limited to 1 GB RAM and 1.5 CPUs in
docker-compose.yaml.
Upload pipeline¶
- Full SSE streaming upload via
POST /upload/stream— real-time step-by-step progress. - Standard JSON upload via
POST /upload/(legacy, preserved for backward compatibility). - Six-step validation pipeline: format, SHA-256 provenance, antivirus scan, CVE analysis (with EPSS/KEV enrichment), GPG signature, dependency check.
- CVE policy engine with per-severity actions (
block,review,warn,allow). - Webhook notification on
pending_review— notifies CISO team immediately when a package enters the review queue.
Rate limiting¶
Rate limits applied to high-impact endpoints:
| Endpoint | Limit |
|---|---|
POST /upload/ |
20 / minute |
POST /upload/stream |
20 / minute |
POST /import/fetch |
10 / minute |
POST /import/batch |
5 / minute |
POST /import/sync |
3 / minute |
POST /auth/token |
Rate-limited |
POST /auth/forgot-password |
Rate-limited |
POST /auth/reset-password |
Rate-limited |
Audit trail¶
Append-only JSONL audit log (/repos/audit/YYYY-MM-DD.jsonl), one file per day. Logged actions include:
- Authentication:
LOGIN(with source IP and result) - User management:
USER_CREATE,USER_UPDATE,USER_DELETE - Passwords:
PASSWORD_CHANGE,PASSWORD_RESET - Packages:
UPLOAD,DELETE,IMPORT,SYNC - Security:
SECURITY_DECISION,QUARANTINE,RESCAN,CLAMAV_UPDATE - Configuration:
SETTINGS_CHANGE,GPG_GENERATE - System:
INIT_DISTS,IMPORT_GROUP_DELETE
LDAP / Active Directory¶
- Compatible with OpenLDAP (
uid) and Active Directory (sAMAccountName). - Five group mappings: one per role (
group_admin,group_maintainer,group_uploader,group_auditor,group_reader). - Auto-provisioning: creates a local user record on first successful LDAP login.
- Role sync: if a user's LDAP group changes, the role is updated on the next login.
POST /settings/test-ldap— test the LDAP connection and bind without saving.- TLS options: plain, STARTTLS, LDAPS, with optional custom CA bundle (
ca_bundle_path).
Infrastructure¶
- Production compose file (
community/docker-compose.yaml) separated from development. docker-compose.dev.ymlfor local development with hot-reload.TRUSTED_PROXIESenvironment variable for reverse proxy IP whitelisting.app_urlsetting insettings.jsonfor constructing correct reset links.- Scheduler (Enterprise) runs three cron jobs: security sync (03:00), SLA check (08:00), retention (02:00). All configurable. Hot-reconfigurable via
PATCH /settings/.
Documentation¶
- Bilingual documentation (English + French) covering installation, administration, API reference, security dossier, reverse proxy, and compliance.
- NIS2 and ANSSI SecNumCloud compliance mapping.
- How-to guides: LDAP, backup/restore, GPG key rotation, migration from Artifactory/Nexus.
[0.9.0] — 2026-03-01¶
Beta release — internal testing.
Added¶
- SBOM export (CycloneDX 1.5, SPDX 2.3)
- EPSS scoring and CISA KEV enrichment
- CISO review queue for CVE-flagged packages
- LDAP / Active Directory authentication with group-to-role mapping
- API tokens for CI/CD pipelines
- Package import from upstream APT sources (Ubuntu, Debian)
- Batch import with streaming SSE progress
- Grype CVE scanner integration
- ClamAV antivirus integration
- Download statistics and analytics
[0.5.0] — 2025-12-15¶
Alpha release.
Added¶
- APT repository with Nginx serving
- Package upload with format and SHA-256 validation
- GPG signing
- JWT authentication
- Basic RBAC (admin, uploader, reader)
- Web frontend (React)
- FastAPI backend
- Docker Compose deployment