# PKCS#7 signature not signed with a trusted key

**URL:** <https://www.debian-fr.org/t/pkcs-7-signature-not-signed-with-a-trusted-key/76968>\
**Category:** Support Debian\
**Created:** [Juin 13, 2018, 6:49 UTC](https://www.debian-fr.org/t/pkcs-7-signature-not-signed-with-a-trusted-key/76968 "2018-06-13T06:49:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Juin 13, 2018, 6:49 UTC](https://www.debian-fr.org/t/pkcs-7-signature-not-signed-with-a-trusted-key/76968/1 "2018-06-13T06:49:45Z")

</div>

Salut  
Je fais un test du noyau 4.17.0-rc3-amd64 d’experimental qui a ces parametres

```auto
/boot# grep CONFIG_MODULE_SIG config-4.17.0-rc3-amd64
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
# CONFIG_MODULE_SIG_ALL is not set
# CONFIG_MODULE_SIG_SHA1 is not set
# CONFIG_MODULE_SIG_SHA224 is not set
CONFIG_MODULE_SIG_SHA256=y
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set
CONFIG_MODULE_SIG_HASH="sha256"
CONFIG_MODULE_SIG_KEY=""

```

Ce qui fait que ces erreurs apparaissent au boot:

```auto

[3.303965] PKCS#7 signature not signed with a trusted key
[3.304146] button: module verification failed: signature and/or required key missing - tainting kernel
[3.304460] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[3.304472] ACPI: Power Button [PWRB]

```

Y a t-il moyen d’éviter ça?

---

<div class="post-metadata">

**Author:** ![jb12](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@jb12](https://www.debian-fr.org/u/jb12)\
**Post date:** [Juin 13, 2018, 7:18 UTC](https://www.debian-fr.org/t/pkcs-7-signature-not-signed-with-a-trusted-key/76968/2 "2018-06-13T07:18:49Z")

</div>

bonjour,  
sans me faire ramoner!  
je ne suis pas sur du résultat,  
-pour les doués, editeur de texte commentaire si c’est l’objectif,

pour ma rc1 j’ai fait:  
-pour un point config minimmun make defconfifg  
make menu config puis sortie  
make j8  
une grosse 1/2H  
ensuite l’installation classique  
ou l’outil Debian, il a refait les compils, 1/2H de plus  
attention on manipule un config minimun,  
cela permet de voir!  
donc les patchs Debian, c’est un peu du latin pour moi!

pour ma dernière question, tu as un homonyme chez le cousin?

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Juin 13, 2018, 7:33 UTC](https://www.debian-fr.org/t/pkcs-7-signature-not-signed-with-a-trusted-key/76968/3 "2018-06-13T07:33:26Z")

</div>

rien à voir avec de la compilation perso, tu mélanges tout  
il s’agit simplement ici de l’utilisation d’un noyau fourni par Debian dans le dépôt expérimental  
noyau dans lequel une sécurisation des signatures des modules à été ajoutée

[https://www.kernel.org/doc/html/v4.16/admin-guide/module-signing.html](https://www.kernel.org/doc/html/v4.16/admin-guide/module-signing.html)

En fait ce noyau n’a aucun pb sinon ce message **PKCS#7 signature not signed with a trusted key** répété plusieurs fois au démarrage

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Juin 13, 2018, 9:55 UTC](https://www.debian-fr.org/t/pkcs-7-signature-not-signed-with-a-trusted-key/76968/4 "2018-06-13T09:55:42Z")

</div>

je vais tester le non signé

```auto
 apt list linux-image-4.17.0-rc3*
En train de lister... Fait
linux-image-4.17.0-rc3-686-dbg/experimental 4.17~rc3-1~exp1 i386
linux-image-4.17.0-rc3-686-pae-dbg/experimental 4.17~rc3-1~exp1 i386
linux-image-4.17.0-rc3-686-pae-unsigned/experimental 4.17~rc3-1~exp1 i386
linux-image-4.17.0-rc3-686-unsigned/experimental 4.17~rc3-1~exp1 i386
linux-image-4.17.0-rc3-amd64/experimental 4.17~rc3-1~exp1 amd64
linux-image-4.17.0-rc3-amd64-dbg/experimental 4.17~rc3-1~exp1 amd64
linux-image-4.17.0-rc3-amd64-unsigned/experimental,now 4.17~rc3-1~exp1 amd64 [installé]
linux-image-4.17.0-rc3-cloud-amd64/experimental 4.17~rc3-1~exp1 amd64
linux-image-4.17.0-rc3-cloud-amd64-dbg/experimental 4.17~rc3-1~exp1 amd64
linux-image-4.17.0-rc3-cloud-amd64-unsigned/experimental 4.17~rc3-1~exp1 amd64

```

```auto
apt install linux-image-4.17.0-rc3-amd64-unsigned/experimental

```

```auto
root@debian:/boot# uname --all
Linux debian 4.17.0-rc3-amd64 #1 SMP Debian 4.17~rc3-1~exp1 (2018-04-29) x86_64 GNU/Linux
root@debian:/boot# journalctl -xb | grep PKCS#7
root@debian:/boot#

```
