devcontainers / devcontainers/features
Features does not work with proxy MITM certificate on windows
- Lenguaje dominante
- Shell
- Estrellas
- 1.5k
- Forks
- 621
- Merge medio
- 6 d 53 min
- PR fusionados (30 d)
- 9
Descripción
Since the introduction of 'features', I am unable to use VS code devcontainers as it does not seem to access the Windows certificate store to get the CA certificates.
> [2022-12-14T09:49:28.955Z] --- Processing User Features ----
> [2022-12-14T09:49:28.956Z] * Processing feature: ghcr.io/devcontainers/features/node:1
> [2022-12-14T09:49:28.956Z] > input: ghcr.io/devcontainers/features/node:1
> [2022-12-14T09:49:28.956Z] >
> [2022-12-14T09:49:28.956Z] > resource: ghcr.io/devcontainers/features/node
> [2022-12-14T09:49:28.956Z] > id: node
> [2022-12-14T09:49:28.956Z] > version: 1
> [2022-12-14T09:49:28.956Z] > owner: devcontainers
> [2022-12-14T09:49:28.956Z] > namespace: devcontainers/features
> [2022-12-14T09:49:28.956Z] > registry: ghcr.io
> [2022-12-14T09:49:28.956Z] > path: devcontainers/features/node
> [2022-12-14T09:49:28.956Z] manifest url: https://ghcr.io/v2/devcontainers/features/node/manifests/1
> [2022-12-14T09:49:28.957Z] No oauth authentication credentials found.
> [2022-12-14T09:49:28.957Z] url: https://ghcr.io/token?scope=repository:devcontainers/features/node:pull&service=ghcr.io
> [2022-12-14T09:49:29.068Z] Failed to get registry auth token with error: Error: unable to get local issuer certificate
> [2022-12-14T09:49:29.139Z] (!) WARNING: Falling back to deprecated GitHub Release syntax. See https://github.com/devcontainers/spec/blob/main/proposals/devcontainer-features.md#referencing-a-feature for updated specification.
> [2022-12-14T09:49:29.139Z] Github feature.
> [2022-12-14T09:49:29.139Z] Could not resolve Feature 'ghcr.io/devcontainers/features/node:1'. Ensure the Feature is published and accessible from your current environment.
Accessing the specified URL with any other application works.
Guía de contribución
Línea de trabajo
Reproduce el fallo en Windows con un certificado MITM de proxy, comenzando por los pasos de procesamiento de User Features y registry-authentication que se muestran en el registro. Comprueba cómo la solicitud a la GHCR token URL obtiene certificados de CA del almacén de certificados de Windows. Se considera completado cuando el node feature se resuelve correctamente a través del proxy sin el error local-issuer.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, vscode
- Área
- infrastructure, security
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100