KemRecipientInfo: CryptographicException shows an unfilled '{0}' for an unsupported KDF or key-wrap algorithm
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 83/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- cryptography, security
Línea de trabajo
Lee ManagedPal.Kem.cs y compara las comprobaciones de KEM, KDF y envoltura de claves con los otros puntos de llamada que generan errores de algoritmo en ese archivo. Pasa el OID del algoritmo no compatible al constructor de CryptographicException y luego verifica que el mensaje indique el algoritmo en lugar de mostrar «{0}».
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On .NET 11.0.0 (SDK 11.0.100, Linux, the dotnet/sdk:11.0 image), EnvelopedCms.Decrypt(KemRecipientInfo, MLKem) on an EnvelopedData whose KEMRecipientInfo uses AES key wrap with padding (id-aes256-wrap-pad, RFC 5649) throws CryptographicException with the message:
Unknown algorithm '{0}'.
In ManagedPal.Kem.cs the KEM, KDF and key-wrap checks of the KEMRecipientInfo create it as new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm), without the argument, while the other call sites in the same file pass the algorithm with the (string format, string insert) constructor. Passing the OID there (for example KeyEncryptionAlgorithm.Oid.Value) would name the algorithm the recipient does not support.
Not reading AES key wrap with padding is fine by RFC 9936, which makes only AES key wrap mandatory; this is only about the message.
- Lenguaje dominante
- C#
- Estrellas
- 18.5k
- Forks
- 5.8k
- Merge medio
- 2 d 8 h
- PR fusionados (30 d)
- 505
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnet/runtime
-
area-VM-meta-mono untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
area-Debugger-mono untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
dotnet/runtime#138494 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-AssemblyLoader-mono untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dotnet/runtime#138493 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
JsonConsoleFormatter throws on NaN and infinite double and float values, failing the log callPosiblemente ocupada @MuhammadBilal64 la tomó hace 4 días. Abiertoarea-Extensions-Logging untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
dotnet/runtime#138418 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area-System.IO untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dotnet/runtime#138417 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/runtime
Issues similares
-
bug documentation queries
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ClickHouse/clickhouse-cs#815 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Klyroo/klyroo-dashboard#12 ·
Los mantenedores suelen responder en 1 día
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onPosiblemente ocupada @yadavraj2001 la tomó hace 1 día. Abiertodocumentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
juandresrodca/AdminForge#73 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
christian-raj/S-Aloha#504 ·
-
TheTVDB heading is cut off on the Metadata Source settings page at phone widthsPosiblemente ocupada @NickWick13 la tomó hace 1 día. Abiertosuboptimal ui-only
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Sonarr/Sonarr#9389 · 1 comentario ·
Los mantenedores suelen responder en 5 días