Re: Signing Kernel Module with the Private Key

2019-01-16 Thread David Howells
Nicolas ViƩville wrote: > As Petr Pisar said it, last Fedora's kernel uses a compiled binary software > sign-file file. It is still a perl script in RHEL. That is correct till RHEL-8. > Concerning compressing modules, they have to be built, stripped (if needed), > signed and compressed, in

Re: Signing Kernel Module with the Private Key

2019-01-10 Thread Nicolas ViƩville
Hello Chris, As Petr Pisar said it, last Fedora's kernel uses a compiled binary software sign-file file. It is still a perl script in RHEL. Your command line should work if you remove perl invocation: /usr/src/kernels/4.19.14-300.fc29.x86_64/scripts/sign-file sha256 /home/chris/MOK.priv

Re: Signing Kernel Module with the Private Key

2019-01-10 Thread Petr Pisar
On 2019-01-10, Chris Murphy wrote: > [root@fnuc extra]# perl > /usr/src/kernels/4.19.14-300.fc29.x86_64/scripts/sign-file sha256 > /home/chris/MOK.priv /home/chris/MOK.der icp.ko > Unrecognized character \x7F; marked by <-- HERE after <-- HERE near > column 1 at

Re: Signing Kernel Module with the Private Key

2019-01-10 Thread Chris Murphy
On Thu, Jan 10, 2019 at 12:03 AM Samuel Sieb wrote: > > On 1/9/19 10:03 PM, Chris Murphy wrote: > > I'm not finding an updated version of this documentation: > > https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sect-signing-kernel-module-with-the-private-key.html >

Re: Signing Kernel Module with the Private Key

2019-01-09 Thread Samuel Sieb
On 1/9/19 10:03 PM, Chris Murphy wrote: I'm not finding an updated version of this documentation: https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sect-signing-kernel-module-with-the-private-key.html And when I follow that, copy/pasting the perl script is stomping

Signing Kernel Module with the Private Key

2019-01-09 Thread Chris Murphy
crossposting devel@ and kernel@ since it's both kernel and documentation related I'm not finding an updated version of this documentation: https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sect-signing-kernel-module-with-the-private-key.html And when I follow that,