mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 20:06:22 -05:00
Distrust compromised eMudhra intermediates in certifi and Deno
The private keys of eight eMudhra intermediate CAs can be recovered from their certificates, so anyone can mint a trusted certificate for any host. * Require certifi>=2026.10.19; yt-dlp, requests and curl-cffi use its bundle, and 2026.10.19 removes the emSign ECC Root CA - G3 root they chain to. * Set DENO_TLS_CA_STORE=system for the API (systemd + Docker) and the archive container so Deno follows the apt-patched system store instead of roots that only change with a Deno upgrade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
22afb81879
commit
4f66472492
6 changed files with 44 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
FROM python:3.13-trixie
|
||||
ENV DOCKER=true
|
||||
# Deno trusts the system store, which apt keeps current, instead of its bundled roots.
|
||||
ENV DENO_TLS_CA_STORE=system
|
||||
WORKDIR /opt/wrolpi
|
||||
|
||||
# Update dependencies for the services install.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ WORKDIR /app
|
|||
|
||||
# Install Python for main.py
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
# Deno trusts the system store, which apt keeps current, instead of its bundled roots.
|
||||
ENV DENO_TLS_CA_STORE=system
|
||||
RUN apt update && apt install -y python3 python3-dev python3-venv curl unzip && ln -sf python3 /usr/bin/python
|
||||
RUN python3 -m venv /app/venv
|
||||
RUN . /app/venv/bin/activate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue