Provide a way to map in host certificate store(s) to started devcontainers
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- docker, typescript
- Domaine
- devtools, infrastructure
Piste de recherche
Start by reading the CLI entry points and build and up flows that handle image builds and container startup. The issue describes host certificate injection during both flows, including temporary mounts, live updates, host store selection, and support for common container distributions. Done means an approach is defined for these cases and certificates are available in the target container's standard store.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Inspired by the recent 8 compromised intermediate certificates, I would like a way to mount my host's certificate stores into any images started with devcontainer up, or built with devcontainer build.
The fundamental problem is that outgoing network traffic in a devcontainer relies on certificates baked into the container. Depending on the particular definition, this could be quite old, and if the container was prebuilt by another part, not in the developer's control. This also causes some difficulties with things like MitM interceptors in corporate settings, where certificates are often present on the host, but for obvious reasons not present in standard certificate stores.
- Injection during
devcontainer buildis necessary to account for dynamic feature build, as otherwise features need to use certificates already present in lower layers in the container. The common-utils feature does install the common platform root certificates, and it's possible to write a custom install-first feature for things like MitM roots, but both of these generally end up baking the certificates into the root image, which is precisely the problem. Injecting the certificates during build alleviates both of these issues. Note that these certificates would be intended to be some form of temporary mount, to prevent baking them into the image. - Injection during
devcontainer upwould be necessary to provide "live" certificate updates.
I'd prefer some way to do one or all of the following;
- If no options are specified, inject all root certificates from the host standard store into the container.
- A way to specify a particular host store. On linux this would probably be automatic via standard OpenSSL environment variables, but on Windows this would probably be one of the special store names.
- A way to supply one or more certificate bundle names/paths.
It would be anticipated that the certificates would be placed in the in-container OS's standard certificate store; or, for the more common base distros, at least. These are well-known locations, and generally have ways to add user-supplied certificates outside of the distro-provided root certificates.
- Langage dominant
- TypeScript
- Étoiles
- 3k
- Forks
- 473
- Merge moyen
- 10 h 31 min
- PR mergées (30 j)
- 9
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de devcontainers/cli
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
devcontainers/cli#1325 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
devcontainers/cli#1203 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 1-3 heures Accessibilité débutants 68/100
devcontainers/cli#1178 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
up hangs after compose up -d on a cold start (Node 26, Compose 5.6)Peut-être pris @v-Kaniska244 l’a pris aujourd’hui. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
devcontainers/cli#1354 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
`devcontainer up --mount` rejects `type=image` and mount options such as `subpath`Peut-être pris @agmitron l’a pris il y a 3 jours. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
devcontainers/cli#1352 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de devcontainers/cli
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
WalletConnect/walletconnect-monorepo#7392 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Absenderzeile über dem Anschriftfeld wird bei Angeboten und Rechnungen am Ende abgeschnittenOuvertefehler
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Azure/azure-functions-nodejs-extensions#180 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
laaielichter/Threesmith#28 ·
Les mainteneurs répondent en général sous 1 jour