bor@opensuse:~> mkdir /tmp/cert
bor@opensuse:~> cd /tmp/cert
bor@opensuse:/tmp/cert> certutil -d . -N
Enter a password which will be used to encrypt your keys.
The password should be at least 8 characters long,
and should contain at least one non-alphabetic character.
Enter new password:
Re-enter password:
bor@opensuse:/tmp/cert> pesign --show-signature -i /boot/vmlinuz-3.11.10-21-desktop -n .
---------------------------------------------
certificate address is 0x7f1867bfedd8
Content was not encrypted.
Content is detached; signature cannot be verified.
The signer's common name is openSUSE Secure Boot Signkey
The signer's email address is build@opensuse.org
Signing time: Tue Jul 22, 2014
There were certs or crls included.
---------------------------------------------
bor@opensuse:/tmp/cert>
Newer pesign in factory may relax requirement for valid certificate store when displaying signature.
If I do “man pesign” I don’t see the "-n"operator, What does that operator do?
[bor@opensuse:/tmp/cert> pesign --show-signature -i /boot/vmlinuz-3.11.10-21-desktop -n ./CODE]
Is the ending period/dot part of the code? --or just the end of the line (as I don't see it in the above link)?
If I install kernel stable on a non ufei machine will the Certificate be there as a test prior to installing on a uefi + secure boot machine?
New question:
I just ran "zypper dup" and have Linux 3.16.3-1.gd2bbe7f-desktop x86_64: however, I see that
http://download.opensuse.org/repositories/Kernel:/openSUSE-13.2/standard/x86_64/
contains kernel-desktop-3.16.6-2.1.gfeb42ea.x86_64.rpm
Anyone know if that one is signed?
Thanks
It appears that kernel-3.17 is signed; from my desktop install (non-uefi):
mkdir /tmp/cert
cd /tmp/cert
certutil -d . -N
Enter a password which will be used to encrypt your keys.
The password should be at least 8 characters long,
and should contain at least one non-alphabetic character.
Enter new password:
Re-enter password:
pesign --show-signature -i /boot/vmlinuz-3.17.1-2.g5c4d099-desktop -n .
---------------------------------------------
certificate address is 0x7fc8e0ee4328
Content was not encrypted.
Content is detached; signature cannot be verified.
The signer's common name is Kernel OBS Project
The signer's email address is kernel@build.opensuse.org
Signing time: Sun Oct 19, 2014
There were certs or crls included.
---------------------------------------------
And, in /tmp/cert, I have three files, cert8.db, key3.db & secmod.db; all with content.