Don't require DIGEST_NONE for client keys

Abierto
#1,559 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
54/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java

Línea de trabajo

Start by tracing how Conscrypt selects the signing algorithm and prepares client certificate signatures for mTLS, then inspect the EC keystore and HSM signing path. The issue identifies DIGEST_SHA256, DIGEST_NONE, and SHA256withECDSA as the relevant cases. Done when a DIGEST_SHA256-only EC key can sign the original input for an mTLS client certificate.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Suppose I add a key with DIGEST_SHA256 but not DIGEST_NONE to my EC keystore and try to use it as an mTLS client certificate. The connection fails, because conscrypt right now insists on doing the hash itself and sending the digest to the HSM, and the DIGEST_SHA256-only key wants to get the original message to be signed and compute its own hash. Might it be possible to support SHA256withECDSA and the original signing input to give the HSM what it wants?

Lenguaje dominante
Java
Estrellas
1.4k
Forks
332
Merge medio
2 d 56 min
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de google/conscrypt

Todos los issues de google/conscrypt

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.