android_kernel_motorola_sm7435/kernel/module
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Petr Pavlu 7e3f971b7d BACKPORT: module: Remove SHA-1 support for module signing
SHA-1 is considered deprecated and insecure due to vulnerabilities that can
lead to hash collisions. Most distributions have already been using SHA-2
for module signing because of this. The default was also changed last year
from SHA-1 to SHA-512 in commit f3b93547b91a ("module: sign with sha512
instead of sha1 by default"). This was not reported to cause any issues.
Therefore, it now seems to be a good time to remove SHA-1 support for
module signing.

Commit 16ab7cb5825f ("crypto: pkcs7 - remove sha1 support") previously
removed support for reading PKCS#7/CMS signed with SHA-1, along with the
ability to use SHA-1 for module signing. This change broke iwd and was
subsequently completely reverted in commit 203a6763ab69 ("Revert "crypto:
pkcs7 - remove sha1 support""). However, dropping only the support for
using SHA-1 for module signing is unrelated and can still be done
separately.

Note that this change only removes support for new modules to be SHA-1
signed, but already signed modules can still be loaded.

Change-Id: If2702d2b5385ffb7fa9f6d6a3df75e3ca5335745
Signed-off-by: Petr Pavlu <[email protected]>
Reviewed-by: Aaron Tomlin <[email protected]>
Reviewed-by: Sami Tolvanen <[email protected]>
Signed-off-by: Sami Tolvanen <[email protected]>
2026-06-29 16:14:51 -04:00
..
debug_kmemleak.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
decompress.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
dups.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
gki_module.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
internal.h build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
kallsyms.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
Kconfig BACKPORT: module: Remove SHA-1 support for module signing 2026-06-29 16:14:51 -04:00
kdb.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
kmod.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
livepatch.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
main.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
Makefile build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
procfs.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
signing.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
stats.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
strict_rwx.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
sysfs.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
tracking.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
tree_lookup.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00
version.c build: bazel: Remove references to gki_ramdisk_prebuilt_binary 2026-05-23 18:15:18 +00:00