mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-25 19:47:25 +00:00
pkcs7: improve documentation and changelog for MBEDTLS_PKCS7_ALLOW_WEAK_SIGNATURES
Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
Security
|
Security
|
||||||
* PKCS7 now rejects weak hash algorithms (RIPEMD160, MD5, SHA-1, SHA-224,
|
* PKCS7 now rejects weak hash algorithms (RIPEMD160, MD5, SHA-1, SHA-224,
|
||||||
SHA3-224) on signature verification. Build symbol
|
SHA3-224) on signature verification. The new configuration option
|
||||||
MBEDTLS_PKCS7_ALLOW_WEAK_SIGNATURES allows to keep using weak hash
|
MBEDTLS_PKCS7_ALLOW_WEAK_SIGNATURES allows to keep using weak hash
|
||||||
algorithms in PKCS7 for backward compatibility purposes.
|
algorithms in PKCS7 for backward compatibility purposes.
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@
|
|||||||
* - The RFC doesn't put any constrain on the hash algorithm to be used, but
|
* - The RFC doesn't put any constrain on the hash algorithm to be used, but
|
||||||
* this implementation by default rejects weak hash algorithms (i.e. RIPEMD160,
|
* this implementation by default rejects weak hash algorithms (i.e. RIPEMD160,
|
||||||
* MD5, SHA-1, SHA-224, SHA3-224). In general accepted hash and PK algorithms
|
* MD5, SHA-1, SHA-224, SHA3-224). In general accepted hash and PK algorithms
|
||||||
* are the ones belonging to `mbedtls_x509_crt_profile_default`.
|
* are the ones belonging to ::mbedtls_x509_crt_profile_default.
|
||||||
* MBEDTLS_PKCS7_ALLOW_WEAK_SIGNATURES can be enabled to remove the limitation
|
* #MBEDTLS_PKCS7_ALLOW_WEAK_SIGNATURES can be enabled to accept all
|
||||||
* on weak hash algorithms.
|
* supported hash algorithms.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MBEDTLS_PKCS7_H
|
#ifndef MBEDTLS_PKCS7_H
|
||||||
|
|||||||
Reference in New Issue
Block a user